R:
Hello All, In the last chapter, more certification tips its mentioned " Practice multiplying kubectl commands, like running nested kubectl commands to get some output and do some operation on top it" . What could be the example of such command ? From kubectl cheatsheet I got following. I couldn’t find any nesting examples
for pod in $(kubectl get po --output=jsonpath={.items..metadata.name}); do echo $pod && kubectl exec -it $pod -- env; done