Last active
January 15, 2023 00:46
-
-
Save sandipchitale/b9f81fbae5f67403f3a4429c31abd54b to your computer and use it in GitHub Desktop.
List images of all pods #kubectl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kubectl get pod -A -o="custom-columns=NAME:.metadata.name,INIT-CONTAINERS:.spec.initContainers[*].name,IMAGE:.spec.initContainers[*].image,CONTAINERS:.spec.containers[*].name,IMAGE:.spec.containers[*].image" | |
kubectl get pod -o="custom-columns=NAME:.metadata.name,CONTAINERS:.spec.containers[*].name,IMAGE:.spec.containers[*].image" | |
kubectl get pod -o="custom-columns=NAME:.metadata.name,INIT-CONTAINERS:.spec.initContainers[*].name,IMAGE:.spec.initContainers[*].image,CONTAINERS:.spec.containers[*].name,IMAGE:.spec.containers[*].image" | |
kubectl run -i --tty --rm debug --image=gcr.io/otl-eng-cs-ia/busybox:latest --restart=Never -- sh | |
kubectl get ingress ingress-infoarchive --no-headers=true -o="custom-columns=HOSTS:.spec.rules[*].host" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment