Created
March 10, 2017 14:54
-
-
Save zzOzz/38a4270e8e6c7d1ed22e6d0d26d07b5d to your computer and use it in GitHub Desktop.
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 replicaset -o json|jq '.items[]|select(.status.replicas == 1)|.metadata.name' -r |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment