Skip to content

Remove fixed nodeSelector label: kubernetes.io/os: linux #472

@AFMiziara

Description

@AFMiziara

Description

We are using computeClass from GCP to attach the resources from NRI charts. But we have an error:

["Key 'kubernetes.io/os' is not allowed with node selector; Custom Compute Classes can only be used along labels with keys: cloud.google.com/compute-class,topology.kubernetes.io/region,topology.kubernetes.io/zone,failure-domain.beta.kubernetes.io/region,failure-domain.beta.kubernetes.io/zone,cloud.google.com/gke-accelerator-count,cloud.google.com/gke-tpu-topology,cloud.google.com/gke-tpu-accelerator."]

Expected Behavior

It should be possible to not want to render the kubernetes.io/os: linux label in nodeSelector.

I really don't understand why this was done:

If I want to explicitly set nodeSelector labels, the chart should not add any extra labels by default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugCategorizes issue or PR as related to a bug.triage/pendingIssue or PR is pending for triage and prioritization.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions