This directory contains the OpenChoreo platform resources for building and deploying WSO2 Micro Integrator projects from source. Apply these once per cluster before deploying any MI component.
| File | Kind | Description |
|---|---|---|
micro-integrator.yaml |
ClusterComponentType |
Defines the deployment/micro-integrator component type |
micro-integrator-builder.yaml |
ClusterWorkflow |
Build pipeline: checkout → build → publish → generate workload |
micro-integrator-build.yaml |
ClusterWorkflowTemplate |
Argo template: compiles the Maven project and packages the .car into wso2/wso2mi |
kubectl apply \
-f micro-integrator-build.yaml \
-f micro-integrator-builder.yaml \
-f micro-integrator.yaml- checkout-source — clones the Git repository at the specified branch/commit.
- build-image — detects the MI version from
project.runtime.versioninpom.xml(defaults to4.4.0), runsmvn clean install, copies the.carintowso2/wso2mi:<version>from Docker Hub. - publish-image — pushes the image to the in-cluster registry.
- generate-workload — creates a
WorkloadCR with the built image.
1.1.0 · 1.2.0 · 4.0.0 · 4.1.0 · 4.2.0 · 4.3.0 · 4.4.0 · 4.5.0
- A
pom.xmlat theappPathroot. - Maven build must produce at least one
.carfile. - Optionally place
libs/,dropins/, ordeployment.tomlalongsidepom.xmlto customise the MI installation.
The deployment/micro-integrator component type exposes these per-environment settings:
| Parameter | Default | Description |
|---|---|---|
replicas |
1 |
Number of pod replicas |
resources.requests.cpu |
500m |
CPU request |
resources.requests.memory |
1Gi |
Memory request |
imagePullPolicy |
IfNotPresent |
Kubernetes image pull policy |
mode |
DEFAULT |
DEFAULT runs as a long-lived server; TASK runs a single CAR and exits |
carFile |
"" |
CAR file passed to --car when mode=TASK |
