Dry Run
The dry run is a very useful way to check the application configuration and the definitions. The dry run will render the application and print the output resources that check passed on the service side. If the definitions(component, trait) is invalid, the dry run will print the error message.
When you do the following things please must pass dry run.
There is a simple application:
The outputs:
If we set the expose field of the port as false, the output resources do not include the . If we set the replicas field as “1”, the output will be an error message:
This means the replicas field is int type but we provide a string value, this application configuration is not valid.
More use cases refer to the Dry run command
Clicking the button to open the workflow selector dialog. You could select a workflow(every workflow corresponding to an environment) and click the button to execute a dry run. If passed, the result is like this
The result report is different from the CLI, there is a complete application configuration that is generated from the application metadata, you could check it. Different environments may have different application configurations.
Last updated on 2022年12月1日 by Somefive