Description
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.: