Update the hostname using the hostnamectl
command:
sudo hostnamectl set-hostname NEW_HOSTNAME
Edit the file manually:
MicroK8s provides an easy way to create lightweight Kubernetes clusters. This guide explains how to join a new node as a worker in an existing MicroK8s cluster using the --worker
flag.
Run the following command to generate a join token:
Nodes in the Kubernetes cluster may remain in an "Unhealthy" state on the control plane/master node after they are restarted.
This problem occurs because the nf_conntrack
module, which is essential for network connection tracking, is not automatically loaded on reboot.
To ensure nodes reconnect properly after a restart, you need to make sure the nf_conntrack
module is loaded at boot on all workers nodes thought this command;
If you encounter missing network drivers when installing Ubuntu on new machines, you might notice that network cards are listed as (UNCLAIMED)
when you execute the command:
lshw -c network
This indicates that your device requires Hardware Enablement (HWE).