{"id":1121,"date":"2022-02-11T17:06:04","date_gmt":"2022-02-11T09:06:04","guid":{"rendered":"https:\/\/www.linuxdevops.cn\/?p=1121"},"modified":"2023-04-07T09:56:10","modified_gmt":"2023-04-07T01:56:10","slug":"add-worker-node-to-rke-kubernetes-cluster-2","status":"publish","type":"post","link":"https:\/\/www.linuxdevops.cn\/2022\/02\/add-worker-node-to-rke-kubernetes-cluster-2\/","title":{"rendered":"RKE kubernetes \u96c6\u7fa4\u6dfb\u52a0worker\u8282\u70b9"},"content":{"rendered":"

RKE \u652f\u6301\u4e3a worker\u3001controlplane\u3001etcd \u4e3b\u673a\u6dfb\u52a0\u6216\u5220\u9664\u8282\u70b9\u3002<\/p>\n

\u60a8\u53ef\u4ee5\u901a\u8fc7\u4fee\u6539cluster.yml<\/code>\u6587\u4ef6\u7684\u5185\u5bb9\uff0c\u6dfb\u52a0\u989d\u5916\u7684\u8282\u70b9\uff0c\u5e76\u6307\u5b9a\u5b83\u4eec\u5728 Kubernetes \u96c6\u7fa4\u4e2d\u7684\u89d2\u8272\uff1b\u6216\u4ececluster.yml<\/code>\u4e2d\u7684\u8282\u70b9\u5217\u8868\u4e2d\u5220\u9664\u8282\u70b9\u4fe1\u606f\uff0c\u4ee5\u8fbe\u5230\u5220\u9664\u8282\u70b9\u7684\u76ee\u7684\u3002<\/p>\n

\n

\u5177\u4f53\u5b89\u88c5\u6b65\u9aa4\u53c2\u8003\uff1aKubernetes rke \u96c6\u7fa4\u5b89\u88c5<\/a><\/p>\n<\/blockquote>\n

\u6dfb\u52a0\u6216\u5220\u9664 worker \u8282\u70b9\u3002<\/h2>\n

\u901a\u8fc7\u8fd0\u884crke up --update-only<\/code>\uff0c\u53ea\u6dfb\u52a0\u6216\u5220\u9664\u5de5\u4f5c\u8282\u70b9\u3002\u8fd9\u5c06\u4f1a\u5ffd\u7565\u9664\u4e86cluster.yml<\/code>\u4e2d\u7684\u5de5\u4f5c\u8282\u70b9\u4ee5\u5916\u7684\u5176\u4ed6\u5185\u5bb9\u3002<\/p>\n

\n

\u6ce8\u610f<\/strong><\/p>\n

\u4f7f\u7528--update-only<\/code>\u6dfb\u52a0\u6216\u5220\u9664 worker \u8282\u70b9\u65f6\uff0c\u53ef\u80fd\u4f1a\u89e6\u53d1\u63d2\u4ef6\u6216\u5176\u4ed6\u7ec4\u4ef6\u7684\u91cd\u65b0\u90e8\u7f72\u6216\u66f4\u65b0\u3002<\/p>\n<\/blockquote>\n


\n

\u4ee5\u4e0b\u4e3a\u6dfb\u52a0worker\u8282\u70b9\u5177\u4f53\u64cd\u4f5c<\/strong><\/p>\n