我要评分
获取效率
正确性
完整性
易理解

Kubernetes Cluster Node Not Ready

Symptom

The node is not ready after being added to the cluster or is not ready after being restarted.

Key Process and Cause Analysis

The swap in /etc/fstab is commented out but does not take effect.

Conclusion and Solution

Run the systemctl command to disable the swap partition.

  1. Check the service corresponding to the swap partition.
    systemctl | grep swap

  2. Disable the swap partition.
    systemctl mask dev-sda4.swap

  3. Restart the system.
    reboot