Image Repository
An image repository is provided by SoftWare Repository for Container (SWR) for you to easily store, manage, and deploy container images.
- If you use a HUAWEI CLOUD image, upload the image first. For details, see Uploading an Image Through a Container Engine Client.
- To use a third-party image, you can configure it in the Customize Cluster Configurations step during Deployment creation. For details, see Using Third-Party Images.
Using HUAWEI CLOUD Images
You can use HUAWEI CLOUD images for clusters added on MCP (including other cloud clusters). When creating a Deployment, you can choose images from My Images. This section describes how to use an image when creating a Deployment named game.
- Log in to the MCP console. In the navigation pane, choose Workloads > Deployments. On the page displayed, click Create Deployment.
- Set the following parameters and retain the default values for other parameters:
- Workload Name: Set it to game.
- Cluster: Select the cluster in which the application is to run.
- Click Next to add a container.
Click Add Container. On the My Images tab page, select a pushed image and click OK.
If multiple clusters are deployed, you can customize configurations for these clusters when adding a container, or replace the image of a certain cluster.
- Complete the Deployment creation by referring to Deployments.
Using Third-Party Images
You can use a third-party image for the clusters (including HUAWEI CLOUD clusters) added on MCP. Select Customized Configuration next to Container Settings of the Customize Cluster Configurations step when creating a Deployment. This section describes how to use a third-party image when creating a Deployment named game.
- Log in to the MCP console. In the navigation pane, choose Workloads > Deployments. On the page displayed, click Create Deployment.
- Set the following parameters and retain the default values for other parameters:
- Workload Name: Set it to game.
- Cluster: Select the cluster in which the application is to run.
- Click Next to add a container.
- Complete the Deployment creation by referring to Deployments.
Last Article: Installing Prometheus Adapter
Next Article: Cluster Console
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.