# How to scale up/down a deployment in openshift? * Log into os-master01 (prod or stg depending on what you want) * Retrieve the list of projects if you don't know how it's named ``` oc projects ``` Find there the one of interest * Get its deployments ``` oc -n get dc ``` This will return you the different deployments in the project. Find the name of interest * Scale the deployment up/down ``` oc -n scale dc/ --replicas= ``` If you do not want any running pods, simply use ``--replicas=0``