You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tainted an autoscaling GKE node-pool with the taint cloud.google.com/gke-nodepool=jenkins-agent-pool, but agents with a toleration are unable to be spin up due to the taint.
If I remove the taint from the node pool, agents are spun up.
Example in values.yaml file shows how to add toleration to an agent using yamlTemplate, which I have implemented as follows:
1. Create tainted, autoscaling agent node pool on GKE
2. Add agent toleration to values.yaml as per example
3. Run a jenkins job
4. Job logs report that Jenkins can't scale up nodes due to taint
Describe the bug
I have tainted an autoscaling GKE node-pool with the taint
cloud.google.com/gke-nodepool=jenkins-agent-pool
, but agents with a toleration are unable to be spin up due to the taint.If I remove the taint from the node pool, agents are spun up.
Example in values.yaml file shows how to add toleration to an agent using
yamlTemplate
, which I have implemented as follows:Version of Helm and Kubernetes
Chart version
jenkins/jenkins 5.8.2
What happened?
1. Create tainted, autoscaling agent node pool on GKE 2. Add agent toleration to values.yaml as per example 3. Run a jenkins job 4. Job logs report that Jenkins can't scale up nodes due to taint
What you expected to happen?
A node to be created for the agent.
How to reproduce it
Anything else we need to know?
Searched kubernetes-plugin issues and found a potentially relevant issue, though it is related to the controller and not the agent Tolerations are not getting overwritten via "Raw YAML for the Pod"
The text was updated successfully, but these errors were encountered: