Hey all, We would like to add a custom toleration...
# general
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 :
Copy code
An empty key with operator Exists matches all keys, values and effects which means this will tolerate everything.
- operator: "Exists"
Copy code
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 🙇