mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-16 05:54:24 +00:00
Give a user better idea how INSTALL_K3S_VERSION could look
Instead of sending user to find the real number k3s tag format, just give recent version of k3s which is needed by latest rancher. It would be great to update this value automatically, but I have no good idea how to do this at the moment. Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
This commit is contained in:
@@ -20,7 +20,7 @@ Rancher needs to be installed on a supported Kubernetes version. To specify the
|
||||
Install a K3s cluster by running this command on the Linux machine:
|
||||
|
||||
```
|
||||
curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION="***" sh -s - server --cluster-init
|
||||
curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION="v1.24.11+k3s1" sh -s - server --cluster-init
|
||||
```
|
||||
|
||||
Using `--cluster-init` allows K3s to use embedded etcd as the datastore and has the ability to convert to an HA setup. Refer to [High Availability with Embedded DB](https://rancher.com/docs/k3s/latest/en/installation/ha-embedded/).
|
||||
|
||||
Reference in New Issue
Block a user