高可用组件安装(可选)
所有 Master 节点安装 HAProxy 和 KeepAlived:
yum install -y keepalived haproxy所有 Master 节点配置 HAProxy
vim /etc/haproxy/haproxy.cfg scp /etc/haproxy/haproxy.cfg root@k8s-master02:/etc/haproxy/haproxy.cfg
scp /etc/haproxy/haproxy.cfg root@k8s-master03:/etc/haproxy/haproxy.cfg所有 Master 节点配置 KeepAlived
所有 Master 节点配置 KeepAlived 健康检查文件
启动 HAProxy 和 KeepAlived
最后更新于