ei-pattern-2
by Helm
A Helm chart for the deployment of WSO2 EI Integrator Broker Analytics
About this chart
Helm Chart for a deployment of Integrator and Broker profiles of WSO2 Enterprise Integrator with Analytics
Contents
- Prerequisites
- Quick Start Guide
Prerequisites
-
In order to use WSO2 Helm resources, you need an active WSO2 subscription. If you do not possess an active WSO2 subscription already, you can sign up for a WSO2 Free Trial Subscription from here. Otherwise you can proceed with Docker images which are created using GA releases.
-
Install Git, Helm (and Tiller) and Kubernetes client in order to run the steps provided in the following quick start guide.
-
An already setup Kubernetes cluster.
-
Install NGINX Ingress Controller.
-
Add the WSO2 Helm chart repository
helm repo add wso2 https://helm.wso2.com && helm repo update
Quick Start Guide
In the context of this document,
KUBERNETES_HOMEwill refer to a local copy of thewso2/kubernetes-eiGit repository.HELM_HOMEwill refer to<KUBERNETES_HOME>/advanced/ei-pattern-2.
1. Clone Kubernetes Resources for WSO2 Enterprise Integrator Git repository.
git clone https://github.com/wso2/kubernetes-ei.git
2. Provide configurations.
a. The default product configurations are available at <HELM_HOME>/confs folder. Change the
configurations as necessary.
b. Open the <HELM_HOME>/values.yaml and provide the following values.
MySQL Configurations
| Parameter | Description | Default Value |
|---|---|---|
wso2.mysql.enabled | Enable MySQL chart as a dependency | true |
wso2.mysql.host | Set MySQL server host | wso2ei-rdbms-service-mysql |
wso2.mysql.username | Set MySQL server username | wso2carbon |
wso2.mysql.password | Set MySQL server password | wso2carbon |
wso2.mysql.driverClass | Set JDBC driver class for MySQL | com.mysql.jdbc.Driver |
wso2.mysql.validationQuery | Validation query for the MySQL server | SELECT 1 |
WSO2 Subscription Configurations
| Parameter | Description | Default Value |
|---|---|---|
wso2.subscription.username | Your WSO2 Subscription username | "" |
wso2.subscription.password | Your WSO2 Subscription password | "" |
If you do not have an active WSO2 subscription do not change the parameters wso2.subscription.username and wso2.subscription.password.
Centralized Logging Configurations
| Parameter | Description | Default Value |
|---|---|---|
wso2.centralizedLogging.enabled | Enable Centralized logging for WSO2 components | true |
wso2.centralizedLogging.logstash.imageTag | Logstash Sidecar container image tag | 7.2.0 |
wso2.centralizedLogging.logstash.elasticsearch.username | Elasticsearch username | elastic |
wso2.centralizedLogging.logstash.elasticsearch.password | Elasticsearch password | changeme |
wso2.centralizedLogging.logstash.indexNodeID.wso2ISNode | Elasticsearch IS Node log index ID(index name: ${NODE_ID}-${NODE_IP}) | wso2 |
Monitoring Configurations
| Parameter | Description | Default Value |
|---|---|---|
wso2.monitoring.enabled | Enable Prometheus monitoring | false |
wso2.monitoring.prometheus.blackBoxNamespace | Prometheus blackbox exporter namespace | <RELEASE_NAMESPACE> |
wso2.monitoring.prometheus.jmxJobName | Prometheus job name | jmx |
wso2.monitoring.prometheus.serviceMonitor.labels | Prometheus labels for identifying Service Monitor | "release: monitoring" |
Integrator Profile Configurations
| Parameter | Description | Default Value |
|---|---|---|
wso2.deployment.wso2ei.imageName | Image name for Integrator node | wso2ei-integrator |
wso2.deployment.wso2ei.imageTag | Image tag for Integrator node | 6.6.0 |
wso2.deployment.wso2ei.replicas | Number of Integrator replicas | 1 |
wso2.deployment.wso2ei.minReadySeconds | Refer to doc | 75 |
wso2.deployment.wso2ei.strategy.rollingUpdate.maxSurge | Refer to doc | 1 |
wso2.deployment.wso2ei.strategy.rollingUpdate.maxUnavailable | Refer to doc | 0 |
wso2.deployment.wso2ei.livenessProbe.initialDelaySeconds | Period of initial delay for the liveness probe for Integrator profile node | 40 |
wso2.deployment.wso2ei.livenessProbe.periodSeconds | Period of the liveness probe for Integrator profile node | 10 |
wso2.deployment.wso2ei.readinessProbe.initialDelaySeconds | Period of initial delay for the readiness probe Integrator profile node | 40 |
wso2.deployment.wso2ei.readinessProbe.periodSeconds | Period of the readiness probe for Integrator profile node | 10 |
wso2.deployment.wso2ei.imagePullPolicy | Refer to doc | Always |
wso2.deployment.wso2ei.resources.requests.memory | The minimum amount of memory that should be allocated for a Pod | 1Gi |
wso2.deployment.wso2ei.resources.requests.cpu | The minimum amount of CPU that should be allocated for a Pod | 1000m |
wso2.deployment.wso2ei.resources.limits.memory | The maximum amount of memory that should be allocated for a Pod | 2Gi |
wso2.deployment.wso2ei.resources.limits.cpu | The maximum amount of CPU that should be allocated for a Pod | 2000m |
Broker Profile Configurations
| Parameter | Description | Default Value |
|---|---|---|
wso2.deployment.wso2eiBroker.imageName | Image name for Broker node | wso2ei-broker |
wso2.deployment.wso2eiBroker.imageTag | Image tag for Broker node | 6.6.0 |
wso2.deployment.wso2eiBroker.replicas | Number of Broker replicas | 1 |
wso2.deployment.wso2eiBroker.minReadySeconds | Refer to doc | 75 |
wso2.deployment.wso2eiBroker.strategy.rollingUpdate.maxSurge | Refer to doc | 1 |
wso2.deployment.wso2eiBroker.strategy.rollingUpdate.maxUnavailable | Refer to doc | 0 |
wso2.deployment.wso2eiBroker.livenessProbe.initialDelaySeconds | Period of initial delay for the liveness probe for Broker profile node | 40 |
wso2.deployment.wso2eiBroker.livenessProbe.periodSeconds | Period of the liveness probe for Broker profile node | 10 |
wso2.deployment.wso2eiBroker.readinessProbe.initialDelaySeconds | Period of initial delay for the readiness probe Broker profile node | 40 |
wso2.deployment.wso2eiBroker.readinessProbe.periodSeconds | Period of the readiness probe for Broker profile node | 10 |
wso2.deployment.wso2eiBroker.imagePullPolicy | Refer to doc | Always |
wso2.deployment.wso2eiBroker.resources.requests.memory | The minimum amount of me |
Deploy ei-pattern-2 with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has ei-pattern-2 on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartei-pattern-2 is pinned at v6.6.0-3 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply