File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ select_network_interface
6666# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
6767# install nfs-common, open-iscsi and jq
6868sudo apt-get update
69- sudo apt-get install open-iscsi nfs-common jq -y
69+ sudo apt-get install open-iscsi curl nfs-common jq -y
7070
7171echo " Fetching version information..."
7272K3S_VERSION=$( curl -s https://get.quickstack.dev/k3s-versions.json | jq -r ' .prodInstallVersion' )
@@ -80,6 +80,9 @@ sudo systemctl disable rpcbind.service rpcbind.socket
8080echo " Installing k3s with --flannel-iface=$selected_iface "
8181curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC=" --flannel-iface=$selected_iface " INSTALL_K3S_VERSION=" $K3S_VERSION " K3S_URL=${K3S_URL} K3S_TOKEN=${JOIN_TOKEN} sh -
8282
83+ # For HA Configuration
84+ # curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION="v1.33.8+k3s1" K3S_TOKEN= sh -s - server --server https://<IP-ADDRESS>:6443 --flannel-iface=<IFACE>
85+
8386echo " "
8487echo " -----------------------------------------------------------------------------------------------------------"
8588echo " * Node Setup completed. It might take a few minutes until the node is visible in the QuickStack settings. *"
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ select_network_interface
8989# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
9090echo " Installing nfs-common and jq..."
9191sudo apt-get update
92- sudo apt-get install open-iscsi nfs-common jq -y
92+ sudo apt-get install open-iscsi curl nfs-common jq -y
9393
9494echo " Fetching version information..."
9595K3S_VERSION=$( curl -s https://get.quickstack.dev/k3s-versions.json | jq -r ' .prodInstallVersion' )
You can’t perform that action at this time.
0 commit comments