Skip to content

Instantly share code, notes, and snippets.

@bugb
Created August 8, 2020 18:02
Show Gist options
  • Select an option

  • Save bugb/e1873b00cc18d856733c9f68f2738518 to your computer and use it in GitHub Desktop.

Select an option

Save bugb/e1873b00cc18d856733c9f68f2738518 to your computer and use it in GitHub Desktop.
k8s

get all pods in all namespace:

kubectl get pods --all-namespaces -o jsonpath="{..image}" |\
tr -s '[[:space:]]' '\n' |\
sort |\
uniq -c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment