K8s调整节点kubelet硬驱逐策略:修订间差异
来自三线的随记
无编辑摘要 |
小无编辑摘要 |
||
第1行: | 第1行: | ||
--eviction-hard=nodefs.available<5Gi,imagefs.available<5Gi | --eviction-hard=nodefs.available<5Gi,imagefs.available<5Gi | ||
添加到kubelet service environment就好 | 添加到kubelet service environment就好(此配置方法在DEPRECATED阶段) | ||
[Service] | [Service] | ||
Environment="***" | Environment="***" | ||
ps: 驱逐相关的doc: | |||
https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/ | |||
https://blog.tianfeiyu.com/2020/02/06/kubelet_garbage_collect/ (部分内容过时) | |||
https://kubernetes.io/docs/concepts/architecture/garbage-collection/ | |||
[[分类:K8s]] | [[分类:K8s]] |
2022年9月11日 (日) 23:10的版本
--eviction-hard=nodefs.available<5Gi,imagefs.available<5Gi
添加到kubelet service environment就好(此配置方法在DEPRECATED阶段)
[Service] Environment="***"
ps: 驱逐相关的doc:
https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/
https://blog.tianfeiyu.com/2020/02/06/kubelet_garbage_collect/ (部分内容过时)
https://kubernetes.io/docs/concepts/architecture/garbage-collection/