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.
- Kubernetes >=
1.24.0
- Kustomize >=
v3.10.X
- prometheus-operator
Prometheus Operator is necessary since we configure a
ServiceMonitor
to make some metrics available fromopensearch
on prometheus. Please refer, `opensearch-single to read about the available Prometheus rules.
- OpenSearch image:
opensearchproject/opensearch:2.17.1
- OpenSearch repo: OpenSearch on Github
- OpenSearch documentation: OpenSearch Homepage
OpenSearch Triple is deployed with the following configuration:
- OpenSearch cluster with
3
nodes - Listens on port
9200
for client connections - Listens on port
9300
for node-to-node connections - Resource limits are
2000m
for CPU and4G
for memory - Requires
30Gi
storage - Each OpenSearch node is running in a different Kubernetes node
- Prometheus exporter to expose OpenSearch metrics
- Metrics are scraped by Prometheus every
30s
You can deploy OpenSearch Triple by running the following command in the root of the project:
kustomize build | kubectl apply -f -
For license details please see LICENSE