mirror of
https://github.com/biersoeckli/QuickStack.git
synced 2026-02-10 13:39:07 -06:00
fix/removing pvc for registry, registry should only be temp storage
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
# curl -sfL https://get.quickstack.dev/setup-worker.sh | K3S_URL=<https://<IP-ADDRESS-OR-HOSTNAME-OF-MASTERNODE>:6443> JOIN_TOKEN=<TOKEN> sh -
|
||||
# curl -sfL https://get.quickstack.dev/setup-worker.sh | K3S_URL=<https://IP-ADDRESS-OR-HOSTNAME-OF-MASTERNODE:6443> JOIN_TOKEN=<TOKEN> sh -
|
||||
|
||||
if [ -z "${K3S_URL}" ]; then
|
||||
echo "Error: Missing parameter 'K3S_URL'."
|
||||
@@ -58,8 +58,8 @@ sudo apt-get install nfs-common -y
|
||||
# Installation of k3s
|
||||
curl -sfL https://get.k3s.io | K3S_URL=${K3S_URL} K3S_TOKEN=${JOIN_TOKEN} sh -
|
||||
|
||||
# Check for Ready node, takes ~30 seconds
|
||||
sudo k3s kubectl get node
|
||||
|
||||
echo "Waiting for Kubernetes to start..."
|
||||
wait_until_all_pods_running
|
||||
echo ""
|
||||
echo "-----------------------------------------------------------------------------------------------------------"
|
||||
echo "* Node Setup completed. It might take a few minutes until the node is visible in the QuickStack settings. *"
|
||||
echo "-----------------------------------------------------------------------------------------------------------"
|
||||
echo ""
|
||||
@@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# curl -sfL https://get.quickstack.dev/setup.sh | sh -
|
||||
|
||||
wait_until_all_pods_running() {
|
||||
|
||||
# Waits another 5 seconds to make sure all pods are registered for the first time.
|
||||
@@ -117,7 +119,5 @@ wait_until_all_pods_running
|
||||
sudo kubectl logs -f job/quickstack-setup-job -n quickstack
|
||||
|
||||
# evaluate url to add node to cluster
|
||||
echo "To add a worker node to the cluster, run the following command on the worker node:"
|
||||
echo "------------------------------------------------------------"
|
||||
echo "curl -sfL https://get.quickstack.dev/setup-worker.sh | K3S_URL=https://<IP-ADDRESS-OR-HOSTNAME-OF-MASTERNODE>:6443 JOIN_TOKEN=$joinTokenForOtherNodes sh -"
|
||||
echo "------------------------------------------------------------"
|
||||
# echo "To add an additional node to the cluster, run the following command on the worker node:"
|
||||
# echo "curl -sfL https://get.quickstack.dev/setup-worker.sh | K3S_URL=https://<IP-ADDRESS-OR-HOSTNAME-OF-MASTERNODE>:6443 JOIN_TOKEN=$joinTokenForOtherNodes sh -"
|
||||
Reference in New Issue
Block a user