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.
Test a custom or MOSK module after creation¶
Available since MCC 2.26.0 (17.1.0 and 16.1.0) TechPreview
Important
The cloud operator takes all risks and responsibility for module execution on cluster machines. For any questions, contact Mirantis support.
After you create a custom or configure a MOSK module, verify it on one machine before applying it to all target machines. This approach ensures safe and reliable cluster operability.
To test a module:
Add a custom label to one
Machineobject:kubectl edit machine master-0
apiVersion: cluster.k8s.io/v1alpha1 kind: Machine metadata: ... labels: ... day2-module-testing-example: "true" name: master-0 namespace: default ...
Create the
HostOSConfigurationobject withmachineSelectorfor that custom label. For example:apiVersion: kaas.mirantis.com/v1alpha1 kind: HostOSConfiguration metadata: name: day2-test namespace: default spec: ... machineSelector: matchLabels: day2-module-testing-example: "true"
Verify that the
statusfield of modules execution is healthy, validate logs, and verify that the machine is in thereadystate.If the execution result meets your expectations, continue applying
HostOSConfigurationon other machines using one of the following options:Use the same
HostOSConfigurationobject:Change the
matchLabelsvalue in themachineSelectorfield to match all target machines.Assign the labels from the
matchLabelsvalue to other target machines.
Create a new
HostOSConfigurationobject.
Note
Mirantis highly recommends using specific custom labels on machines
and in the HostOSConfiguration selector, so that HostOSConfiguration
is applied only to the machines with the specific custom label.