Autoscaling apps
Description
Auto DevOps let's you set application scale using PRODUCTION_REPLICAS
. We should make it easy to autoscale application replicas. Kubernetes has a concept of horizontal pod autoscaling (not to be confused with autoscaling the k8s nodes, like GKE has, currently in Beta). e.g.:
kubectl autoscale rc foo --min=2 --max=5 --cpu-percent=80
Proposal
- Building on https://gitlab.com/gitlab-org/gitlab-ce/issues/38543,
- Add a checkbox to enable autoscaling, set min and max values
- Possibly let users choose different autoscaling algorithms or criteria
- Expose these new values as variables
Links / references
Documentation blurb
Overview
What is it? Why should someone use this feature? What is the underlying (business) problem? How do you use this feature?
Use cases
Who is this for? Provide one or more use cases.
Feature checklist
Make sure these are completed before closing the issue, with a link to the relevant commit.
-
Feature assurance -
Documentation -
Added to features.yml
This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.