Skip to content

Instantly share code, notes, and snippets.

@jhoelzel
Created September 28, 2021 16:13
Show Gist options
  • Save jhoelzel/07334e7698b9cf729e8087e01de8dfe4 to your computer and use it in GitHub Desktop.
Save jhoelzel/07334e7698b9cf729e8087e01de8dfe4 to your computer and use it in GitHub Desktop.
Kubernetes count items with wc
kubectl get deployments --no-headers | wc -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment