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
- 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
What is it? Why should someone use this feature? What is the underlying (business) problem? How do you use this feature?
Who is this for? Provide one or more use cases.
Make sure these are completed before closing the issue, with a link to the relevant commit.