- Home
- Getting started
- Licensing MKE 4
- Set your license in the configuration
Set your license in the configuration#
Warning
You must have a valid license to lawfully run MKE 4. For more information, refer to Mirantis Agreements and Terms.
Note
For information on how to license an MKE 4 child cluster, refer to Set a child cluster license with a Secret.
To ensure that your MKE 4 management cluster is licensed upon installation:
-
Insert the license into
spec.license.tokenin themke4.yamlconfiguration file:spec: license: token: <your-license-file> -
Apply the license:
mkectl apply -
Check the license status:
kubectl -n mke get mkeconfig mke -ojsonpath="{.status.licenseStatus}" | jqExample output:
{ "expiration": "2027-10-10T07:00:00Z", "licenseType": "Offline", "maxEngines": 10, "scanningEnabled": true, "subject": "example", "tier": "Production" }