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.
Create initial users after a management cluster bootstrap¶
Once you bootstrap your management cluster, create Keycloak users for access to the MOSK management console.
Mirantis recommends creating at least two users, user
and operator
,
that are required for a typical MOSK deployment.
To create the user for access to the MOSK management console:
./container-cloud bootstrap user add \
--username <userName> \
--roles <roleName> \
--kubeconfig <pathToMgmtKubeconfig>
Note
You will be asked for the user password interactively.
Flag |
Description |
---|---|
|
Required. Name of the user to create. |
|
Required. Comma-separated list of roles to assign to the user.
|
|
Required. Path to the management cluster |
|
Optional. Name of the MOSK management project where the user will be created. If not set, a global user will be created for all MOSK management projects with the corresponding role access to view or manage all public objects. |
|
Optional. Flag to provide the user password through echo '$PASSWORD' | ./container-cloud bootstrap user add \
--username <userName> \
--roles <roleName> \
--kubeconfig <pathToMgmtKubeconfig> \
--password-stdin
|
To delete the user:
./container-cloud bootstrap user delete --username <userName> --kubeconfig <pathToMgmtKubeconfig>