...
export PATH=$PATH:`pwd`
chmod +x kubectlÂ
Pseudo Pod Restart
You can emulate a pod restart without bringing down the pod by issuing the following command:
kubectl scale --current-replicas=N --replicas=N rc CONTROLLER_NAME
Simply choose a fixed value for N (likely "1") and substitute in the name of the replication controller to "restart".