ei-pattern-1
by Helm
A Helm chart for the deployment of WSO2 EI Integrator-Analytics profile
About this chart
Helm Chart for deployment of Integrator profile 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 (compatible with v1.10) 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-1.
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 active WSO2 subscription do not change the parameters wso2.deployment.username, wso2.deployment.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 EI 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 EI node | wso2ei |
wso2.deployment.wso2ei.imageTag | Image tag for EI node | 6.6.0 |
wso2.deployment.wso2ei.replicas | Number of replicas for EI node | 1 |
wso2.deployment.wso2ei.minReadySeconds | Refer to doc | 1 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 | Initial delay for the live-ness probe for EI node | 40 |
wso2.deployment.wso2ei.livenessProbe.periodSeconds | Period of the live-ness probe for EI node | 10 |
wso2.deployment.wso2ei.readinessProbe.initialDelaySeconds | Initial delay for the readiness probe for EI node | 40 |
wso2.deployment.wso2ei.readinessProbe.periodSeconds | Period of the readiness probe for EI 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 | 2000m |
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 |
Note: The above mentioned default, minimum resource amounts for running WSO2 Enterprise Integrator server profiles are based on its official documentation.
Analytics Worker Instance One Runtime Configurations
| Parameter | Description | Default Value |
|---|---|---|
wso2.deployment.wso2eiAnalyticsWorker1.imageName | Image name for EI Analytics Worker node | wso2ei-analytics-worker |
wso2.deployment.wso2eiAnalyticsWorker1.imageTag | Image tag for EI Analytics Worker node | 6.6.0 |
wso2.deployment.wso2eiAnalyticsWorker1.replicas | Number of replicas for EI node | 1 |
wso2.deployment.wso2eiAnalyticsWorker1.minReadySeconds | Refer to doc | 30 |
wso2.deployment.wso2eiAnalyticsWorker1.strategy.rollingUpdate.maxSurge | Refer to doc | 2 |
wso2.deployment.wso2eiAnalyticsWorker1.strategy.rollingUpdate.maxUnavailable | Refer to doc | 0 |
wso2.deployment.wso2eiAnalyticsWorker1.livenessProbe.initialDelaySeconds | Initial delay for the live-ness probe for EI Analytics Worker node | 20 |
wso2.deployment.wso2eiAnalyticsWorker1.livenessProbe.periodSeconds | Period of the live-ness probe for EI Analytics Worker node | 10 |
wso2.deployment.wso2eiAnalyticsWorker1.readinessProbe.initialDelaySeconds | Initial delay for the readiness probe for EI Analytics Worker node | 20 |
wso2.deployment.wso2eiAnalyticsWorker1.readinessProbe.periodSeconds | Period of the readiness probe for EI Analytics Worker node | 10 |
wso2.deployment.wso2eiAnalyticsWorker1.imagePullPolicy | Refer to [doc](https://kubernetes.io/docs/concepts/containers |
Deploy ei-pattern-1 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-1 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-1 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