https://rancher.com/ logo
Title
r

rough-jordan-89140

11/25/2022, 2:12 PM
Hey all, We would like to add a custom tolerations in cattle-cluster-agent deployment for a user added taint in node, so we are exactly hitting this issue - https://github.com/rancher/rancher/issues/16050 Saw the work around :
An empty key with operator Exists matches all keys, values and effects which means this will tolerate everything.
tolerations:
- operator: "Exists"
and
kubectl -n cattle-system patch ds/cattle-node-agent -p '{"spec":{"template":{"spec":{"tolerations":[{"operator":"Exists"}]}}}}'
do you think that the first code snippet can be added to the cattle-cluster-agent deployment manifest or it will work only with kubectl patch? We would like to make this persist with code. Please let us know if we really can add a toleration to cattle-cluster-agent deployment manifest, thank you 🙇