Mirantis Container Cloud (MCC) becomes part of Mirantis OpenStack for Kubernetes (MOSK)!
Starting with MOSK 25.2, the MOSK documentation set covers all product layers, including MOSK management (formerly Container Cloud). This means everything you need is in one place. Some legacy names may remain in the code and documentation and will be updated in future releases. The separate Container Cloud documentation site will be retired, so please update your bookmarks for continued easy access to the latest content.
Enable maintenance mode on a cluster and machine using management console¶
You can use the instructions below to enable maintenance mode on a cluster and machine using the MOSK management console. To enable maintenance mode using the MOSK management API, refer to Enable maintenance mode on a cluster and machine using CLI.
Caution
To enable maintenance mode on a machine, first enable maintenance mode on the related cluster.
To disable maintenance mode on a cluster, first disable maintenance mode on all machines of the cluster.
Warning
During cluster and machine maintenance:
Cluster upgrades and configuration changes (except of the SSH keys setting) are unavailable. Make sure you disable maintenance mode on the cluster after maintenance is complete.
Data load balancing is disabled while Ceph is in maintenance mode.
Workloads are not affected.
Enable maintenance mode on a cluster and machine¶
Log in to the MOSK management console with the
m:kaas:namespace@operator
orm:kaas:namespace@writer
permissions.Enable maintenance mode on the cluster:
In the Clusters tab, click the More action icon in the last column of the cluster you want to put into maintenance mode and select Enter maintenance. Confirm your selection.
Wait until the Status of the cluster switches to Maintenance.
Now, you can switch cluster machines to maintenance mode.
Caution
Due to the known issue 53886, you can only move controller machines into maintenance mode using the web UI. For worker nodes, use the API as described in Enable maintenance mode on a cluster and machine using CLI.
In the Clusters tab, click the required cluster name to open the list of machines running on it.
In the Maintenance column of the machine you want to put into maintenance mode, enable the toggle switch.
Wait until the machine Status switches to Maintenance.
Once done, the node of the selected machine is cordoned, drained, and prepared for maintenance operations.
Important
Proceed with the node maintenance only after the machine Status switches to Maintenance.
Disable maintenance mode on a cluster and machine¶
Log in to the MOSK management console with the
m:kaas:namespace@operator
orm:kaas:namespace@writer
permissions.In the Clusters tab, click the required cluster name to open its machines list.
In the Maintenance column of the machine you want to disable maintenance mode, disable the toggle switch.
Wait until the machine Status does not display Maintenance, Pending maintenance, or the progress indicator.
Repeat the above steps for all machines that are in maintenance mode.
Disable maintenance mode on the related cluster:
In the Clusters tab, click the More action icon in the last column of the cluster where you want to disable maintenance mode and select Exit maintenance.
Wait until the cluster Status does not display Maintenance, Pending maintenance, or the progress indicator.