Provider for Rancher's rke2
Go to file
2025-04-24 10:32:49 +00:00
.github/workflows fix: add log rotation and version in logging (#76) 2025-01-27 21:41:53 -08:00
pkg fix: add disk swap disable stage (#78) 2025-01-29 12:17:49 -08:00
scripts
.gitignore
.pre-commit-config.yaml
Earthfile fix: add log rotation and version in logging (#76) 2025-01-27 21:41:53 -08:00
go.mod fix(deps): update module github.com/kairos-io/kairos-sdk to v0.9.0 2025-04-24 10:32:49 +00:00
go.sum fix(deps): update module github.com/kairos-io/kairos-sdk to v0.7.2 (#65) 2025-01-27 21:42:44 -08:00
install_rke2.sh
LICENSE
main.go fix: add log rotation and version in logging (#76) 2025-01-27 21:41:53 -08:00
README.md
renovate.json

C3OS RKE2 Cluster Plugin


This provider will configure a RKE2 installation based on the cluster section of cloud init.

Configuration

cluster_token: a token all members of the cluster must have to join the cluster.

control_plane_host: the host of the cluster control plane. This is used to join nodes to a cluster. If this is a single node cluster this is not required.

role: defines what operations is this device responsible for. The roles are described in detail below.

  • init This role denotes a device that should initialize the etcd cluster and operate as a RKE2 server. There should only be one device with this role per cluster.
  • controlplane: runs the RKE2 server.
  • worker: runs the RKE2 agent.

Example

#cloud-config

cluster:
  cluster_token: randomstring
  control_plane_host: cluster.example.com
  role: init
  config: |
    node-name: example-node