Closed danfinn closed 2 years ago
The following jobs don't seem to have a way to set nodeSelector:
resource-cleanup resource-migration resource-rollout
Looking at a job that does have this ability, you can see here that the template for the certgen job pulls in the values at line 32: https://github.com/solo-io/gloo/blob/master/install/helm/gloo/templates/6.5-gateway-certgen-job.yaml
The jobs that don't have a way to set nodeSelector on don't do this and therefore there is no way to set this on those jobs. To get around this for now I'm generating the manifest with helm template
and then adding nodeSelector to those 3 jobs.
up vote from me!
submitted PR which I think will fix this.
available in GlooEE v1.12.3 (OSS v1.12.3) and GlooEE v1.11.33 (OSS v1.11.28)
Gloo Edge Version
1.12.x (beta)
Kubernetes Version
1.21.x
Describe the bug
Using the documentation here:
https://docs.solo.io/gloo-edge/master/reference/helm_chart_values/open_source_helm_chart_values/
I've set all of the available nodeSelector (there are quite a few) to linux. This has gotten all of my pods up and running however I have a job that is failing to run because it's getting assigned to a Windows pod and I don't know how to set nodeSelector on this job. I tried to use kubectl to patch it however you cannot patch the template section of a job once it's run.
Steps to reproduce the bug
I'm using an ansible playbook to add the helm repo and install the helm chart with the following values set:
which results in the job never running because it gets assigned to a windows pod:
Expected Behavior
There should be a way to specify that this job needs to run on a linux node. Even better would be one value to set that says everything needs to run on linux, it's a bit tedious to have to set this in so many different places.
Additional Context
No response