Last active
April 18, 2022 18:17
-
-
Save caffeinetiger/1e9511caf7b5743d2aeaffd66c2eaac3 to your computer and use it in GitHub Desktop.
[Stackoverflow - how to stop/pause a pod in kubernetes](https://stackoverflow.com/questions/54821044/how-to-stop-pause-a-pod-in-kubernetes)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| kubectl scale --replicas=0 deployment/<your-deployment> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment