[+] node-external-ip 声明节点VIP
All checks were successful
Build Docker Image / Explore-Gitea-Actions (push) Successful in 14s
All checks were successful
Build Docker Image / Explore-Gitea-Actions (push) Successful in 14s
This commit is contained in:
parent
a593dea13c
commit
f3e2fe88d5
@ -4,7 +4,8 @@ current_ip=$(hostname -I | awk '{print $1}')
|
||||
|
||||
curl -sfL https://rancher-mirror.rancher.cn/k3s/k3s-install.sh | INSTALL_K3S_MIRROR=cn sh -s - \
|
||||
--cluster-cidr $pod_subnet \
|
||||
--service-cidr $service_subnet
|
||||
--service-cidr $service_subnet \
|
||||
--node-external-ip=$vip
|
||||
|
||||
# 安装 keepalived
|
||||
apt install -y keepalived
|
||||
|
Loading…
x
Reference in New Issue
Block a user