k8s get deployments code example Example: kubectl restart deployment kubectl rollout restart deployment yourDeploymentName