Duczer East
Healthcare

In-perimeter AI on governed clinical and operational data.

Financial Services

Private AI and data platforms built to clear model-risk and audit review.

Financial services

Private AI, KYC/AML, API gateways and data governance for banks.

Insurance

Change data capture, governed agents and integration for insurers.

Healthcare

PHI document intelligence, FHIR APIs and in-perimeter AI for health systems and plans.

GuideIntegration & Security7 min read

WSO2 Micro Integrator on Kubernetes: Build, Configure, Scale and Observe

A reference deployment shape, with config examples marked for lab verification.

Authored byCo-Founder and Managing Partner, Duczer East
Part of the Insights topic: API Management & Integration
On this page
  1. Container build
  2. Configuration and secrets
  3. Scaling and health probes
  4. Observability
  5. Release and rollback
  6. Checks before go-live

Run WSO2 Micro Integrator on Kubernetes by baking your integration artifacts into a container image, injecting deployment.toml from a ConfigMap, passing secrets as Kubernetes secrets, running at least two replicas behind a service with health probes, and sending logs and metrics to your standard stack. The vendor documents the deployment patterns and Helm charts; this guide adds the order of work and the checks we would make.

It builds on our WSO2 Micro Integrator page. Vendor references: Kubernetes deployment patterns and configuring Helm charts, checked November 2026. If you are moving from the ESB, start with the migration guide.

Container build

  1. Package integration artifacts into a composite application archive in your build pipeline.
  2. Build an image from the vendor's Micro Integrator base with your archive added. The vendor documents generating a Docker image from the tooling.
  3. Tag images with an immutable version, such as the Git commit, never only latest.
  4. Scan the image and sign it. Pull it from your private registry.
  5. Promote the same image through environments. Change only configuration.

Configuration and secrets

ItemWhere it livesNote
Server settingsdeployment.toml in a ConfigMap, mounted into the podKeep one file per environment in source control
Passwords and keysKubernetes secrets or an external vaultThe vendor documents using Kubernetes secrets in Synapse configurations
KeystoresMounted from a secret, not baked into the imageSee our hardening checklist
Endpoints and URLs per environmentEnvironment variables or config values read at startAvoid editing artifacts per environment
ArtifactsIn the imageChanges mean a new image and a rolling update

Illustrative manifest. It shows the shape only and has not been run:

apiVersion: apps/v1
kind: Deployment
metadata:
  name: mi-orders
spec:
  replicas: 2
  strategy:
    type: RollingUpdate
    rollingUpdate: { maxUnavailable: 0, maxSurge: 1 }
  selector:
    matchLabels: { app: mi-orders }
  template:
    metadata:
      labels: { app: mi-orders }
    spec:
      containers:
        - name: mi
          image: registry.example.com/integration/mi-orders:1.0.0   # your built image
          ports:
            - { name: http, containerPort: 8290 }
            - { name: https, containerPort: 8253 }
          envFrom:
            - secretRef: { name: mi-orders-secrets }
          volumeMounts:
            - { name: config, mountPath: /home/wso2carbon/wso2mi/conf/deployment.toml, subPath: deployment.toml }
          readinessProbe:
            httpGet: { path: /healthz, port: 9201 }
            initialDelaySeconds: 20
          livenessProbe:
            httpGet: { path: /healthz, port: 9201 }
            initialDelaySeconds: 40
          resources:
            requests: { cpu: "500m", memory: 1Gi }
            limits: { memory: 2Gi }
      volumes:
        - name: config
          configMap: { name: mi-orders-config }

Scaling and health probes

  • Start with two replicas and rolling updates with no unavailable pods.
  • Use readiness to hold traffic until artifacts are deployed, and liveness to restart a stuck process. Give startup enough time so liveness does not kill a slow start.
  • Scale on CPU and request rate, and test with your slowest backend, since integration load is often bound by waiting on backends.
  • Decide how scheduled tasks and inbound endpoints are coordinated across replicas. The vendor lists a coordination pattern with registry synchronization.
  • Set a pod disruption budget so node upgrades do not drain all replicas at once.
  • Message stores and in-flight work: test what happens to them when a pod is killed.

Observability

SignalHowCheck
LogsWrite to stdout or a mounted volume and ship with your log agentCorrelation ID appears in every log line
MetricsExpose metrics for your monitoring stack; the vendor documents monitoring optionsDashboards for request rate, errors and latency
TracingPropagate trace headers through mediationOne trace spans gateway, integration and backend
Service and API logsUse the vendor's service-level and API-level loggingLog level can be changed without a restart
AlertsPod restarts, error rate, backend latencyEach alert has an owner and a runbook

When a flow fails, use the troubleshooting runbook.

Release and rollback

  1. Build and scan a new image with a new tag.
  2. Deploy to a test namespace and run the recorded-traffic and error-path tests.
  3. Roll to production with no unavailable pods allowed, and watch error rate and latency.
  4. If a threshold trips, roll back to the previous tag. Keep the last two tags available.
  5. Record the version in the change log.

Because artifacts are baked into the image, a rollback is a tag change. That is the main operating benefit of the container model over editing artifacts on a server. It also means hot-editing a running pod is a habit to avoid.

Checks before go-live

  • Pod restarts do not lose or duplicate messages.
  • Scheduled tasks run once per schedule with several replicas.
  • Secrets rotate without a rebuild.
  • Resource requests and limits are set from load tests, not guesses.
  • Logs from a killed pod are still searchable.

Related: WSO2 Micro Integrator consulting · Use case: ESB to Micro Integrator migration · ESB to Micro Integrator migration · WSO2 ESB troubleshooting runbook · Outsourcing a WSO2 integration team

Frequently asked questions

Does WSO2 Micro Integrator support Kubernetes?

Yes. The vendor documents Kubernetes deployment patterns, Helm chart configuration and the use of Kubernetes secrets in integration configurations.

Should I use one replica or several?

The vendor describes single replica and multiple replica patterns, with a coordination variant. Use several replicas for availability and rolling updates, and check how scheduled tasks are coordinated.

Where should configuration live?

Server settings in deployment.toml supplied through a ConfigMap, secrets in Kubernetes secrets or a vault, and integration artifacts baked into the image.

How do I handle scheduled tasks across replicas?

Use the coordination pattern the vendor documents, and test that a task runs once per schedule when a pod restarts.

Is the example manifest production ready?

No. It shows the shape. We mark it for lab verification before it is used for any client.

Authored by

Co-Founder and Managing Partner, Duczer East

David deBoisblanc is co-founder of Duczer East and a digital transformation and innovation leader in data-centric AI, agentic systems, and enterprise integration. He shapes intent-driven AI solutions that modernize how organizations use data, drawing on deep experience with Cloudera and complex enterprise integration landscapes.

Newsletter

The Practitioner's Briefing

Senior-level insights on agentic AI, data engineering and enterprise integration, delivered to your inbox.

One email when there is something worth reading. Unsubscribe any time.

Let's Talk

Want to discuss the ideas raised here?

Tell us what you are working on. A senior practitioner replies, and only your email is required.

Get a quote