KUBERNES: List All Images Used By All Pods In All Namespaces
Below command can be used.
kubectl get pods --all-namespaces -o jsonpath="{..image}" | tr -s '[[:space:]]' '\n' | sort | uniq -c
No comments:
Post a Comment