Skip to content

Make Balancer's replicas optional #6207

Open
@toVersus

Description

@toVersus

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: kubernetes/kubernetes#121211

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/balancerkind/featureCategorizes issue or PR as related to a new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions