I have a wavefront-proxy deployment running in the observability-system namespace. I run the following command to add tolerations:
kubectl patch deployment wavefront-proxy -n observability-system --type='json' -p='[{
"op": "add",
"path": "/spec/template/spec/tolerations",
"value": [{
"key": "key1",
"operator": "Equal",
"value": "value1",
"effect": "NoSchedule"
}]
}]'
If I run
kubectl edit deployment wavefront-proxy -n observability-system
right away, I see in the yaml,
tolerations:
- effect: NoSchedule
key: key1
operator: Equal
value: value1
As expected, but if I was several seconds and repeat the kubectl edit command, I see that my tolerations get overwritten with:
tolerations:
- effect: NoSchedule
key: kubernetes.io/arch
value: arm64
Is there anything that is part of the Kubernetes ecosystem that would spontaneously overwrite tolerations that I set?