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.
ClusterUpdatePlan resource¶
TechPreview since 24.2 GA since management cluster update to 2.30.0
This section describes the ClusterUpdatePlan custom resource (CR) used in
the management API to granularly control update process of a
MOSK cluster by stopping the update after each step.
The ClusterUpdatePlan CR contains the following fields:
apiVersionAPI version of the object that is
kaas.mirantis.com/v1alpha1.
kindObject type that is
ClusterUpdatePlan.
metadataMetadata of the
ClusterUpdatePlanCR that contains the following fields:nameName of the
ClusterUpdatePlanobject.
namespaceProject name of the cluster that relates to
ClusterUpdatePlan.
specSpecification of the
ClusterUpdatePlanCR that contains the following fields:sourceSource name of the Cluster release from which the cluster is updated.
targetTarget name of the Cluster release to which the cluster is updated.
clusterName of the cluster for which
ClusterUpdatePlanis created.
releaseNotesAvailable since MOSK 25.1. Link to MOSK release notes of the
targetrelease.
stepsList of update steps, where each step contains the following fields:
idAvailable since Container Cloud 2.28.0 (Cluster release 17.3.0). Step ID.
nameStep name.
descriptionStep description.
constraintsDescription of constraints applied during the step execution.
impactImpact of the step on the cluster functionality and workloads. Contains the following fields:
usersImpact on the user operations. Possible values:
none,major, orminor.
workloadsImpact on workloads. Possible values:
none,major, orminor.
infoAdditional details on impact, if any.
durationDetails about duration of the step execution. Contains the following fields:
estimatedEstimated time to complete the update step.
Note
Before MOSK 25.1, this field was named
eta.
infoAdditional details on update duration, if any.
granularityInformation on the current step granularity. Indicates whether the current step is applied to each machine individually or to the entire cluster at once. Possible values are
clusterormachine.
commenceFlag that allows controlling the step execution. Boolean,
falseby default. If set totrue, the step starts execution after all previous steps are completed.Caution
Cancelling an already started update step is unsupported.
statusStatus of the
ClusterUpdatePlanCR that contains the following fields:startedAtTime when
ClusterUpdatePlanhas started.
completedAtAvailable since MOSK 25.1. Time of update completion.
statusOverall object status.
stepsList of step statuses in the same order as defined in
spec. Each step status contains the following fields:idAvailable since Container Cloud 2.28.0 (Cluster release 17.3.0). Step ID.
nameStep name.
statusStep status. Possible values are:
NotStartedStep has not started yet.
ScheduledAvailable since Container Cloud 2.28.0 (Cluster release 17.3.0). Step is already triggered but its execution has not started yet.
InProgressStep is currently in progress.
AutoPausedAvailable since MOSK 25.1 as Technology Preview. Update is automatically paused by the trigger from a firing alert defined in the
UpdateAutoPauseconfiguration. For details, see UpdateAutoPause resource.
StuckStep execution contains an issue, which also indicates that the step does not fit into the estimate defined in the
durationfield for this step inspec.
CompletedStep has been completed.
messageMessage describing status details of the current update step.
durationCurrent duration of the step execution.
startedAtStart time of the step execution.
Example of a ClusterUpdatePlan object:
apiVersion: kaas.mirantis.com/v1alpha1
kind: ClusterUpdatePlan
metadata:
creationTimestamp: "2025-02-06T16:53:51Z"
generation: 11
name: mosk-17.4.0
namespace: child
resourceVersion: "6072567"
uid: 82c072be-1dc5-43dd-b8cf-bc643206d563
spec:
cluster: mosk
releaseNotes: https://docs.mirantis.com/mosk/latest/25.1-series.html
source: mosk-17-3-0-24-3
steps:
- commence: true
description:
- install new version of OpenStack and Tungsten Fabric life cycle management
modules
- OpenStack and Tungsten Fabric container images pre-cached
- OpenStack and Tungsten Fabric control plane components restarted in parallel
duration:
estimated: 1h30m0s
info:
- 15 minutes to cache the images and update the life cycle management modules
- 1h to restart the components
granularity: cluster
id: openstack
impact:
info:
- some of the running cloud operations may fail due to restart of API services
and schedulers
- DNS might be affected
users: minor
workloads: minor
name: Update OpenStack and Tungsten Fabric
- commence: true
description:
- Ceph version update
- restart Ceph monitor, manager, object gateway (radosgw), and metadata services
- restart OSD services node-by-node, or rack-by-rack depending on the cluster
configuration
duration:
estimated: 8m30s
info:
- 15 minutes for the Ceph version update
- around 40 minutes to update Ceph cluster of 30 nodes
granularity: cluster
id: ceph
impact:
info:
- 'minor unavailability of object storage APIs: S3/Swift'
- workloads may experience IO performance degradation for the virtual storage
devices backed by Ceph
users: minor
workloads: minor
name: Update Ceph
- commence: true
description:
- new host OS kernel and packages get installed
- host OS configuration re-applied
- container runtime version gets bumped
- new versions of Kubernetes components installed
duration:
estimated: 1h40m0s
info:
- about 20 minutes to update host OS per a Kubernetes controller, nodes updated
one-by-one
- Kubernetes components update takes about 40 minutes, all nodes in parallel
granularity: cluster
id: k8s-controllers
impact:
users: none
workloads: none
name: Update host OS and Kubernetes components on master nodes
- commence: true
description:
- new host OS kernel and packages get installed
- host OS configuration re-applied
- container runtime version gets bumped
- new versions of Kubernetes components installed
- data plane components (Open vSwitch and Neutron L3 agents, TF agents and vrouter)
restarted on gateway and compute nodes
- storage nodes put to “no-out” mode to prevent rebalancing
- by default, nodes are updated one-by-one, a node group can be configured to
update several nodes in parallel
duration:
estimated: 8h0m0s
info:
- host OS update - up to 15 minutes per node (not including host OS configuration
modules)
- Kubernetes components update - up to 15 minutes per node
- OpenStack controllers and gateways updated one-by-one
- nodes hosting Ceph OSD, monitor, manager, metadata, object gateway (radosgw)
services updated one-by-one
granularity: machine
id: k8s-workers-vdrok-child-default
impact:
info:
- 'OpenStack controller nodes: some running OpenStack operations might not
complete due to restart of components'
- 'OpenStack compute nodes: minor loss of the East-West connectivity with
the Open vSwitch networking back end that causes approximately 5 min of
downtime'
- 'OpenStack gateway nodes: minor loss of the North-South connectivity with
the Open vSwitch networking back end: a non-distributed HA virtual router
needs up to 1 minute to fail over; a non-distributed and non-HA virtual
router failover time depends on many factors and may take up to 10 minutes'
users: major
workloads: major
name: Update host OS and Kubernetes components on worker nodes, group vdrok-child-default
- commence: true
description:
- restart of StackLight, MetalLB services
- restart of auxiliary controllers and charts
duration:
estimated: 1h30m0s
granularity: cluster
id: mcc-components
impact:
info:
- minor cloud API downtime due restart of MetalLB components
users: minor
workloads: none
name: Auxiliary components update
target: mosk-17-4-0-25-1
status:
completedAt: "2025-02-07T19:24:51Z"
startedAt: "2025-02-07T17:07:02Z"
status: Completed
steps:
- duration: 26m36.355605528s
id: openstack
message: Ready
name: Update OpenStack and Tungsten Fabric
startedAt: "2025-02-07T17:07:02Z"
status: Completed
- duration: 6m1.124356485s
id: ceph
message: Ready
name: Update Ceph
startedAt: "2025-02-07T17:33:38Z"
status: Completed
- duration: 24m3.151554465s
id: k8s-controllers
message: Ready
name: Update host OS and Kubernetes components on master nodes
startedAt: "2025-02-07T17:39:39Z"
status: Completed
- duration: 1h19m9.359184228s
id: k8s-workers-vdrok-child-default
message: Ready
name: Update host OS and Kubernetes components on worker nodes, group vdrok-child-default
startedAt: "2025-02-07T18:03:42Z"
status: Completed
- duration: 2m0.772243006s
id: mcc-components
message: Ready
name: Auxiliary components update
startedAt: "2025-02-07T19:22:51Z"
status: Completed