About
This project leads you to build and push a Docker image to the private or public Docker registry with the given registry credentials, target repository name and the target repository tag. Also, this will create the integration_cr.yaml file, which is required for the Native Kubernetes Deployment with Kubernetes EI Operator.
You can change the Docker image name by changing the Target Repository value and Target Tag value as desired.
If you want to pack multiple Composite Application projects (CApps) inside the Docker image, you can select multiple CApps, which are listed in the Dependencies section.
-
Libs Directory
- This directory contains the JAR files that are packed with the Docker image during the build. These JARs are copied to the wso2carbon/wso2mi/lib/ path while building. Uncomment the following command in Dockerfile once you add any JARs here.
#COPY Libs/*.jar /home/wso2carbon/wso2mi/lib/ -
deployment.toml File
- Update the deployment.toml file if you want to change the configurations of the Micro Integrator.
-
integration_cr.yaml file
- This file is used to configure the Kubernetes Integration deployment
-
Dockerfile
- This file is used to build the Docker image.
-
pom.xml file
- This file facilitates the process of changing the Docker image name, add or remove CApps, and build the Docker image.
Open the pom.xml file and click the Build & Push button in the top right corner. Then enter the Docker registry credentials.
Right click on the Kubernetes Exporter project and select the Build and Push Docker Image option. Then enter the Docker registry credentials.
Install the Kubernetes EI Operator in your Kubernetes environment once and run the following command to apply the native deployment.
kubectl apply -f path/to/integration_cr.yaml