This role installs Kubernetes on Debian.
That is, the packages kubeadm
, kubelet
and kubectl
will be installed.
Debian. Maybe this role also works on other apt based systems.
Name | Required | Description |
---|---|---|
kubernetes_version |
yes | See Version Specification |
The variable kubernetes_version
must contain the major and minor version of the Kubernetes version
to install.
The newest available patch of that version will be installed.
Example:
kubernetes_version: "1.19"
The following example playbook assumes that you cloned this role to roles/kubernetes
(i.e. the name of the role is kubernetes
instead of ansible_kubernetes
).
- hosts: kube01
roles:
- role: kubernetes
kubernetes_version: "1.19"
This work is licensed under the MIT License.
- Sebastian Hasler (haslersn) sebastian.hasler at stuvus.uni-stuttgart.de