rolling restart deployment kubernetes code example
Example 1: kubectl restart deployment
kubectl rollout restart deployment yourDeploymentName
Example 2: rolling restart kubernetes gke
kubectl rollout restart deployment your_deployment_name
kubectl rollout restart deployment yourDeploymentName
kubectl rollout restart deployment your_deployment_name