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_node
as a delegete.The role uses
kubeadm_config_template
as template file forkubeadm --config
.The node is joined as a control plane node if
is_control_plane
is 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:
|