initial commit with basic vagrant stuff

This commit is contained in:
2024-05-30 14:30:09 +02:00
parent 8b4e92fbae
commit 18662bae87
6 changed files with 234 additions and 0 deletions

View 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