-
Notifications
You must be signed in to change notification settings - Fork 210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[pixie-chart] - nodeSelector not working #945
Comments
Could you please assign me this issue? |
@maxlemieux any updates? |
Hi @cdenneen I took another look at this issue, and based on the upstream subchart values it seems like the setting needs to be under
Let me know if this gives the results you need. I've tested it successfully in the past. The documented patch method should also work. |
Sorry I saw this but was hoping this would help with affinity but doesn’t. Thanks for follow up. |
@maxlemieux in order to do this you'd require setting a label on all nodes like |
@maxlemieux since you have |
Bug description
The nodeSelector configuration is applied to pixie-chart, but it seems to be ignored
Version of Helm and Kubernetes
Helm 3, Kubernetes 1.20
Which chart?
pixie-chart from nri-bundle chart
What happened?
I have configured nodeSelector on pixie-chart, but the
NODE SELECTOR
for the vizier-pem DaemonSet is none:If I configure using the global nodeSelector option of nri-bundle chart it works:
What you expected to happen?
Run vizier-pem DaemonSet only in a set of nodes using nodeSelector
How to reproduce it?
Add the label pixie=allowed to a node, then install the helm chart:
helm install:
I also tried to use the approach from this doc:
helm upgrade --install newrelic-bundle newrelic/nri-bundle \ --namespace=newrelic \ --set prometheus.enabled=true \ --set newrelic-pixie.enabled=true \ --set newrelic-pixie.apiKey=API_KEY \ --set pixie-chart.enabled=true \ --set pixie-chart.deployKey=DEPLOY_KEY \ --set pixie-chart.patches.vizier-pem='\{\"spec\"\: \{\"template\"\: \{\"spec\"\: \{ \"nodeSelector\"\: \{\"pixie\"\: \"allowed\" \}\}\}\}\}'
Anything else we need to know?
I used terraform to apply those helm configurations, follows the relevant part of code:
The latest
px-dev-viziers.yaml
andolm-crd.yaml
CRDs are also applied.Values from helm, after terraform apply:
Or this, when using the patch model:
The text was updated successfully, but these errors were encountered: