Provider for Rancher's rke2
Go to file
Santhosh 751ef2cc61
Merge pull request #45 from santhoshdaivajna/k213
kairos v2.1.3 version upgrade
2023-07-04 08:15:56 +05:30
.github/workflows kairos v2.1.3 version upgrade 2023-07-03 21:46:15 +05:30
scripts local images import 2023-02-24 23:00:01 +05:30
.gitignore set proxy env in rke2 config 2022-12-17 11:05:39 +05:30
Earthfile kairos v2.1.3 version upgrade 2023-07-03 21:46:15 +05:30
go.mod Use kairos-sdk instead 2023-04-20 09:39:40 +02:00
go.sum Use kairos-sdk instead 2023-04-20 09:39:40 +02:00
install_rke2.sh Add provider for rke2 2022-08-18 12:11:22 -06:00
LICENSE Initial commit 2022-08-17 10:58:12 -06:00
main.go Use kairos-sdk instead 2023-04-20 09:39:40 +02:00
README.md Add provider for rke2 2022-08-18 12:11:22 -06:00

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