kubectl get pods -o jsonpath='{range .items[?(@.metadata.ownerReferences[0].name == "owner name")]}{.metadata.name}{"\n"}{end}'
Created
June 10, 2021 12:20
-
-
Save alexlopes/0c225c0a9a6ea68c1c9ff0b9e254e581 to your computer and use it in GitHub Desktop.
K8s Tricks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment