Last active
February 18, 2025 19:13
List container images in k8s cluster with size (equal to docker image ls).
This file contains 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 pods --all-namespaces -o jsonpath='{range .items[*]}{"\n"}{.metadata.name}{":\t"}{range .spec.containers[*]}{.image}{", "}{end}{end}' |\ | |
sort |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment