Skip to content

rollouts fail to install for k8s less than 1.27 #137

@furykerry

Description

@furykerry
helm install kruise-rollout ./kruise-rollout
Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: error validating "": error validating data: ValidationError (Deployment, spec. template.spec. topologySpreadConstraints[0]): unknown field "matchLabelkeys" in io.k8s .api.core.v1. TopologySpreadconstraint

matchLabelkeys is available after k8s version 1.27, so the rollouts will not works for k8s less than 1.27. kruise need a detection method or template variable to disable the matchLabelkeys field

Note this issue also affects other kruise charts, e.g. kruise and kruise-state-metrics

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions