Skip to content

Instantly share code, notes, and snippets.

@ricardozanini
Created June 19, 2018 18:51
Show Gist options
  • Save ricardozanini/e239c4e417483e4c0aaf9f9d21b0adb7 to your computer and use it in GitHub Desktop.
Save ricardozanini/e239c4e417483e4c0aaf9f9d21b0adb7 to your computer and use it in GitHub Desktop.
Scale down all openshift pods in a project

oc scale --replicas=0 $(oc get dc -o name | xargs) -n <project_name>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment