OpenSearch Triple
OpenSearch is an open-source distributed search and analytics engine used for log analytics. This package deploys a three-node OpenSearch cluster on Kubernetes.
opensearch-triple is a high availability setup of OpenSearch, that sets
up a 3-node cluster of OpenSearch for a robust and reliable setup.
Requirements
- Kubernetes >= 1.24.0
- Kustomize >= v3.10.X
- prometheus-operator
Prometheus Operator is necessary since we configure a
ServiceMonitorto make some metrics available fromopensearchon prometheus. Please refer, `opensearch-single to read about the available Prometheus rules.
Image repository and tag
- OpenSearch image: opensearchproject/opensearch:2.12.0
- OpenSearch repo: OpenSearch on Github
- OpenSearch documentation: OpenSearch Homepage
Configuration
OpenSearch Triple is deployed with the following configuration:
- OpenSearch cluster with 3nodes
- Listens on port 9200for client connections
- Listens on port 9300for node-to-node connections
- Resource limits are 2000mfor CPU and4Gfor memory
- Requires 30Gistorage
- Each OpenSearch node is running in a different Kubernetes node
- Prometheus exporter to expose OpenSearch metrics
- Metrics are scraped by Prometheus every 30s
Deployment
You can deploy OpenSearch Triple by running the following command in the root of the project:
kustomize build | kubectl apply -f -