-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Labels
bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.triage/pendingIssue or PR is pending for triage and prioritization.Issue or PR is pending for triage and prioritization.
Description
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:
newrelic-prometheus-configurator/charts/newrelic-prometheus-agent/templates/statefulset.yaml
Lines 166 to 167 in fde1e5e
| nodeSelector: | |
| kubernetes.io/os: linux |
If I want to explicitly set nodeSelector labels, the chart should not add any extra labels by default.
Metadata
Metadata
Assignees
Labels
bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.triage/pendingIssue or PR is pending for triage and prioritization.Issue or PR is pending for triage and prioritization.