Answers for "kubectl get only pod name"

0

kubectl get only pod name

kubectl get pods --template '{{range .items}}{{.metadata.name}}{{end}}' --selector=app=<CONTAINER-NAME>

//replace <CONTAINER-NAME> with your service container name
Posted by: Guest on February-11-2021

Browse Popular Code Answers by Language