kubernetes.adm.upgrade role – Upgrade Kubernetes
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.upgrade
.
Entry point main
– Upgrade Kubernetes
Synopsis
Upgrade Kubernets control plane and worker nodes
The phases are run in the sequence: ‘facts’, ‘apply’, ‘node’ and then ‘kubelet’
Parameters
Parameter |
Comments |
---|---|
kubeadm components patches directory. Default: |
|
Determines the kubeadm command/phase to run.
Consult the kubeadm documentation for more information. Choices:
|
|
A tasks file to execute before upgrading the kubelet. For example, you could upgrade the CR or the OS. |