Skip to content

Pod disruption budget is not created when enabling HPA #309

@Fresa

Description

@Fresa

PodDisruptionBudget is only generated if .Values.podDisruptionBudget.enabled is true and .Values.replicaCount is greater than 1.

.Values.replicaCount is not set in the deployment manifest when using HPA, so the helm chart should take .Values.autoscaling.minReplicas in consideration as well when deciding if the PodDisruptionBudget should be rendered or not.

It's possible to workaround this by actually setting replicaCount to something that is greater than 1, but it's not very intuitive when using HPA.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions