Scaling guide based on scenarios
Note: scaling via kubectl your values will be alive until the next successful deployment of your application
kubectl scale --replicas=<value> deployment/your-deployment-name -n your-namespace
Note: scaling via k9s your values will be alive until the next successful deployment of your application
- list your deployments with
:dp - find your deployment
- press
s - edit the replica count
Note: Scaling via google console GUI your values will be alive until the next successful deployment of your application
- go to your deployments
- select your deployment you desire to scale
- click
Actions->scale - change the value to the desired
Note: for this to take effect need to be deployed the new version.
- Edit the desired application’s gap patch files’ replicas field to the desired.
- commit the changes