Last active
April 18, 2022 18:19
-
-
Save caffeinetiger/d6c6a108c0e62d3f0126f034677a31a4 to your computer and use it in GitHub Desktop.
[Official kubernetes documentation](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/)
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 autoscale deployment <name-of-deployment> --cpu-percent=75 --min=2 --max=10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment