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
| # Allows copying of job files to local after execution. Example copy command: | |
| apiVersion: batch/v1 | |
| kind: Job | |
| metadata: | |
| name: export-files-job | |
| spec: | |
| template: | |
| metadata: | |
| labels: |