Update 'README.md'

This commit is contained in:
Charles Showalter 2023-03-31 08:05:00 -07:00
parent 22753b3007
commit bde187b738

View File

@ -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. This command will spin up a kubernetes server that does not allow deployments. We will utilize worker nodes for that.
```bash ```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 \ --node-taint CriticalAddonsOnly=true:NoExecute \
--tls-san {LOADBALANCER} \ --tls-san {LOADBALANCER} \
--datastore-endpoint='mysql://{USERNAME}:{PASSWORD}@tcp({IP}:{PORT})/{DATABASE}' --datastore-endpoint='mysql://{USERNAME}:{PASSWORD}@tcp({IP}:{PORT})/{DATABASE}'
@ -62,7 +62,7 @@ cat /var/lib/rancher/k3s/server/token
## Add Additional Servers ## Add Additional Servers
Run the following command to add additional servers to your cluster Run the following command to add additional servers to your cluster
```bash ```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 \ --node-taint CriticalAddonsOnly=true:NoExecute \
--tls-san {LOADBALANCER} \ --tls-san {LOADBALANCER} \
--token={TOKEN} \ --token={TOKEN} \
@ -71,7 +71,7 @@ curl -sfL https://get.k3s.io | sh -s - server \
## Add Worker Nodes ## Add Worker Nodes
```bash ```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 # Rancher Installation