- Documentation
Code Pipeline
User guide
Application delivery (K8s YAML and OAM)
Deployment, operations, and maintenance
K8s YAML application deployment
Deployment, operations, and maintenance
K8s YAML application deployment
K8s YAML application deployment
After completing or updating application orchestration and environment configuration, quickly deploy the application to development, testing, or pre-release environments so that it can be validated in an agile manner. This article introduces how to deploy a K8s YAML application to the target environment.
Prerequisites
Procedure
- Log in to the current application
- In the left navigation bar, select workspace.
- Click the name of the target workspace to enter that workspace.
- In the left navigation bar, select Application Delivery > Application Management.
- Click the target application card to open the selected application.
- Click environment to switch to the environment tab.
- On the environment page of the current application, select the target environment card and click Deploy now.
- On the Deploy Now page, enter the required deployment configuration for the application.
- Click OK to navigate to the Change Log tab for the current environment, where the details of this deployment are displayed. For more details, see Observing the deployment process.
Operation results
After the environment is successfully deployed, you can view the real-time status of Deployment and Service resources in the Component List on the Basic Information tab of the current environment.
- Display the name, status, list of instances, and other information for Deployment resources.
- View YAML: Click YAML to view the deployment YAML for the Deployment resource.
- View logs: Click Log to view the real-time logs of the instance.
- To view events: Click Event to view event information for the instance from the past hour.
- Log in to an instance: Click ··· > Console to log in to the instance. You can execute the corresponding command-line actions for fine-grained debugging of the instance.
- Displays the name, type, cluster IP, internal endpoint, and external endpoint of the Service resource.
- View YAML: Click Yaml to view the Service resource deployment YAML.
What to do next
If you want to expose the application to external access, you need to create a Service (of the NodePort or LoadBalancer type) and Ingress resources for the application after it has been successfully deployed. If the application is deployed on a Container Service VKE cluster, see Service and Ingress for related actions.
Last updated: 2025.09.10 17:37:26