Commit 303b8d45 authored by Piotr Szlenk's avatar Piotr Szlenk

Add vagrant node prep script

parent 5ecad0c3
#!/bin/sh
kubectl apply -f calicoctl.yaml
kubectl apply -f calico.yaml
#!/bin/sh
HOSTS='k8s-master-l1-1 k8s-node-l1-1 k8s-node-l1-2 k8s-node-l2-1 k8s-node-l2-2'
for i in $HOSTS;
vagrant ssh $i -c 'sudo sh k8s-provisioning/01_ip.k8s-node.sh'
vagrant ssh $i -c 'sudo sh k8s-provisioning/02_etc.hosts.k8s-nodes.sh'
vagrant ssh $i -c 'sudo sh k8s-provisioning/03_docker.k8s-nodes.sh'
vagrant ssh $i -c 'sudo sh k8s-provisioning/04_init.k8s-nodes.sh'
done
#vagrant ssh k8s-master-l1-1 -c 'sudo sh k8s-provisioning/05_kubeadm-init.sh'
#kubectl apply -f calicoctl.yaml
#kubectl apply -f calico.yaml
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment