admin管理员组文章数量:1406177
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?
本文标签: What can cause Kubernetes tolerations to spontaneously changeStack Overflow
版权声明:本文标题:What can cause Kubernetes tolerations to spontaneously change? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744340492a2601446.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论