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.
License resource¶
This section describes the License custom resource (CR)
to maintain the MOSK license data.
Warning
The kubectl apply command automatically saves the
applied data as plain text into the
kubectl.kubernetes.io/last-applied-configuration annotation of the
corresponding object. This may result in revealing sensitive data in this
annotation when creating or modifying the object.
Therefore, do not use kubectl apply on this object. Use kubectl create, kubectl patch, or kubectl edit instead.
If you used kubectl apply on this object, you
can remove the kubectl.kubernetes.io/last-applied-configuration
annotation from the object using kubectl edit.
The License CR contains the following fields:
apiVersionThe API version of the object that is
kaas.mirantis.com/v1alpha1.
kindThe object type that is
License.
metadataThe
metadataobject field of theLicenseresource contains the following fields:nameThe name of the
Licenseobject, must belicense.
specThe
specobject field of theLicenseresource contains the Secret reference where license data is stored.licensesecretThe Secret reference where the license data is stored.
keyThe name of a key in the license Secret
datafield under which the license data is stored.
nameThe name of the Secret where the license data is stored.
valueThe value of the updated license. If you need to update the license, place it under this field. The new license data will be placed to the Secret and
valuewill be cleaned.
statuscustomerIDThe unique ID of a customer generated during the license issuance.
instanceThe unique ID of the current MOSK instance.
devThe license is for development.
openstackThe license limits for MOSK clusters:
clustersThe maximum number of MOSK clusters to be deployed. If the field is absent, the number of deployments is unlimited.
workersPerClusterThe maximum number of workers per MOSK cluster to be created. If the field is absent, the number of workers is unlimited.
expirationTimeThe license expiration time in the ISO 8601 format.
expiredThe license expiration state. If the value is
true, the license has expired. If the field is absent, the license is valid.
Configuration example of the status fields:
status:
 customerID: "auth0|5dd501e54138450d337bc356"
 instance: 7589b5c3-57c5-4e64-96a0-30467189ae2b
 dev: true
 limits:
   clusters: 3
   workersPerCluster: 5
 expirationTime: 2028-11-28T23:00:00Z