Wednesday, 4 October 2023

Count the occurrences of each unique image in k8s cluster

 
kubectl get pods --all-namespaces -o jsonpath="{..image}" |tr -s '[[:space:]]' '\n' |sort |uniq -c




No comments:

Post a Comment