创建部署问题时,请参考下面模板,你提供的信息越多,越容易及时获得解答。如果未按模板创建问题,管理员有权关闭问题。
确保帖子格式清晰易读,用 markdown code block 语法格式化代码块。
你只花一分钟创建的问题,不能指望别人花上半个小时给你解答。

操作系统信息
例如:虚拟机/物理机,Centos7.9

Kubernetes版本信息
kubectl version 命令执行结果贴在下方

v1.22.17

问题是什么

官方文档介绍说请勿删除控制平面节点,否则集群将出现错误。,是不能删除master吗?但是我这边mastyer对应机器要下线了,我直接清退吗?目前基于删除节点的文档步骤,似乎不能删除master节点。请大佬帮忙看看。报错日志如下,node2就是一个master节点

11:27:34 CST message: [node2]

1. check the node name in the config-sample.yaml

2. check the node name in the Kubernetes cluster

3. check the node name is the first master and etcd node name

11:27:34 CST failed: [node2]

11:27:34 CST skipped: [node3]

11:27:34 CST skipped: [node4]

11:27:34 CST skipped: [node5]

error: Pipeline[DeleteNodePipeline] execute failed: Module[CompareConfigAndClusterInfoModule] exec failed:

failed: [node2] [FindNode] exec failed after 3 retries: 1. check the node name in the config-sample.yaml

2. check the node name in the Kubernetes cluster

3. check the node name is the first master and etcd node name

node2节点已经是drain了,执行delete发现kk失败,大佬看看是不是有限制,不能清理master呀

    zhifan917
    对 kk 不支持删除master节点,一定要删除的话 可以 使用 kubectl delete node node2 ,如果 node2 上也部署了etcd,也需要将该节点从etcd集群中移除

      Cauchy 所以就是kubectl delete node node2,然后etcd的话,手动将该节点etcd

      从etcd集群移除对不。