Configure namespaces to implement logical isolation between applications. A Deployment must belong to a namespace.
To create a namespace:
On the top navigation bar, click Cloud Services, and then select Multi-Cloud Container Management from the Container Service menu.
From the left navigation pane, select Resource Management > Namespaces.
Select a main cluster instance on the top of the page, and then click Create.
Configure the parameters as described in "Parameters."
Click OK.
|
Parameter |
Description |
|
Namespace |
Enter a name for the namespace. |
|
Label Name |
Enter a label name. Configure labels for a namespace to facilitate query. |
|
Value |
Enter a label value. |
|
Description |
Enter a description for the namespace. |
After creating a main cluster instance and incorporate member clusters to the instance, you can deploy container applications on the following pages:
Business Apps > App Management > Applications. For more information, see the business application guide.
Cloud Services > Multi-Cloud Container Management > Workload > Deployments.
To deploy an application on the Deployments page:
On the top navigation bar, click Cloud Services, and then select Multi-Cloud Container Management from the Container Service menu.
From the left navigation pane, select Workload > Deployments.
Click Create.
Configure the parameters as described in "Parameters."
Click OK.
|
Parameter |
Description |
|
Name |
Enter a name for the Deployment, a string of 1 to 39 characters. Valid characters include lower-case letters, digits, and hyphens (-). The name must start with a lower-case letter and must end with a lower-case letter or digit. |
|
Description |
Enter a description for the Deployment. |
|
Namespace |
Select a namespace for the Deployment, or click Create Namespace to create a new namespace. |
|
Clusters |
Select clusters. Make sure the clusters already exist. |
|
Backup Clusters |
Select backup clusters. When the primary clusters fail, the backup clusters will take over to provide services. Make sure the selected clusters already exist. You can select backup clusters only when the failover feature is enabled for the main cluster instance. |
|
Image Installation Package |
Select the type of the repository where the image or application package resides. Click Select Installation Package to select an application package or image name and the target version. To upload images or application packages, click Upload Image. For more information, see Upload an image or Upload an application package. |
|
Environment Variables |
Configure environment variables to facilitate container configuration change. A user-defined environment variable cannot be the same as system-defined environment variables. System-defined environment variables include:
To add a user-defined environment variable, you can only manually specify the variable name and value. You can click Add to add multiple variables. To add multiple variables at a time, click Bulk Add, enter the variable names and values in the window that opens, and then click OK. |
|
Container Flavor |
Configure startup and operation limits for the container. For a parameter, the startup limit value must be smaller than the operation limit value.
|
|
Differential Policy |
When multiple member clusters exist, you can configure differential policies to enable the Deployment to use different image versions and environment variables on in different member clusters. |