Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
kubectl list pods in a deployment #72794
What would you like to be added:
Either an argument to
Why is this needed:
I want a script that will check the status of pods in each of my deployments, things like whether the image is out of date. However right now it is impossible to list the pods in a deployment from a script without hardcoding selectors into the script.
So it seems like there is no way to list the pods in a deployment. Without reading a selector from a human-readable