If you need to restart a deployment in Kubernetes, perhaps because you would like to force a cycle of pods, then you can do the following:

Step 1 – Get the deployment name

kubectl get deployment

Step 2 – Restart the deployment

kubectl rollout restart deployment <deployment_name>