Deploying an Application in Kubernetes (CCE Cluster) Using Manifest
This section introduces how to deploy an application in a Huawei Cloud CCE cluster with YAML file defining Kubernetes objects.
Prerequisites
A CCE cluster is available.
Procedure
Parameter |
Description |
---|---|
Action Name |
Name of an action displayed in the deployment actions area. |
File Source |
Select the source of the YAML file to be deployed: Artifact, Repo, or OBS. Visit the Kubernetes official website to learn about YAML files. |
YAML file/Folder |
Select the target YAML file or folder to be deployed. |
Tenant |
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. |
Authorized User |
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 for deployment. |
Cluster Name |
Select the Kubernetes cluster applied on CCE. |
Namespace |
Select the namespace of the Kubernetes cluster on CCE. |
Control Options |
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 |
Editing YAML Online
When File Source is set to Repo, you can edit YAML online. Click the icon next to YAML File Path to go to the online editing page.
![](https://support.huaweicloud.com/eu/usermanual-deployman/public_sys-resources/note_3.0-en-us.png)
To modify the YAML file in 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 YAML file to better optimize your code.
- Click the
icon to optimize the YAML file format.
- Click the
icon to copy the content of the YAML file.
- Click the
icon to display the content of the YAML file in full screen to better browse the code.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.