Updated on 2025-07-03 GMT+08:00

Deploying an Application in Kubernetes (CCE Cluster) Using Manifest

This section introduces how to deploy an application in a Huawei Cloud CCE cluster with manifest file defining Kubernetes objects.

Prerequisites

A CCE cluster is available.

Procedure

Table 1 Parameters

Parameter

Description

Action Name

This parameter is mandatory. After the action name is added, it will be displayed in the Deployment Actions orchestration area.
NOTE:

The action name can contain 1 to 128 characters, including letters, digits, hyphens (-), underscores (_), commas (,), semicolons (;), colons (:), slashes (/), parentheses, and spaces. However, it cannot start or end with a space.

Manifest File Source

This parameter is mandatory. Artifact, Repo, or obs can be selected.

Manifest File

This parameter is mandatory.

  • If the Manifest File Source is Artifact or OBS, select the Manifest Files to be deployed. Files must be suffixed with .yaml, .yml, or .json.

    Click . On the file selection page that is displayed, select a Manifest File to be deployed in Artifact. By default, the project cannot be changed. You can search for the manifest file by keyword or upload the local manifest file to the repository, click , refresh the repository file, and select a manifest file. Click .

  • If the Manifest File Source is Repo, enter file name suffixed with .yaml, .yml, or .json, and click to edit the file.

Tenant

This parameter is mandatory. There are two options:

  • Current: The software package is deployed in the CCE cluster of the current tenant for release.

    Select Current. The current tenant must have the CCE cluster operation permission. If the current tenant does not have the CCE cluster operation permission, select IAM authorization for deployment.

  • Other: The software package is deployed and published in the CCE cluster of another tenant in IAM authorization mode.

    If you select Other, you must select an authorized tenant to deploy the CCE cluster.

NOTE:

You are advised to configure the AK/SK of a member account that has the CCE cluster operation permission and not advised to configure the AK/SK of a tenant account.

IAM authorization

This parameter is optional. If you do not have the permission to execute an API, this parameter enables you to obtain the temporary AK/SK of the parent user to execute the CCE API through IAM.

Region

Select the region to be deployed.

Cluster Name

Select the Kubernetes cluster applied for on CCE.

Namespace

Select the namespace of the Kubernetes cluster on CCE.

Action Control

Continue the task even if this action fails.

Overtime

Maximum execution duration of an action, in minutes. If the task duration exceeds the specified time before you stop the application, the action will be timed out. Value range: 1–30

Online Manifest File Editing

When File Source is set to Repo, you can edit the manifest file online. Click the icon next to Manifest File to go to the online editing page.

To modify the manifest file in CodeArts Repo, you must have the corresponding member permissions. For details, see section Repository Member Permission of CodeArts Repo.

  • Click the icon to perform basic syntax verification on the content of the manifest file to better optimize your code.
  • Click the icon to optimize the manifest file format.
  • Click the icon to copy all manifest file content.
  • Click the icon to display the content of the manifest file in full screen to better browse the code.