How-to
In this section, it will introduce how to use raw K8s Object to declare app components via ComponentDefinition
.
Before reading this part, please make sure you’ve learned the definition and template concepts.
In detail, the .spec.schematic.kube
contains template of a workload resource and configurable parameters.
.spec.schematic.kube.template
is the raw template in YAML format.
Declare an Application
Here is an example Application
.
Deploy the Application
and verify the running workload instance.
And check the parameter works.