Skip to content

Instantly share code, notes, and snippets.

@denzhel
Created April 14, 2022 18:18
Show Gist options
  • Select an option

  • Save denzhel/67a064dac066ec3147b00df0f32eae97 to your computer and use it in GitHub Desktop.

Select an option

Save denzhel/67a064dac066ec3147b00df0f32eae97 to your computer and use it in GitHub Desktop.
kubernetes scale all deployments to 0

To scale all deployments in a namespace to 0, use the following:

kubectl scale deployment --all --replicas=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment