mirror of
https://github.com/kairos-io/provider-rke2.git
synced 2026-02-21 06:02:59 +00:00
main
* Initial plan * Upgrade golang to v1.25.7 and update lint version Co-authored-by: santhoshdaivajna <504862+santhoshdaivajna@users.noreply.github.com> * Update golangci-lint to v2.10.1 for Go 1.25.7 compatibility Co-authored-by: santhoshdaivajna <504862+santhoshdaivajna@users.noreply.github.com> * lint fix --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: santhoshdaivajna <504862+santhoshdaivajna@users.noreply.github.com> Co-authored-by: Dr-N00B <dev.arun2302@gmail.com>
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.
initThis 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
Description
Languages
Shell
68.6%
Go
19.4%
Earthly
12%