Deploying OpenSearch with Helm charts for a Kubernetes cluster you control
The official OpenSearch Helm chart deploys a default three-node cluster, so a platform or security team that already runs Kubernetes can get a working cluster quickly. The install is the small part of the job. The work that matters is planning memory, TLS, roles and storage before the first helm install. The OpenSearch docs recommend at least 8 GiB of memory per node and expect failure below 4 GiB, so size your Kubernetes nodes and resource requests with that floor in mind. OpenSearch is released under the Apache License, Version 2.0, and the project's FAQ does not describe a paid edition, so your ongoing cost is the infrastructure and the people who run it. Read the OpenSearch Helm install guide against the chart version you plan to pin, because defaults can change between releases.
The chart renders the Kubernetes objects for the cluster, including pods, services and storage claims, and applies the values you supply. It does not make your security design for you. Node and client TLS, the identity backend for the OpenSearch Security plugin, role mappings and the initial admin credentials are values you must set or source before go-live. The Security plugin supports SAML, OpenID Connect, LDAP and other backends, so choose one first. Keep passwords and certificate material in Kubernetes Secrets, and remember that Secrets are stored unencrypted in etcd by default. Confirm that encryption at rest is enabled and that list and watch access on those Secrets is restricted with RBAC. For storage, pick a storage class that matches your disk performance and backup plan, and check in the rendered manifests how persistent volume claims behave when a pod is rescheduled.
Choose the Helm chart when your team already delivers applications with Helm or GitOps tooling, wants the values file in version control, and is ready to own upgrades, certificate rotation and scaling steps directly. Choose the OpenSearch Kubernetes Operator when you want the cluster described as a custom resource and expect more of the lifecycle to be automated. The sibling topic on the operator covers what it automates. Whichever path you take, confirm with the chart maintainers or the release notes which Kubernetes and OpenSearch versions a given chart release supports, and test the values file in a non-production cluster before you rely on it for logs or security analytics.
How memory needs shape the Helm deployment
The Helm chart gives you a working three-node cluster quickly, but the memory each node gets determines whether that cluster is viable at all. The cards below cover the documented memory floor and the planning items that follow from it, so the sizing decision is made before values files are written.
Per-node memory floor
The OpenSearch Helm documentation recommends at least 8 GiB of memory per node and says failure is expected below 4 GiB. Because the default chart deploys three nodes, the memory decision multiplies across the whole cluster. Ask your team to confirm the figure per node in the current chart documentation before committing capacity, and to check whether the workload needs more than that floor.
Helm install docsJVM heap versus pod limit
The container memory limit in the chart values must leave room for the JVM heap plus off-heap memory used by Lucene, networking and the security plugin. Setting the heap equal to the pod limit is a common cause of out-of-memory kills. Confirm the heap setting in your values file against the limit you assign, and test under indexing and query load, not only at idle.
Storage class and volume sizing
Each node claims a persistent volume, and the storage class decides the IOPS and latency your indices see. Size volumes from expected index retention and replica count, not from raw ingest rate alone. Confirm with your platform team that the storage class supports the access mode the chart requests, and that volume expansion is available for later growth.
Replica count and shard placement
Replicas consume memory and disk on other nodes, so the replica setting changes the per-node footprint. The OpenSearch cluster guidance recommends placing replicas on separate nodes for availability. On a three-node default, confirm that your index templates do not request more replicas than the cluster can place without sharing a node with its primary.
Cluster tuning docsNode placement and resource requests
Kubernetes schedules pods by resource requests, so requests that are too low let several OpenSearch pods land on one worker and compete for memory. Use anti-affinity or topology spread constraints so each node sits on a separate worker, and set requests equal to limits for memory. Confirm the worker capacity you can reserve before the cluster is scheduled.
Which Helm values to plan for TLS, roles and security
OpenSearch uses TLS on two layers. Transport traffic moves between nodes on port 9300, and REST traffic carries client, application and Dashboards requests on port 9200. The OpenSearch Helm install guide is the starting point for the chart, and a production deployment should enable TLS on both layers so that cluster traffic and credentials are never sent in clear text.
- Transport layer: Nodes authenticate each other with certificates, which prevents an unknown host from joining the cluster. Confirm the chart key that enables transport TLS and the secret that holds node certificates for the chart version you pin.
- REST layer: Clients and Dashboards connect over HTTPS. Decide whether certificates come from your internal certificate authority or another issuer, and whether clients verify the hostname.
- Certificate lifecycle: Every certificate expires. Plan rotation, the reload process and the owner of each certificate before go-live, so expiry does not become an outage.
- Trade-off: TLS adds some CPU overhead and certificate management work. Disabling it shifts that cost to network exposure that most security reviews will reject.
Before install, check the TLS section of the chart against your pinned version and confirm which certificate authority your security team trusts.
OpenSearch clusters use cluster manager, data, ingest and coordinating roles. A node can hold several roles, and the chart values decide which roles each pod or node pool receives. The OpenSearch cluster documentation recommends dedicated cluster manager nodes, replicas on separate nodes and shard allocation awareness for availability. Role layout is hard to change after data arrives, so settle it before you choose the number of replicas or the memory size.
- Dedicated cluster managers: Separate cluster manager nodes keep cluster state work from competing with heavy queries and indexing. Confirm whether the default three-node layout combines roles on each pod.
- Data nodes: These hold shards and do most of the search and indexing work, so they need the most disk and memory.
- Replicas on separate nodes: Primary and replica copies should sit on different nodes. Use shard allocation awareness where your infrastructure has zones or racks.
- Ingest and coordinating roles: Split these out when pipelines or fan-out queries load the data nodes. Confirm the role key names in the values file for your version.
- Quorum: Confirm that losing one node or one zone still leaves enough cluster managers to elect a leader.
Check the node pool layout, the count per role and the zone placement in your values file before you run the install.
The OpenSearch Security plugin handles authentication, role-based access control, audit logs and TLS. It supports SAML, OpenID Connect, Active Directory and LDAP, Kerberos and JSON Web Token authentication backends. The backend you choose shapes how users sign in to Dashboards, how applications authenticate and how emergency administrator access works, so the identity team should agree on it before the chart values are written.
- SAML and OpenID Connect: These suit browser sign-in for Dashboards and workforce users. Redirect URLs and signing keys must match the Dashboards hostname exactly.
- LDAP and Active Directory: These map directory groups to OpenSearch roles. The trade-off is a dependency on directory availability for every login.
- Kerberos and JWT: Kerberos fits integrated Windows environments. JWT suits service-to-service tokens. Confirm how each is set in the security configuration for your chart version.
- Roles, document and field controls, audit logs: Document-level security, field-level security and field masking should be designed with the identity backend, not added later. Audit logs increase storage volume, so plan retention with them.
Confirm which identity backend your identity team operates, how directory groups map to roles and where the security configuration lives in the chart version you pin.
Admin passwords, TLS private keys and identity backend secrets used by the chart are typically delivered through Kubernetes Secrets. By default, Kubernetes stores Secrets unencrypted in etcd, and anyone who can read the Secret objects can read the values. Credentials handled this way need the same controls as the cluster itself, which the Kubernetes Secrets good practices guide explains in detail.
- Encryption at rest: Configure encryption for Secret data in etcd. Confirm the method with your Kubernetes distribution's documentation.
- Least-privilege RBAC: Limit list and watch permissions on Secrets, since those verbs expose values to users with namespace access.
- Pre-created Secrets: Create the admin credential and certificates before install and reference them by name, so passwords stay out of values files stored in Git. Confirm that your chart version supports referencing existing Secrets.
- External stores: The Secrets Store CSI Driver can pull credentials from an external store at mount time. The trade-off is one more component to install, upgrade and monitor.
- Backups: etcd backups contain Secret data, so they need the same access controls as the live cluster.
Check the Secret reference keys in the chart, who can read the OpenSearch namespace and how the admin credential is rotated after install.
Setting up an OpenSearch Helm deployment step by step
This sequence takes a team from a Kubernetes cluster it already runs to a verified OpenSearch cluster with TLS, roles and authentication configured through pinned Helm values. Each step ends with a check, so problems surface before the next layer is added.
Confirm the Kubernetes version and support window
The platform team confirms the cluster's Kubernetes minor version and checks it against the project's support dates on the releases page, since the project maintains only the three most recent minor releases. Confirm the OpenSearch Helm chart and OpenSearch version you intend to run against that cluster version, and check the install documentation, which lists Helm alongside Docker, the Kubernetes Operator, packages and Ansible. Done means you have a written record of the Kubernetes version, its end-of-life date and the chosen OpenSearch version, and the team agrees the cluster is inside its support window before any installation begins.
Prepare namespace, storage classes and Secrets
Create a dedicated namespace for the cluster and confirm that a storage class provides persistent volumes with enough capacity and the performance your indexing workload needs. Create Kubernetes Secrets for the initial admin password and TLS material before the chart is installed, and restrict who can read them with least-privilege RBAC. Kubernetes stores Secrets unencrypted in etcd by default, so confirm with your platform team that encryption at rest is configured. Done means
kubectl get storageclassshows the intended class, the namespace exists, and the Secrets are present and not readable by unrelated service accounts.Pin the chart version and review default values
Add the OpenSearch Helm repository and pin the exact chart version in your deployment record rather than installing whatever is latest. Export the chart's default values to a file and read them against your requirements, noting the default three-node cluster, the replica and persistence settings, and the image tag. Store the pinned values in version control so every change is reviewed. Done means a rendered template of the chart with the pinned version can be produced with
helm templateand the team has signed off on the defaults it will override.Write values for memory, TLS, roles and security
Write a values file that sets JVM heap and container memory limits so each node has at least the 8 GiB the chart documentation recommends, since the docs expect failure below 4 GiB. Configure TLS for transport and REST traffic using the Secrets created earlier, define node roles so cluster manager, data and ingest responsibilities are deliberate, and set the security plugin settings, including the admin certificate and the identity backend you will use. Keep any credential out of the values file itself. Done means the values render cleanly with
helm template, and a reviewer can point to the memory, TLS and role settings in the file.Install the chart and watch the rollout
Run
helm installwith the pinned chart version, the namespace and the reviewed values file, then watch the StatefulSet and pods come up. Pods may stay pending if the storage class cannot satisfy the volume claims or if memory limits are too low for the JVM, so inspect events if a pod does not reach ready. Done means all pods report ready, the Helm release shows a deployed status, and the logs of each pod show the node joining the cluster without repeated security or bootstrap errors.Verify cluster health and node roles
Port-forward or exec into a pod and query the cluster health API and the nodes API to confirm the cluster reports a healthy status and that each node carries the roles you configured. Check that a single cluster manager election has completed and that replica shards are allocated to nodes other than their primaries. Done means the health response shows the expected node count, the expected roles appear for every node, and no shards are unassigned.
Confirm TLS on each layer
Verify transport traffic between nodes and REST traffic from clients are both encrypted by inspecting the certificates presented on the relevant ports with a TLS client such as
openssl s_client. Confirm the certificate chain is issued by the CA you intended and that hostnames match the service names clients use. Done means each layer presents the expected certificate and a connection without the CA certificate is rejected.Test authentication and document the login path
Log in with the admin account and with one non-admin test user from your identity backend, then confirm each receives only the permissions in its assigned role, including a request that should be denied. Record the endpoints, the admin account handling and the login path in the runbook so operators know how access is granted. Done means both logins succeed or fail as designed, the denied request is logged in the audit trail if audit logging is enabled, and the runbook has been reviewed by the people who will operate the cluster.
How the Helm chart, Kubernetes and OpenSearch security fit together
The diagram starts with the operator running helm against the Kubernetes API, which stores the chart's objects and Secrets in etcd. The chart creates StatefulSet pods for the three default nodes, each attached to its own persistent volume. Clients reach the cluster through TLS and the Security plugin, which checks identity and roles before any query runs. Before go-live, confirm that etcd encryption at rest is configured, because Secrets are stored unencrypted in etcd by default, and that each node has at least 8 GiB of memory.
Helm, Kubernetes, etcd, pods and TLS access for a default OpenSearch install.
Helm chart or Kubernetes operator: which option fits
This table compares the official OpenSearch Helm chart with the OpenSearch Kubernetes Operator on setup, lifecycle, scaling and node pool control. Read each row against your team's Kubernetes experience and how many clusters you expect to run. The main takeaway is that the chart suits a single, mostly static cluster, while the operator suits teams that want the platform to manage node pools and changes over time.
| Factor | Helm chart | Kubernetes operator |
|---|---|---|
| Setup effort | Install with Helm values; the default deploys a three-node cluster | Install the operator first, then declare an OpenSearchCluster resource |
| Node pool control | Node groups are defined in chart values; confirm how many distinct pools your layout needs | Node pools are part of the cluster resource; see the sibling operator topic for detail |
| Lifecycle automation | Upgrades and changes are applied by re-running Helm; your team plans each step | Confirm which lifecycle tasks the operator automates in your target version before relying on them |
| Scaling | Change replica counts in values and redeploy; check shard and memory effects first | Scale through the cluster resource; confirm the supported scaling path for your version |
| TLS and roles setup | Set TLS and role configuration through chart values and secrets your team manages | Configure security and TLS in the cluster resource; confirm the supported options |
| Memory planning | Plan at least 8 GiB per node per the chart docs; below 4 GiB failure is expected | Same node memory guidance applies; set it per node pool |
| Best fit | One or a few clusters, a small platform team, stable topology | Several clusters or node pools, frequent change, GitOps-style operations |
Security and Kubernetes controls that apply to OpenSearch on Helm
A Helm install inherits the security posture of the Kubernetes cluster underneath it and of the OpenSearch Security plugin inside the pods. The cards below cover the cluster-side controls that protect OpenSearch credentials and pods, followed by the OpenSearch-side controls that govern users, roles, traffic and audit evidence.
Encrypt Secrets at rest
Kubernetes stores Secrets unencrypted in etcd by default, and OpenSearch admin passwords, TLS keys and snapshot repository credentials usually end up in Secrets that the Helm release creates or references. Configure encryption at rest for the API server before you load production credentials. Ask your platform team who can read etcd backups, because a backup copy of unencrypted Secrets carries the same exposure as the live cluster.
Secrets good practicesRestrict Secret list and watch
Listing or watching Secrets in a namespace reveals every value in it, even when a user never calls get on a single object. Grant the OpenSearch namespace least-privilege RBAC so that only the service accounts and operators that need Secrets can read them, and keep list and watch limited to the smallest group. Review bindings whenever a team member changes role, since broad ClusterRoleBindings are the most common way this access spreads.
Pull credentials from an external store
An external secrets manager keeps OpenSearch credentials out of etcd entirely. The Secrets Store CSI Driver mounts values from an external provider into pods at runtime, which lets you rotate the admin and certificate material without editing Helm values. Confirm with your security team which store is authoritative, how rotation triggers a pod restart, and whether the provider is approved for the data classes in the cluster.
Authenticate administrators
Kubernetes does not create user objects, so administrator access depends on the authentication method your cluster accepts: X.509 client certificates, bearer tokens including OpenID Connect and JWT, webhook token authentication or an authenticating proxy. Choose the method that ties each person to an identity your directory can disable. Make sure the people who run helm upgrade against the OpenSearch release are the same people your access reviews cover.
Enforce Pod Security Standards
Pod Security Standards define baseline and restricted policies for what a pod may request, such as privileged mode, host networking, host paths and root user IDs. OpenSearch needs some host-level settings, so confirm which exceptions the chart requires and limit them to the OpenSearch namespace. Apply the restricted profile where the chart allows it, and record each exception with its reason so an auditor can follow the decision.
Pod Security StandardsConfigure OpenSearch Security roles and TLS
Kubernetes controls protect the pods, but OpenSearch decides who can read which index. Use the Security plugin's role-based access control, document and field-level security and field masking to match your data classes, and enable TLS for both node and client traffic. Turn on audit logs and decide where they are shipped, since these logs are the evidence that a role or certificate was used as intended.
OpenSearch security docsHow upgrades and backups work after the first install
Installing the chart is the easy part. Once the cluster runs, OpenSearch gives you four documented ways to upgrade or migrate: rolling upgrades, snapshot and restore, remote reindexing and Migration Assistant. A Helm release does not choose among them for you. Rolling upgrades change the OpenSearch version on each node in turn, while snapshot and restore and remote reindexing move data into a new cluster. Migration Assistant can carry workloads across several major versions in one step, and its live traffic capture supports low or zero downtime moves. Decide which path fits before you change the chart values, because the path determines whether you need a second cluster and a second set of certificates and roles. Confirm the supported version paths in the OpenSearch migrate or upgrade docs.
The Kubernetes layer underneath the chart follows its own rules. The kube-apiserver must be upgraded one minor version at a time and before the controller manager, scheduler and kubelets, and kubelets may run up to three minor versions behind the API server. Plan node pool upgrades around those limits, and check that the storage class, pod disruption budgets and anti-affinity rules still keep the data nodes spread across failure domains during each drain. Your etcd backups are the recovery point for the cluster objects that hold the release, secrets and certificates. Kubernetes uses etcdctl snapshot save for backups and etcdutl for restores, and Secrets are stored unencrypted in etcd by default, so encryption at rest belongs in the backup plan.
Maintenance affects what you should expect from a version. During maintenance, OpenSearch versions receive bug fixes and security patches but no new features, and versions stay under maintenance until the next major version enters maintenance or one year passes, whichever is longer. Version 1 reached end of life on May 6, 2025, so check the release page for the end-of-maintenance date of your running version before scheduling work. Snapshot repositories are the OpenSearch-side backup and must be tested with a restore into a separate cluster, not just a successful snapshot status. For repository design, schedules and disaster recovery, see the sibling topics on OpenSearch upgrades and on snapshots, storage and disaster recovery.
Questions teams ask before deploying OpenSearch with Helm
What does a Helm-based OpenSearch deployment cost, and what drives the effort?
The cost comes mainly from the people time needed to design, build, secure and hand over the cluster, plus the infrastructure you pay for in your own cloud or data center. Infrastructure is recurring: three nodes with at least 8 GiB of memory each, persistent volumes, load balancers and backup storage. Effort rises with the number of identity backends, the TLS and role design, the number of Dashboards users, and how much your security team must review before go-live. The OpenSearch Helm documentation recommends at least 8 GiB of memory and warns that failure is expected below 4 GiB, so memory sizing is a real line item. Ask any partner for a written scope listing deliverables, environments and handover, because DeployOpen quotes follow a written scope agreed before work starts.
How long does a first OpenSearch Helm deployment take?
Duration depends mostly on readiness: a working Kubernetes cluster, an identity provider you can integrate, and certificate and storage decisions already made will shorten the work. A team starting without those inputs spends most of its time on prerequisites rather than on the chart itself. Plan for the work in phases: confirm the target cluster and its version, decide node sizing and storage classes, define TLS and roles, install and test in a non-production environment, then run security checks and document the result. Any timeline should come from a written scope tied to your environment, and DeployOpen does not publish fixed durations for this work.
What must our team provide before the deployment starts?
Before work starts, the team should have:
- Kubernetes access with rights to create namespaces, workloads, services, secrets and persistent volume claims
- A storage class that supports persistent volumes with the performance your indexes need
- An identity provider such as SAML, OpenID Connect, Active Directory or LDAP, with the group structure needed for roles
- Certificates or an internal certificate authority for node and client TLS, plus a plan for rotation
- A backup target for snapshots and a place to send audit logs
Also confirm which Kubernetes version your platform runs. Kubernetes maintains the three most recent minor releases, so an older cluster may need an upgrade first. Confirm each item with your platform and security teams rather than assuming defaults.
Can an internal team deploy OpenSearch with Helm on its own?
Yes, a team with solid Kubernetes and Linux skills can install the official chart and get a three-node cluster running. The harder parts are production-specific: role mapping to your identity provider, TLS for nodes and clients, least-privilege roles and tenants, audit logging, backup testing and upgrade planning. Your team also needs to operate the cluster after go-live, including upgrades, which the OpenSearch maintenance model covers with bug fixes and security patches for each version until its maintenance window ends. Check whether you have people who can own those tasks for the life of the cluster, not only for the first install.
When should we bring in a partner instead of building it ourselves?
Bring in a partner when the deployment must pass a security or compliance review on a fixed date, when the team lacks Kubernetes or OpenSearch security experience, or when several identity backends and multiple clusters must be designed together. A partner is also useful when you need documented controls and evidence for an assessment. DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms in your own infrastructure, and prepares systems and evidence for compliance assessments, but it does not issue audit reports or certifications. Independent auditors and certification bodies do that work.
When is the Kubernetes operator a better choice than the Helm chart?
Choose the Helm chart when you want a single, well-documented cluster deployed from values files and your team will manage changes directly. Consider the OpenSearch Kubernetes Operator when you need to manage several clusters, node pools and scaling declaratively, or want the operator to automate routine lifecycle tasks. The choice affects who runs day-two work, so decide it before the first install. A sibling topic covers the operator in detail, and the decision should be made with your platform team's operating model in mind.
Does the Apache 2.0 license mean there is no cost for OpenSearch?
The OpenSearch project releases its software under the Apache License, Version 2.0, and its FAQ does not describe a paid edition, so the software itself carries no license fee. Your costs are the infrastructure, the people who run it, and any external services you choose. Confirm the licensing terms for any plugins or connectors you add, because not every component in your stack may have the same terms.
How DeployOpen scopes and delivers OpenSearch on Kubernetes
DeployOpen plans, builds, documents and supports self-hosted OpenSearch inside your own cloud accounts, data centers or air-gapped networks. For a Helm-based deployment, we agree the cluster layout, security settings and handover deliverables in writing before any build work starts, so your platform and security teams know what they are receiving.
How we scope
- Written scope names the Kubernetes cluster, namespaces, storage classes and OpenSearch version the Helm release will target.
- Scope records the node count, memory per node and whether you need the default three-node layout or a custom topology.
- Scope defines TLS, identity backend, role mapping and audit logging values that the chart configuration must implement.
- Fixed-scope engagements list deliverables and acceptance checks so you can confirm the outcome before work starts.
How we build
- We pin chart and image versions in your values files and record the upgrade path in the build documentation.
- Values for TLS, security plugin roles and node settings are written as version-controlled code reviewed with your team.
- Each deployment is tested for pod scheduling, persistent volume binding, cluster health and TLS on every client and transport path.
- Security testing covers exposed endpoints, default credentials and role boundaries before the cluster is handed over.
How we hand over
- You receive the Helm values, secrets references and runbook used to rebuild the cluster in your own infrastructure.
- Documentation covers memory and storage sizing decisions, network port exposure and how to rotate certificates.
- Snapshot repository setup and a tested restore procedure are included in handover if they are in the agreed scope.
- Knowledge transfer sessions walk your engineers through upgrades, scaling and troubleshooting on the deployed chart.
How we support
- Engagements are fixed-scope, and ongoing support, upgrades and continuous testing are available as a retainer.
- Ask any partner to confirm which chart version, Kubernetes version and OpenSearch release your support will cover.
- Retainer scope should state who applies security patches, who tests chart upgrades and who owns on-call escalation.
- Request a written quote that separates one-time build work from recurring support so the cost components are visible.

