some changes ;-)

This commit is contained in:
Jan Novak
2024-07-20 20:35:19 +02:00
parent 8c63e3f7f8
commit f28d2bc030
5 changed files with 23 additions and 4 deletions

View File

@@ -4,7 +4,7 @@ echo "[TASK 1] Pull required containers"
kubeadm config images pull >/dev/null
echo "[TASK 2] Initialize Kubernetes Cluster"
kubeadm init --apiserver-advertise-address=172.16.16.100 --pod-network-cidr=192.168.0.0/16 >> /root/kubeinit.log 2>/dev/null
kubeadm init --apiserver-advertise-address=192.168.0.21 --pod-network-cidr=10.96.0.0/16 >> /root/kubeinit.log 2>/dev/null
echo "[TASK 3] Deploy Calico network"
kubectl --kubeconfig=/etc/kubernetes/admin.conf create -f https://raw.githubusercontent.com/projectcalico/calico/v3.27.0/manifests/tigera-operator.yaml >/dev/null