kubernetes.adm.init role – Initializes 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.init.
Entry point main – Initializes a Kubernetes cluster
Synopsis
Initializes the first control plane node using ‘kubeadm init’.
The role uses
kubeadm_config_templateas template file forkubeadm --config.
Parameters
Parameter |
Comments |
|---|---|
The YAML template file that contains the InitConfiguration and ClusterConfiguration. Default: |
|
kubeadm phases to skip. For example [‘addon/kube-proxy’]. Default: |