kubectl apply file only lables code example Example: kubectl restart deployment kubectl rollout restart deployment yourDeploymentName