Renew the Container Cloud and MKE licenses

When your Mirantis Container Cloud expires, contact you account manager to request a new license by submitting a ticket through the Mirantis CloudCare Portal. If your trial license has expired, contact Mirantis support for further information. Once you obtain a new mirantis.lic file, update Container Cloud along with MKE clusters using the instructions below.

Warning

During the Container Cloud license update:

  • Each machine in each cluster will get cordoned and drained, then the upgrade procedure will run on it, and then the machine will be uncordoned.

  • All user workloads are interrupted and migrated to other nodes.

  • The license update triggers the upgrade procedure on all Container Cloud clusters without changing versions of any components.

Update the Container Cloud license

Update the license secret in the kaas namespace by setting data.license to the contents of the new license file:

kubectl --kubeconfig <pathToMgmtClusterKubeconfig> -n kaas \
patch secret license -p "{\"data\":{\"license\":\"$(base64 < mirantis.lic)\"}}"

The updated license becomes available for the Container Cloud operations immediately, and update of all Container Cloud clusters is triggered within several minutes.

The MKE clusters managed by Container Cloud are not updated automatically. Therefore, update the license manually for each MKE management, regional, and managed cluster using the MKE web UI as described below.

Update the MKE license

  1. Log in to the MKE web UI as admin. An admin password is located in the regional cluster secret ucp-admin-password-<cluster_name>.

  2. In the Lockdown section, enable BYPASS.

  3. Navigate to admin > Admin Settings > License.

  4. Click Upload License and upload your new mirantis.lic file.

  5. In the Lockdown section, disable BYPASS.