KubeBlocks
BlogsEnterprise
โŒ˜K
โ€‹
Blogs
Open Source ยท Production-Grade ยท CNCF Landscape

KubeBlocks Elasticsearch Operator for Kubernetes

Deploy production-grade Elasticsearch clusters in minutes. Multi-node HA, snapshot backup, horizontal scaling, and full Day-2 operations via a single operator.

Try Playground Free โ†’Read the Docs

4

Topologies

100%

Open Source

Deploy Elasticsearch in 4 steps

1

Install KubeBlocks

# Add Helm repo
helm repo add kubeblocks https://apecloud.github.io/helm-charts
helm repo update

# Install KubeBlocks
helm install kubeblocks kubeblocks/kubeblocks \
  --namespace kb-system --create-namespace
2

Install Elasticsearch Addon

helm upgrade -i kb-addon-elasticsearch kubeblocks/elasticsearch \
  -n kb-system
3

Create an Elasticsearch Cluster

apiVersion: apps.kubeblocks.io/v1
kind: Cluster
metadata:
  name: es-cluster
  namespace: demo
spec:
  terminationPolicy: Delete
  clusterDef: elasticsearch
  topology: multi-node
  componentSpecs:
    - name: master
      replicas: 3
    - name: dit
      replicas: 2
4

Cluster is Ready

$ kubectl get cluster es-cluster -n demo
NAME         CLUSTER-DEF       TOPOLOGY     STATUS    AGE
es-cluster   elasticsearch     multi-node   Running   3m

Trusted by Engineering Teams at Scale

BONC CloudBONC Cloud
China Mobile CloudChina Mobile Cloud
China Telecom CloudChina Telecom Cloud
TencentTencent
XiaomiXiaomi
Ping AnPing An
VIP.comVIP.com
KwaiKwai
Tiger BrokersTiger Brokers
CITIC SecuritiesCITIC Securities
SealOSSealOS
FastGPTFastGPT
KubeSphereKubeSphere
MomentaMomenta
360360
TilaaTilaa
OlaresOlares
Changan AutomobileChangan Automobile
State GridState Grid
BONC CloudBONC Cloud
China Mobile CloudChina Mobile Cloud
China Telecom CloudChina Telecom Cloud
TencentTencent
XiaomiXiaomi
Ping AnPing An
VIP.comVIP.com
KwaiKwai
Tiger BrokersTiger Brokers
CITIC SecuritiesCITIC Securities
SealOSSealOS
FastGPTFastGPT
KubeSphereKubeSphere
MomentaMomenta
360360
TilaaTilaa
OlaresOlares
Changan AutomobileChangan Automobile
State GridState Grid
Elasticsearch Topologies

Every Elasticsearch Topology. One Operator.

From a single-node dev instance to a fully role-separated production cluster โ€” choose the topology that fits your workload.

A single Elasticsearch pod with all roles enabled (master, data, ingest, transform). Ideal for development, local testing, and small-scale workloads where high availability is not required.

โœ“

All roles in one pod (master + data + ingest + transform)

โœ“

Minimal resource footprint โ€” single CPU/memory allocation

โœ“

REST API on :9200 and transport on :9300

โœ“

Prometheus metrics via elasticsearch-exporter sidecar

โœ“

Easy to upgrade to multi-node without data loss

Dev / Test
No HA
Fast Setup
Application / Client
REST es-cluster-mdit-http:9200
REST :9200
es-cluster-mdit-http
ClusterIP ยท :9200 ยท all pods
single pod
mdit-0All Roles
masterdataingesttransform
๐Ÿ”elasticsearch:9200 ยท :9300
โš™๏ธes-agent:8080
๐Ÿ“Šexporter:9114
๐Ÿ’พ PVC data ยท 20Gi
No HA โ€” single pod failure means cluster unavailable ยท recommended for development only
All-Roles Node
Client Traffic
Persistent Storage
Comparison

How KubeBlocks Compares to Other Elasticsearch Options

FeatureKubeBlocksECK (Elastic)Bitnami Helm Chart
Kubernetes-native CRD APIโœ“โœ“โœ—
Single-node / multi-node topologiesโœ“โœ“~
Fully separated role topology (m-d-i-t)โœ“โœ“โœ—
Horizontal scaling (data nodes)โœ“โœ“~
Vertical scaling (CPU/memory)โœ“โœ“~
PVC volume expansionโœ“~~
Dynamic parameter reconfigurationโœ“~โœ—
Rolling version upgradeโœ“โœ“~
Snapshot backup & restoreโœ“~~
Prometheus metricsโœ“โœ“โœ“
Kibana integrationโœ“โœ“~
Stop / start clusterโœ“โœ—โœ—
Open Sourceโœ“~Elastic License 2.0 โ€” not OSI open source.โœ“
Cluster management web UIEnterprise~โœ—

โœ“ = Supported ยท ~ = Partial / Limited ยท โœ— = Not supported

Enterpriseindicates a capability available in KubeBlocks Enterprise, not the open-source distribution. Contact us for licensing โ†’

Based on publicly available documentation. Features may vary by version.

Capabilities

Built for Production Elasticsearch

KubeBlocks automates the hardest parts of running Elasticsearch on Kubernetes โ€” so your team doesn't have to.

๐Ÿ“ธ
Snapshot Backup & Restore
Scheduled snapshot backups to S3-compatible object storage. Restore a full cluster to any stored snapshot in minutes.
S3 Repository
Backup Timeline
Snapshot
00:00
Snapshot
08:00
Snapshot
16:00
Restore Target
20:35
๐Ÿ“ฆ
1. Load SnapshotRestore from nearest snapshot in S3 repository
โ†’
โš™๏ธ
2. Restore IndicesRecover index data and shard assignments
โ†’
โœ…
3. Cluster ReadyNew cluster started, master elected, shards green
โœ“ S3-Compatible Storage
Day-2 Operations

Every Operation Declared as a Kubernetes Resource

No SSH into pods, no shell scripts. Submit an OpsRequest and KubeBlocks handles the rest.

High Availability & Scaling

โœ“

Horizontal Scaling

Scale data, ingest, or transform node counts online without re-indexing. Cluster remains available throughout with minimal rebalancing overhead.

โœ“

Vertical Scaling

Resize CPU and memory on any role group with a rolling strategy that keeps the cluster available.

โœ“

Volume Expansion

Expand data node PVCs to increase index storage capacity without pod restarts.

โœ“

Rolling Restart

Controlled pod restarts with quorum-aware sequencing โ€” master quorum is never broken.

โœ“

Stop / Start

Suspend clusters to eliminate compute cost; resume with full cluster state.

Configuration, Security & Observability

โœ“

Dynamic Configuration

Tune Elasticsearch parameters via OpsRequest โ€” heap size, thread pool, circuit breakers.

โœ“

Version Upgrade

Rolling upgrades within the same major series with health checks. Cross-major upgrades supported when Elasticsearch compatibility prerequisites are met.

โœ“

Prometheus Metrics

Per-node metrics via elasticsearch-exporter on :9114 for Grafana dashboards.

โœ“

Backup & Restore

Snapshot-based physical backups to S3-compatible storage; restore from any snapshot.

โœ“

Expose via LoadBalancer

Enable external REST access for Kibana, Logstash, or application clients outside the cluster.

From the Blog

Go Deeper on Elasticsearch on Kubernetes

We Let an AI Agent Manage Our Databases. Here's Why Most Operators Failed It.

We Let an AI Agent Manage Our Databases. Here's Why Most Operators Failed It.

We tested AI agents against traditional Kubernetes database operators โ€” and why a unified API like KubeBlocks changes everything.

How Containerization Affects Database Performance: A Benchmark of runC, Kata, and gVisor

How Containerization Affects Database Performance: A Benchmark of runC, Kata, and gVisor

An in-depth benchmark of CPU, memory, and I/O for container runtimes, investigating common bottlenecks in a Kubernetes environment.

Running Databases on Kubernetes โ€” Insights from Leading Chinese Internet Companies

Running Databases on Kubernetes โ€” Insights from Leading Chinese Internet Companies

Why leading internet companies are increasingly adopting the practice of running stateful databases on Kubernetes.

Also on KubeBlocks

Apache Kafka Operator for Kubernetes โ†’

Kafka and Elasticsearch are often deployed together as the ELK-style log pipeline backbone. KubeBlocks manages both with a single operator and unified Day-2 operations.

Get Started

Get Started with KubeBlocks Elasticsearch Operator, Risk-Free.

Open source and production-ready. Enterprise customers get dedicated onboarding, migration support, and SLA guarantees.

Try Playground Free โ†’Talk to the Team
โœ“Open Source
โœ“Elasticsearch & 35+ other engines
โœ“Production-grade HA
โœ“No vendor lock-in

ยฉ 2026 KUBEBLOCKS INC