mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-28 05:59:03 +00:00
k3s/installation/airgap: ha fix
addresses https://github.com/k3s-io/k3s/issues/2552#issuecomment-969311473
This commit is contained in:
@@ -75,13 +75,13 @@ For example, step two of the High Availability with an External DB guide mention
|
|||||||
|
|
||||||
```
|
```
|
||||||
curl -sfL https://get.k3s.io | sh -s - server \
|
curl -sfL https://get.k3s.io | sh -s - server \
|
||||||
--datastore-endpoint="mysql://username:password@tcp(hostname:3306)/database-name"
|
--datastore-endpoint='mysql://username:password@tcp(hostname:3306)/database-name'
|
||||||
```
|
```
|
||||||
|
|
||||||
Instead, you would modify such examples like below:
|
Instead, you would modify such examples like below:
|
||||||
|
|
||||||
```
|
```
|
||||||
INSTALL_K3S_SKIP_DOWNLOAD=true INSTALL_K3S_EXEC='server --datastore-endpoint="mysql://username:password@tcp(hostname:3306)/database-name"' ./install.sh
|
INSTALL_K3S_SKIP_DOWNLOAD=true INSTALL_K3S_EXEC='server' K3S_DATASTORE_ENDPOINT='mysql://username:password@tcp(hostname:3306)/database-name' ./install.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
{{% /tab %}}
|
{{% /tab %}}
|
||||||
|
|||||||
Reference in New Issue
Block a user