Go to file
Rishi Anand 954c8051a0
Merge pull request #24 from santhoshdaivajna/PE-623
fetch proxy attributes from clusterplugin.cluster and set env
2022-12-17 12:00:24 +05:30
.github/workflows bump kairos v1.1.6 2022-11-04 10:21:04 -07:00
api addressed review comments 2022-10-18 10:25:13 -07:00
.gitignore proxy support 2022-11-23 16:22:48 +05:30
Earthfile Merge pull request #20 from santhoshdaivajna/proxy 2022-11-23 19:26:50 +05:30
go.mod fetch proxy attributes from clusterplugin.cluster 2022-12-14 22:00:03 +05:30
go.sum fetch proxy attributes from clusterplugin.cluster 2022-12-14 22:00:03 +05:30
main.go fetch proxy attributes from clusterplugin.cluster 2022-12-14 22:00:03 +05:30
README.md added inital github workflows 2022-08-09 13:08:13 -07:00

C3OS K3S Cluster Plugin


This provider will configure a k3s 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 k3s server. There should only be one device with this role per cluster.
  • controlplane: runs the k3s server.
  • worker: runs the k3s agent.

Example

#cloud-config

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