Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.
Introduction
Deploy and run webMethods.io Integration multi-instance edge runtime on Azure Kubernetes Service (AKS). This will help users to do multi-instance setup of Integration Runtime using AKS
Prerequisites
Steps to be followed
Description
The multi-instance configuration can be done through wm.io Origin UI. Here we tried to replicate same using AKS cluster
Create Integration runtime on webMethods.io Integration origin tenant
Generate the lifetime token
Create the AKS cluster on Azure portal
Why to create Kubernetes secret?
'
Steps to create the secret
kubectl create secret docker-registry <Any Name Of Your Choice eg: azsecretcred> --docker-server=<your-registry-server> --docker-username=<your-name> --docker-password=<your-pword> --docker-email=<your-email>
kubectl create secret docker-registry regcred --docker-server=sagcr.azurecr.io --docker-username=*********** --docker-password=************* --docker-email=abcd.xyz@softwareag.com
where:
You have successfully set your Docker credentials in the cluster as a Secret called 'regcred'. After successful run of above command you should see message - 'secret/regcred created'.
Deployment of yaml file on Azure cluster
apiVersion: apps/v1kind: Deploymentmetadata: name: irt-deploymentspec: replicas: 2 selector: matchLabels: app: integration-runtime template: metadata: labels: app: integration-runtime spec: containers: - name: Edge Runtime name to be replaced image: sagcr.azurecr.io/webmethods-edge-runtime:11.0.3 env: - name: SAG_IS_CLOUD_REGISTER_URL value: "<Tenant URL>" - name: SAG_IS_EDGE_CLOUD_ALIAS value: "<SAG CLOUD ALIAS>" - name: SAG_IS_CLOUD_REGISTER_TOKEN value: "< lifetime Token generated from webMethods.io >" ports: - containerPort: 5566 imagePullSecrets: - name: regcred
Sample Yaml used for deployment
apiVersion: apps/v1kind: Deploymentmetadata: name: irt-deploymentspec: replicas: 1 selector: matchLabels: app: integration-runtime template: metadata: labels: app: integration-runtime spec: containers: - name: cardissuanceazureruntime image: ibmwebmethodsregistry.azurecr.io/ibmwebmethods:latest env: - name: SAG_IS_CLOUD_REGISTER_URL value: "https://originawsstage02.stag-int-aws-us.webmethods.io" - name: SAG_IS_EDGE_CLOUD_ALIAS value: "EdgeRuntime_cardissuanceazureruntime" - name: SAG_IS_CLOUD_REGISTER_TOKEN value: "eccbf4414dfd435abf0eac013e729efe2ef66cdc2ad54f609a51fd6aa0fb412a" ports: - containerPort: 5566
Note:
Verifying the health of pods on AKS
Thanks for sharing details