Merge pull request #3362 from catherineluse/master

Use K8s 1.20 release channel for RKE2
This commit is contained in:
Catherine Luse
2021-06-24 14:11:14 -07:00
committed by GitHub
3 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
---
title: Rancher v2.5.8+ (Latest)
title: Rancher 2.5.7-2.5.8+ (Latest)
weight: 1
showBreadcrumb: false
---
+2 -2
View File
@@ -1,6 +1,6 @@
---
title: "Rancher v2.5.8+ (Latest)"
shortTitle: "Rancher v2.5.8+ (Latest)"
title: "Rancher 2.5.7-2.5.8+ (Latest)"
shortTitle: "Rancher 2.5.7-2.5.8+ (Latest)"
description: "Rancher adds significant value on top of Kubernetes: managing hundreds of clusters from one interface, centralizing RBAC, enabling monitoring and alerting. Read more."
metaTitle: "Rancher 2.x Docs: What is New?"
metaDescription: "Rancher 2 adds significant value on top of Kubernetes: managing hundreds of clusters from one interface, centralizing RBAC, enabling monitoring and alerting. Read more."
@@ -22,7 +22,7 @@ Rancher needs to be installed on a supported Kubernetes version. To find out whi
RKE2 server runs with embedded etcd so you will not need to set up an external datastore to run in HA mode.
1. On the first node, you should set up the configuration file with your own pre-shared secret as the token. The token argument can be set on startup.
On the first node, you should set up the configuration file with your own pre-shared secret as the token. The token argument can be set on startup.
If you do not specify a pre-shared secret, RKE2 will generate one and place it at /var/lib/rancher/rke2/server/node-token.
@@ -37,8 +37,9 @@ tls-san:
- another-kubernetes-domain.com
```
After that you need to run the install command and enable and start rke2:
```
curl -sfL https://get.rke2.io | sh -
curl -sfL https://get.rke2.io | INSTALL_RKE2_CHANNEL=v1.20 sh -
systemctl enable rke2-server.service
systemctl start rke2-server.service
```