kubernetes.adm.reset role – Remove node from 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.reset
.
Entry point main
– Remove node from cluster
Synopsis
Remove the node from the cluster.
It’s recommended to set the
joined_control_plane_node
variable. When not set, the node will not be removed from the API server. In other words, runningkubectl get nodes
will show the removed node with Unknown status.
Parameters
Parameter |
Comments |
---|---|
Tasks file for removing Kubernetes packages. Default: |