- Running k8s cluster with Ballerina sample - https://ballerina.io/learn/by-guide/restful-service/ running.
Use following command to build your micro-integrator docker image which contains your composite integration application. Note that 1301
below donates your image version.
Update the k8s deployment with the new image;
sed -i.bak 's#wso2/micro-integrator-demo:latest#wso2/micro-integrator-demo:1301#' k8s-deployment.yaml
If you do not have the namespace wso2; create the namespace using;
kubectl create -f wso2-namespace-dev.json
Redeploy the deployment to the k8s cluster;
kubectl --namespace=wso2 apply -f k8s-deployment.yaml
Invoke the service;
curl http://localhost:32100/myorders/orderid/100500
32100
is your service port which can be found via - kubectl get svc -n wso2