kubernetes restart all pods in a deployment code example
Example 1: restart a pod kubernetes
kubectl rollout restart deployment [deployment_name]
Example 2: kubectl restart deployment
kubectl rollout restart deployment yourDeploymentName
kubectl rollout restart deployment [deployment_name]
kubectl rollout restart deployment yourDeploymentName