shortened some code lines due to broken styling that I can't figure out for the life of me

This commit is contained in:
Solomon Laing 2021-12-21 21:28:11 +10:30
parent 1f80db82f4
commit 6164a4044a

View File

@ -102,7 +102,8 @@ Then run the following on the worker nodes, updating the command for each:
#!shell
# for workers
# Fill this out ...
curl -sfL http://get.k3s.io | K3S_URL=https://<master_IP>:6443 K3S_TOKEN=<join_token> K3S_NODE_NAME="odroid-mc1-X" sh -s - --docker
curl -sfL http://get.k3s.io | K3S_URL=https://<master_IP>:6443 K3S_TOKEN=<join_token>
K3S_NODE_NAME="odroid-mc1-X" sh -s - --docker
systemctl status k3s-agent
@ -199,9 +200,11 @@ YOURTOKEN = token from above
servername = unique name for node (I use hostname)
#!shell
curl -sfL https://get.k3s.io | K3S_TOKEN="YOURTOKEN" K3S_URL="https://[your server]:6443" K3S_NODE_NAME="servername" sh -z
curl -sfL https://get.k3s.io | K3S_TOKEN="YOURTOKEN"
K3S_URL="https://[your server]:6443" K3S_NODE_NAME="servername" sh -z
# I used
apt install curl -y && curl -sfL https://get.k3s.io | K3S_TOKEN="YOURTOKEN" K3S_URL="https://[your server]:6443" K3S_NODE_NAME="servername" sh -z
apt install curl -y && curl -sfL https://get.k3s.io |
K3S_TOKEN="YOURTOKEN" K3S_URL="https://[your server]:6443" K3S_NODE_NAME="servername" sh -z
Sadly this is where my notes ended as, although the install worked, all of the system pods were failing and thus I moved on to the method listed above.