GAP Documentation
GitHub Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage
Edit page

Scaling guide based on scenarios

Scaling via kubectl

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

Scaling via K9S

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

Scaling via google console GUI

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

Persistent scaling

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

How to use patches

Autoscaling based on CPU

Detailed guide

Autoscaling based on custom metrics

Detailed guide

Resource limits and requests

Resource limits and requests