Help Center/ Cloud Container Engine/ User Guide/ Clusters/ Upgrading a Cluster/ Troubleshooting for Pre-upgrade Check Exceptions/ Drainage Tasks
Updated on 2025-04-27 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
- Configure the kubectl command. For details, see Accessing a Cluster Using kubectl.
- Check if there are any drainage tasks in progress.
kubectl get drainage
Figure 1 An in-progress drainage task
Delete the drainage resources and perform the pre-upgrade check again.
- Run the following command to delete a drainage task:
kubectl delete drainage {Name of the drainage task}
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.