Skip to content

Instantly share code, notes, and snippets.

@pydevd
Created May 7, 2019 11:16
Show Gist options
  • Save pydevd/a749251c811a2dedcec5feebd97bd127 to your computer and use it in GitHub Desktop.
Save pydevd/a749251c811a2dedcec5feebd97bd127 to your computer and use it in GitHub Desktop.
kubectl -n <namespace> scale deployment <depl-name> --replicas=0 && kubectl -n <namespace> scale deployment <depl-name> --replicas=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment