-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
409da90
commit 46f17ca
Showing
6 changed files
with
31 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# RKE2 | ||
## Specification | ||
| Control Plane | CNI | Default OS | Installs ClusterClass | | ||
|-----------------------------|--------|--------------|-----------------------| | ||
| [rke2](https://docs.rke2.io/) | Cilium | Ubuntu 22.04 | No | | ||
## Prerequisites | ||
* [Quickstart](../topics/getting-started.md) completed | ||
* Select an [rke2 kubernetes version](https://github.com/rancher/rke2/releases) to set for the kubernetes version | ||
```bash | ||
export KUBERNETES_VERSION=v1.29.1+rke2r1 | ||
``` | ||
* Installed [rke2 bootstrap provider](https://github.com/rancher-sandbox/cluster-api-provider-rke2) into your management cluster | ||
```shell | ||
clusterctl init --bootstrap rke2 --control-plane rke2 | ||
``` | ||
## Usage | ||
1. Generate cluster yaml | ||
```bash | ||
clusterctl generate cluster test-cluster --infrastructure linode:0.0.0 --flavor rke2 > test-rke2-cluster.yaml | ||
``` | ||
2. Apply cluster yaml | ||
```bash | ||
kubectl apply -f test-rke2-cluster.yaml | ||
``` |