From bde187b738850751a17d7724501058fd7b1b840f Mon Sep 17 00:00:00 2001 From: Charles Showalter Date: Fri, 31 Mar 2023 08:05:00 -0700 Subject: [PATCH] Update 'README.md' --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 38a73cf..defcac6 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ Repleace the following variables This command will spin up a kubernetes server that does not allow deployments. We will utilize worker nodes for that. ```bash -curl -sfL https://get.k3s.io | sh -s - server \ +curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=v1.20.15+k3s1 sh -s - server \ --node-taint CriticalAddonsOnly=true:NoExecute \ --tls-san {LOADBALANCER} \ --datastore-endpoint='mysql://{USERNAME}:{PASSWORD}@tcp({IP}:{PORT})/{DATABASE}' @@ -62,7 +62,7 @@ cat /var/lib/rancher/k3s/server/token ## Add Additional Servers Run the following command to add additional servers to your cluster ```bash -curl -sfL https://get.k3s.io | sh -s - server \ +curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=v1.20.15+k3s1 sh -s - server \ --node-taint CriticalAddonsOnly=true:NoExecute \ --tls-san {LOADBALANCER} \ --token={TOKEN} \ @@ -71,7 +71,7 @@ curl -sfL https://get.k3s.io | sh -s - server \ ## Add Worker Nodes ```bash -curl -sfL https://get.k3s.io | K3S_URL=https://{LOADBALANCER}:6443 K3S_TOKEN={TOKEN} sh - +curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=v1.20.15+k3s1 K3S_URL=https://{LOADBALANCER}:6443 K3S_TOKEN={TOKEN} sh -s - ``` # Rancher Installation