Upgrades
默认pod超时时间为5分钟:kube-controller-manager --pod-eviction-timeout=5m0s
系统升级时更安全的方式是:kubectl drain node-1
,节点会被标记为不可调度,会清除pod
升级完成之后:kubectl uncordon node-1
kubectl cordon node-2
不会清除pod
Releases
标签:node,kubectl,5m0s,Kubernetes,二十,清除,笔记,升级,pod
来源: https://www.cnblogs.com/Bota5ky/p/16620098.html