Updated on 2024-11-12 GMT+08:00

Key Node Commands

Check Items

Whether some key commands that the node upgrade depends on are working

Solution

  • Scenario 1: Executing the package manager command failed.

    Executing the rpm or dpkg command failed. In this case, log in to the affected node and check whether the following commands are available:

    rpm -qa
    If the preceding command is unavailable, run the following command:
    rpm --rebuilddb
  • Scenario 2: The systemctl status command fails to be executed.

    If the systemctl status command on a node is unavailable, many check items will be affected. Log in to the node and check the availability of the following commands:

    systemctl status kubelet

    If the fault persists, reset the node. For details, see Resetting a Node.