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.
You can use the MOSK management API to restart a bare metal
host in Mirantis OpenStack for Kubernetes clusters. The workflow of the host restart
is as follows:
Set the maintenance mode on the cluster that contains the target node.
Set the maintenance mode on the target node for OpenStack and
MOSK to drain it from workloads. No new workloads will
be provisioned to a host in the maintenance mode.
Use the bare metal host object to initiate a hard reboot of the bare metal
server that hosts the node.
To restart a bare metal host:
Using kubeconfig of the MOSK management cluster,
access the MOSK management API and open the Cluster
object for editing:
kubectl-n<project-name>editcluster<cluster-name>
Add the following field to the spec section to set the maintenance mode
on the cluster:
spec:providerSpec:value:maintenance:true
Verify that the Cluster object status for Maintenance is
ready:true:
While the Cluster release of the management cluster is 16.4.0,
BareMetalHostInventory operations are allowed to
m:kaas@management-admin only. This limitation is lifted once the
management cluster is updated to the Cluster release 16.4.1 or later.
Before the management cluster update to 16.4.0 (MCC 2.29.0)