Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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".