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
## Alternative 1: write to file descriptor (not usable) | |
input='testing' | |
pid=1212 | |
echo $input > /proc/$pid/fd/0 | |
## Alternative 2: Pipe fifo to the app | |
fifo_file=/tmp/fifo |
#Heading 1 ##Heading 2 ###Heading 3 ####Heading 4 #####Heading 5 ######Heading 6
Paragraph