Creating applications from YAML
If you are proficient in YAML syntax and prefer to define configurations outside of forms or pre-defined templates, you can choose the one-click YAML creation method. This approach offers more flexible configuration of basic information and resources for your cloud-native application.
TOC
Precautions
When both Linux and Windows nodes exist in the cluster, to prevent scheduling the application on incompatible nodes, you must configure node selection. For example:
Prerequisites
Ensure the images defined in the YAML can be pulled within the current cluster. You can verify this using the docker pull command.
Procedure
-
Container Platform, and navigate to Application > Applications.
-
Click Create.
-
Select the Create from YAML.
-
Complete the configuration and click Create.
-
The corresponding Deployment can be viewed on the Details page.