initial commit with basic vagrant stuff
This commit is contained in:
7
vagrant/bootstrap_kworker.sh
Normal file
7
vagrant/bootstrap_kworker.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "[TASK 1] Join node to Kubernetes Cluster"
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
apt-get install -qq -y sshpass >/dev/null
|
||||
sshpass -p "kubeadmin" scp -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no kmaster.example.com:/joincluster.sh /joincluster.sh >/dev/null 2>&1
|
||||
bash /joincluster.sh >/dev/null
|
||||
Reference in New Issue
Block a user