Skip to content

shavitbit/k8s_elasticsearch

Repository files navigation

Elasticsearch Solution for Kubernetes

In this mini-project, I created manifests for installing an Elasticsearch cluster, Prometheus with added alerts, an Elasticsearch Node Exporter, and Istio as a service mesh.

Prerequisites

  • minikube
  • trriger the command minikube tunnel

Installation

start.sh:

  1. Install Elasticsearch Operator with RBAC Rules
  2. Deploy Elasticsearch Cluster one node
  3. Install Prometheus
  4. Configure Prometheus Alerts with value-prometheus.yaml
  5. Install elasticsearch exporter
  6. Install istio
  7. Enable Istio Sidecar for Elasticsearch

Namespace:

  • elasticsearch
  • monitoring
  • istio-system

helm used:

./internet/helm/prometheus
./internet/helm/prometheus-elasticsearch-exporter

elastic-operator crd:

./internet/yaml/crd.yaml
./internet/yaml/operator.yaml

Alerts:

alerts are part of the values-prometheus.yaml

  • Elastic_up
  • Elastic_Cluster_Health_Red
  • Elastic_Cluster_Health_Red
  • Elasticsearch_JVM_Heap_Too_High
  • Elasticsearch_health_up
  • Elasticsearch_Too_Few_Nodes_Running
  • Elasticsearch_Count_of_JVM_GC_Runs
  • Elasticsearch_GC_Run_Time
  • Elasticsearch_json_parse_failures
  • Elasticsearch_breakers_tripped
  • Elasticsearch_health_timed_out

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published