How Do I Pause and Resume a Workload on the CCE Console? How Do I Restart a Container?
Pausing and Resuming a Workload
On the CCE console, choose More > Pause in the Operation column at the same row as the target workload to pause it.
- After a workload is paused, updates to the workload can be delivered but will not be applied to the pods inside it.
- If you are performing a rolling upgrade, the rolling upgrade stops after the pause command is delivered. In this case, the new and old pods co-exist. During the period when a workload is paused, pods in this workload are still running.
When a workload is in the Paused state, you can choose More > Resume in the Operation column to resume it. After the workload is resumed, pods in the workload will be synchronized with the latest status of the workload.
Restarting a Container
To restart a pod, you can delete the pod on the workload details page. The pod will be restarted by the corresponding controller.
If you want to retain the workload, you can manually change the number of pods to 0 on the Scaling tab page. In this case, no pod is running in the workload.
If you do not need to retain the workload, you can delete it.
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.