I've tried using a script that uses string matching to check if the pod name begins with the deployment name, but it's not really sufficient due to the possibility of deployments beginning with the same string.
Listing pods associated with a deployment
How do I get a list of all pods associated with a deployment? In the GUI, it's as simple as clicking on the deployment and checking the pods tab. However, I can't find a way using the CLI.
I've tried using a script that uses string matching to check if the pod name begins with the deployment name, but it's not really sufficient due to the possibility of deployments beginning with the same string.
I've tried using a script that uses string matching to check if the pod name begins with the deployment name, but it's not really sufficient due to the possibility of deployments beginning with the same string.
0 comments:
Post a Comment
Thanks