offline-kubernetes-install/0-config.sh

13 lines
281 B
Bash
Raw Normal View History

2023-04-27 11:39:30 +08:00
#!/bin/bash
master1="10.0.0.112"
master2="10.0.0.122"
master3="10.0.0.132"
vip="10.0.0.32"
sed -e "s/10.0.0.11/${master1}/g" \
-e "s/10.0.0.12/${master2}/g" \
-e "s/10.0.0.13/${master3}/g" \
-e "s/10.0.0.3/${vip}/g" \
2023-04-27 17:40:58 +08:00
-i keepalived/*.conf \
2023-06-15 11:11:44 +08:00
-i 2-create_k8s.sh