Preview:
# get all deployements for a specific namespace
> kubectl get deployments -n rev-1169-provide-staging-and-development-environment-for-dedic
NAME                        READY   UP-TO-DATE   AVAILABLE   AGE
admin-site-gen              1/1     1            1           45m
auth-site-gen               1/1     1            1           45m
banner-site-gen             1/1     1            1           45m
cms-api-site-gen            1/1     1            1           45m
rendering-engine-site-gen   1/1     1            1           45m
styles-service-site-gen     1/1     1            1           45m
# scale it to 0
> kubectl scale deployment banner-site-gen -n rev-1169-provide-staging-and-development-environment-for-dedic --replicas=0
# and the scale it back to 1
> kubectl scale deployment banner-site-gen -n rev-1169-provide-staging-and-development-environment-for-dedic --replicas=1
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter