Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions k3s_cluster/files/k3s-install-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ if [[ "$first_instance" == "$instance_id" ]]; then
done
else
echo "I'm like England :( Cluster join"
until (curl -sfL https://get.k3s.io | K3S_TOKEN=${k3s_token} sh -s - --server https://${k3s_url}:6443 --node-ip $local_ip --advertise-address $local_ip --flannel-iface $flannel_iface --tls-san ${k3s_tls_san} --kubelet-arg="provider-id=aws:///$provider_id" ); do
until (curl -sfL https://get.k3s.io | K3S_TOKEN=${k3s_token} sh -s - server --server https://${k3s_url}:6443 --node-ip $local_ip --advertise-address $local_ip --flannel-iface $flannel_iface --tls-san ${k3s_tls_san} --kubelet-arg="provider-id=aws:///$provider_id" ); do
echo 'k3s did not install correctly'
sleep 2
done
Expand Down Expand Up @@ -69,4 +69,4 @@ fi
# volumes:
# - name: ssl-certs
# hostPath:
# path: "/etc/ssl/certs/ca-certificates.crt"
# path: "/etc/ssl/certs/ca-certificates.crt"