get the name of the pods of a deployment code example Example: kubectl restart deployment kubectl rollout restart deployment yourDeploymentName