Skip to content
Merged
Show file tree
Hide file tree
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
5 changes: 4 additions & 1 deletion setup/setup-worker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ select_network_interface
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# install nfs-common, open-iscsi and jq
sudo apt-get update
sudo apt-get install open-iscsi nfs-common jq -y
sudo apt-get install open-iscsi curl nfs-common jq -y

echo "Fetching version information..."
K3S_VERSION=$(curl -s https://get.quickstack.dev/k3s-versions.json | jq -r '.prodInstallVersion')
Expand All @@ -80,6 +80,9 @@ sudo systemctl disable rpcbind.service rpcbind.socket
echo "Installing k3s with --flannel-iface=$selected_iface"
curl -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 -

# For HA Configuration
# 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>

echo ""
echo "-----------------------------------------------------------------------------------------------------------"
echo "* Node Setup completed. It might take a few minutes until the node is visible in the QuickStack settings. *"
Expand Down
2 changes: 1 addition & 1 deletion setup/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ select_network_interface
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
echo "Installing nfs-common and jq..."
sudo apt-get update
sudo apt-get install open-iscsi nfs-common jq -y
sudo apt-get install open-iscsi curl nfs-common jq -y

echo "Fetching version information..."
K3S_VERSION=$(curl -s https://get.quickstack.dev/k3s-versions.json | jq -r '.prodInstallVersion')
Expand Down