failed to update lease, error: Operation cannot be fulfilled on leases.coordination.k8s.io "xxx": the object has been modified; please apply your changes to the latest version and try again

@Jestin  June 24, 2022

k8s集群报错

** 所有k8s节点/var/log/message中报错如下,反复执行kubectl命令后,返回pod运行状态反复在变化。 **

failed to update lease, error: Operation cannot be fulfilled on leases.coordination.k8s.io "kube-master2.cjestin.com": the object has been modified; please apply your changes to the latest version and try again

*** 检查了好久,最后定位在etcd集群,有一个etcd节点数据有问题,数据明显比其他两个节点的数据少,停掉有问题的etcd节点后回复正常。***


添加新评论