Reprovision a Kubernetes Node
You may need to reprovision a failed Kubernetes Node. When reprovisioning
a Kubernetes Node, you can not update some of the configuration
data:
- Hostname and FQDN - because it breaks Calico.
- Node role - for example, from Kubernetes Master to Node role.
However, you can use the kubectl label node command
to reset a node labels later.
You can change the following information:
- Host IP(s)
- MAC addresses
- Operating system
- Application certificates
Caution
All Master nodes must serve the same apiserver
certificate. Otherwise, service tokens will become
invalidated.
To reprovision a Kubernetes Node:
- In the MAAS web UI, make the required changes to the target
Kubernetes Node.
- Verify that MAAS works properly and provides the DHCP service to
assign IP addresses and bootstrap an instance.
- Proceed with the Add a Kubernetes Node manually procedure starting the step 2.