kubernetes / autoscaler

Autoscaling components for Kubernetes
Apache License 2.0
7.88k stars 3.9k forks source link

Make Balancer's replicas optional #6207

Open toVersus opened 10 months ago

toVersus commented 10 months ago

Which component are you using?:

Balancer

Is your feature request designed to solve a problem? If so describe the problem this feature should solve.:

Since the HPA controller overwrites Balancer's spec.replicas, specifying it is mandatory, which means you have to update your manifests and apply changes each time the HPA controller changes the number of replicas for Balancer.

Describe the solution you'd like.:

Change Balancer's replicas field to be optional. The default value is 1 unless minReplicas in targets is specified. Otherwise, it will sum the values of minReplicas.

Describe any alternative solutions you've considered.:

Update your manifests and apply changes each time the HPA controller changes the number of replicas for Balancer.

Additional context.:

xref: https://github.com/kubernetes/kubernetes/issues/121211

Shubham82 commented 9 months ago

/balancer

Shubham82 commented 9 months ago

cc @mwielgus

k8s-triage-robot commented 6 months ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

Shubham82 commented 6 months ago

/remove-lifecycle stale

k8s-triage-robot commented 3 months ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

toVersus commented 3 months ago

/remove-lifecycle stale

adrianmoisey commented 1 month ago

/area balancer