Let's look at some basic kubectl output options.
Our intention is to list nodes (with their AWS InstanceId) and Pods (sorted by node).
We can start with:
kubectl get no
| import { Page, Locator } from "@playwright/test"; | |
| // All root pages inherit from the base page, ie PartnerDashboard, etc | |
| // BasePage sets a root locator that is prepended to instances of child Section | |
| class BasePage { | |
| readonly page: Page; | |
| readonly root: Locator; | |
| constructor(root: string, page: Page) { | |
| this.page = page; | |
| this.root = page.locator(root); |
| apiVersion: keda.k8s.io/v1alpha1 | |
| kind: TriggerAuthentication | |
| metadata: | |
| name: redis-auth | |
| spec: | |
| secretTargetRef: | |
| - parameter: password | |
| name: redis-secret | |
| key: REDIS_PASSWORD | |
| --- |
| apiVersion: v1 | |
| kind: Secret | |
| metadata: | |
| name: redis-secret | |
| type: Opaque | |
| data: | |
| REDIS_PASSWORD: Zm9vYmFy | |
| --- | |
| apiVersion: apps/v1 | |
| kind: Deployment |
I hereby claim:
To claim this, I am signing this object:
| myapp: bundle exec hanami server | |
| sidekiq: bundle exec sidekiq -e development -r ./config/environment.rb |
| module HashExtensions | |
| def symbolize_keys | |
| inject({}) do |acc, (k,v)| | |
| key = String === k ? k.to_sym : k | |
| value = Hash === v ? v.symbolize_keys : v | |
| acc[key] = value | |
| acc | |
| end | |
| end | |
| end |