kubernetes.adm.join role – Joins a Kubernetes cluster
Note
This role is part of the kubernetes.adm collection (version 1.0.0).
To install it use: ansible-galaxy collection install kubernetes.adm.
To use it in a playbook, specify: kubernetes.adm.join.
Entry point main – Joins a Kubernetes cluster
Synopsis
Joins a node to a Kubernetes cluster using ‘kubeadm join’.
Uses
joined_control_plane_nodeas a delegete.The role uses
kubeadm_config_templateas template file forkubeadm --config.The node is joined as a control plane node if
is_control_planeis true.
Parameters
Parameter |
Comments |
|---|---|
The YAML template file that contains the Default: |
|
Run ‘kubeadm reset’ before joining the cluster. Only allowed for non control plane nodes. Choices:
|