As its name implies, the `kubeRestartDeployment` function would only
restart pods managed by a Deployment. In order to restart pods managed
by other controllers, such as StatefulSets or DaemonSets, I've created a
new function, `kubeRolloutRestart`. To preserve backward compatibility,
the `kubeRestartDeployment` function delegates to this new function.