mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-28 22:18:52 +00:00
Merge pull request #2093 from davidnuzik/fix-ha-dash
Remove dash from suggested HA db name
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: "K3s - 5 less than K8s"
|
title: "K3s - 5 less than K8s"
|
||||||
shortTitle: K3s
|
shortTitle: K3s
|
||||||
date: 2019-02-05T09:52:46-07:00
|
|
||||||
name: "menu"
|
name: "menu"
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -80,14 +80,14 @@ The above assumes a typical three node etcd cluster. The parameter can accept on
|
|||||||
{{% /tab %}}
|
{{% /tab %}}
|
||||||
{{% /tabs %}}
|
{{% /tabs %}}
|
||||||
|
|
||||||
<br/>Based on the above, the following example command could be used to launch a server instance that connects to a PostgresSQL database named k3s-db:
|
<br/>Based on the above, the following example command could be used to launch a server instance that connects to a PostgresSQL database named k3s:
|
||||||
```
|
```
|
||||||
K3S_DATASTORE_ENDPOINT='postgres://username:password@hostname:5432/k3s-db' k3s server
|
K3S_DATASTORE_ENDPOINT='postgres://username:password@hostname:5432/k3s' k3s server
|
||||||
```
|
```
|
||||||
|
|
||||||
And the following example could be used to connect to a MySQL database using client certificate authentication:
|
And the following example could be used to connect to a MySQL database using client certificate authentication:
|
||||||
```
|
```
|
||||||
K3S_DATASTORE_ENDPOINT='mysql://username:password@tcp(hostname:3306)/k3s-db' \
|
K3S_DATASTORE_ENDPOINT='mysql://username:password@tcp(hostname:3306)/k3s' \
|
||||||
K3S_DATASTORE_CERTFILE='/path/to/client.crt' \
|
K3S_DATASTORE_CERTFILE='/path/to/client.crt' \
|
||||||
K3S_DATASTORE_KEYFILE='/path/to/client.key' \
|
K3S_DATASTORE_KEYFILE='/path/to/client.key' \
|
||||||
k3s server
|
k3s server
|
||||||
|
|||||||
Reference in New Issue
Block a user