Updated on 2024-09-30 GMT+08:00

Drainage Tasks

Check Items

An unfinished drainage task is detected in the cluster, which may resume after the upgrade. If this happens, running pods will be evicted, which could impact your services.

Solution

  1. Configure the kubectl command. For details, see Connecting to a Cluster Using kubectl.
  2. Check if there are any drainage tasks in progress.

    Figure 1 An in-progress drainage task

    If you do not need to drain the node, delete the drainage resources. This will trigger the pre-upgrade check again.