Krishantha DineshFollowNov 29, 2021·1 min readHow to list all containers of given pod in kubernetesit is simple :)k get pod <pod name> -n <namespace> -o jsonpath="{.spec.containers[*].image}" |tr -s '[[:space:]]' '\n' |sort |uniq -c