Configures DNS and Creates Kubernetes Cluster

This commit is contained in:
2023-09-22 03:07:48 -03:00
parent f4e2044058
commit 20382a8073
4 changed files with 89 additions and 17 deletions

9
setup_worker.sh Normal file
View File

@@ -0,0 +1,9 @@
echo -e "\n${extra_key}" >> /home/ubuntu/.ssh/authorized_keys
echo "export TERM='xterm-256color'" > .profile;
curl -sfL https://get.k3s.io | \
INSTALL_K3S_EXEC="agent" \
K3S_TOKEN="${k3s_token}" \
sh -s - --server "${k3s_url}:6443"