This commit is contained in:
Charles Showalter 2024-12-01 20:09:30 -08:00
parent bde187b738
commit 3444a2a12b
1 changed files with 4 additions and 0 deletions

View File

@ -50,6 +50,8 @@ This command will spin up a kubernetes server that does not allow deployments. W
curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=v1.20.15+k3s1 sh -s - server \
--node-taint CriticalAddonsOnly=true:NoExecute \
--tls-san {LOADBALANCER} \
--disable servicelb \
--disable traefik \
--datastore-endpoint='mysql://{USERNAME}:{PASSWORD}@tcp({IP}:{PORT})/{DATABASE}'
```
@ -65,6 +67,8 @@ Run the following command to add additional servers to your cluster
curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=v1.20.15+k3s1 sh -s - server \
--node-taint CriticalAddonsOnly=true:NoExecute \
--tls-san {LOADBALANCER} \
--disable servicelb \
--disable traefik \
--token={TOKEN} \
--datastore-endpoint='mysql://{USERNAME}:{PASSWORD}@tcp({IP}:{PORT}/{DATABASE}'
```