When the OpenSearch Kubernetes operator fits your platform
If your platform team already runs Kubernetes and wants OpenSearch managed as declarative resources, the OpenSearch Kubernetes Operator is the option to evaluate. It is installed with Helm, deploys OpenSearch and OpenSearch Dashboards from an OpenSearchCluster custom resource, and can manage several clusters from one installation. The fit depends less on OpenSearch itself than on whether your team is comfortable reviewing cluster changes as manifests, version-controlling them and running them through the same delivery pipeline as the rest of your workloads.
The operator automates four recurring duties: failure recovery, rolling upgrades, configuration changes and volume expansion. That removes a set of manual steps from routine operations, but it does not remove the need to plan them. Before you adopt it, confirm with the operator documentation which operator version matches the OpenSearch version you intend to run, and test a rolling upgrade and a volume expansion in a non-production cluster so you know how long they take on your storage class and what your alerting shows during them. Review the OpenSearch operator documentation for the supported resource fields before writing your first manifest.
Kubernetes itself, the storage behind your persistent volumes, network policy, Pod Security settings and secret handling stay with your team. The operator does not decide how your cluster is hardened, how etcd is backed up or where TLS material and admin credentials are stored. If your platform team cannot already answer those questions for other stateful workloads, the operator will not answer them for OpenSearch. In that case, a Helm chart or package install on virtual machines may be the more controllable starting point.
How the operator, custom resource and cluster pods fit together
The flow starts with Helm installing the OpenSearch Kubernetes Operator into the cluster you control. You then apply an OpenSearchCluster resource, and the operator reconciles it into OpenSearch node pools, a Dashboards deployment, persistent volumes and TLS secrets. Check that the operator's changes match what you declared, and that every secret and volume sits inside your trust boundary.
Operator, custom resource and resources it manages inside the client's cluster.
What the operator automates and what it leaves to you
The OpenSearch Kubernetes Operator automates several cluster lifecycle tasks, but the platform under it and the data protection around it stay with your team. Read the automated items against the items you keep, so each one has an owner before the cluster goes live.
Failure recovery
The operator handles recovery when an OpenSearch pod or node fails, so the cluster is brought back to its declared state without a manual rebuild. Your team still decides the node pool layout that recovery works within. Check that replicas and cluster manager nodes are spread across failure domains, because the operator cannot place pods on hardware you have not provided. Confirm the recovery behavior in a test by removing a pod and watching the cluster health return to green.
Operator cluster operationsRolling upgrades
The operator performs rolling upgrades of the OpenSearch nodes it manages, changing one part of the cluster at a time. You still choose the target OpenSearch version and confirm it is supported for your data and plugins. Review the breaking changes and the upgrade path before you change the version field in the OpenSearchCluster resource. Plan a rollback point, such as a recent snapshot, because a rolling upgrade does not replace a backup.
Configuration changes
The operator applies changes to node configuration and settings declared in the custom resource, restarting nodes in an orderly way. Treat the resource as the source of truth and keep it in version control so every change is reviewed. Check which settings require a node restart and which apply live, since the operator's behavior depends on that distinction. Test changes to security and TLS settings in a non-production cluster first.
Volume expansion
The operator can expand the persistent volumes that back OpenSearch data nodes when storage needs grow. Expansion depends on your storage class allowing volume resizing, which is a decision made in the Kubernetes cluster, not in OpenSearch. Confirm with your platform team that the storage class supports expansion and that the underlying storage can grow without downtime. Monitor disk usage so expansion is planned rather than an emergency.
Kubernetes control plane and storage classes
The operator runs on a Kubernetes control plane that your team builds, upgrades and secures, including etcd backups and the API server's authentication setup. Storage classes, node pools and the CNI network are also yours to define before you install the operator. Check the Kubernetes version against the version skew policy and your distribution's support window before each change. Ask who on your side owns control plane patching and incident response.
Backups, snapshots and index design
The operator does not back up your data or configure snapshot repositories for you. Create the snapshot repository on storage you control, set a schedule, and test restores on a separate cluster. Index design, including shard counts, mappings, retention and index lifecycle policies, is an OpenSearch decision your search or log engineers make, and the operator does not make it. Document both owners so no part of data protection is assumed.
Configuration choices in an OpenSearchCluster deployment
This table compares the main areas of an OpenSearchCluster resource, what each one controls and when it fits your design. Read each row as a decision: the option you choose, the trade-off it creates and the signal that tells you it is the right choice. Confirm exact field names against the operator version you deploy, since keys can change between releases.
| Configuration area | When it fits | Trade-off to plan for |
|---|---|---|
| Node pools by role | Separate cluster manager, data and ingest or coordinating pools when workloads or failure domains differ | More pools mean more StatefulSets to size, monitor and upgrade, and more placement rules to maintain |
| Persistent storage | Storage class and volume size set per data pool when indexing volume or retention is known up front | Volume expansion is automated, but storage class choice is hard to change later and drives recovery time |
| Security and TLS | TLS and security plugin settings from the start for any cluster holding regulated or sensitive data | Certificate and secret handling moves into Kubernetes, so secret encryption and RBAC must be reviewed too |
| OpenSearch Dashboards | Deploy Dashboards through the same resource when operators need a managed UI tied to the cluster lifecycle | Dashboards adds a second workload to patch, expose through ingress and secure with its own access settings |
| Scaling | Scale data pools as indexing or query load grows, with shard layout planned in advance | Adding nodes does not rebalance poorly sized indices, so shard and replica counts still need planning |
| Upgrade behavior | Use operator-driven rolling upgrades for in-place version changes within the supported release line | Major version moves usually need a documented migration path, and the operator does not replace that plan |
| Multiple clusters | Manage several OpenSearch clusters from one operator install when teams or environments need separation | Each cluster adds resources and access policy work, and shared operator upgrades affect all of them |
Operator, Helm chart or other install method
A platform team that runs several OpenSearch clusters for different products or environments is the situation the operator was built for. The OpenSearch Kubernetes Operator, installed with Helm, deploys OpenSearch and Dashboards from an OpenSearchCluster custom resource and can manage more than one cluster. Each cluster becomes a declared object in version control, so configuration changes, scaling and upgrades follow the same review process as the rest of the platform.
- Declarative clusters: Each cluster is described in a custom resource that can be reviewed, templated and stored in Git alongside other infrastructure.
- Automated operations: The operator automates failure recovery, rolling upgrades, configuration changes and volume expansion, which removes repeated manual runbook steps.
- Shared control plane: One operator installation can manage several clusters, so the platform team maintains one tool rather than one script per cluster.
- Dependency on Kubernetes skills: Your team must already run Kubernetes clusters, handle storage classes and manage the operator's upgrades alongside the Kubernetes version.
Before choosing this path, confirm which Kubernetes version your platform supports and whether the operator version you plan to use supports it.
For one cluster with a small number of nodes, the Helm charts or Docker are usually simpler than running the operator. The official Helm charts cover the default three-node layout, memory needs, TLS and role values, and that is the right starting point for most single-cluster deployments. See the sibling topic on deploying OpenSearch with Helm charts for the default layout and values.
- Fewer moving parts: A single chart release or a compose file avoids installing and maintaining a controller that only manages one cluster.
- Direct control of settings: Values files and environment variables map straight to OpenSearch settings, which makes troubleshooting easier for a small team.
- Lower Kubernetes dependency: If the cluster sits on a Kubernetes platform you already run, Helm is enough; the operator adds value mainly when lifecycle automation across many clusters matters.
- Manual upgrade steps: You plan rolling upgrades yourself, so schedule them against the maintenance and patch cadence for the version you run.
- Single-host Docker: For a non-clustered test or a small internal use case, Docker is an option, but it is not a substitute for a planned production topology.
Confirm that your team can run the chosen method's upgrades and backups without the operator's automation.
Organizations that run virtual machines or bare-metal Linux hosts without Kubernetes should use a package or Ansible install. OpenSearch documents installation with tarball, RPM and Debian packages, and an Ansible playbook, and these methods place the service under systemd on hosts you manage. The operator does not apply to this estate because it requires Kubernetes.
- Systemd services: Package installs run OpenSearch as a host service, which fits existing configuration management and monitoring.
- Ansible for repeatability: The official playbook installs OpenSearch and Dashboards on systemd Linux hosts and can generate TLS certificates, which helps standardize many nodes.
- Host-level tuning: Heap sizing,
vm.max_map_countand other kernel settings are set on each host, so include them in the build checklist. - Version branches: Check which version branch of the playbook matches the OpenSearch release you intend to run before writing inventories.
- Operational ownership: Your team owns patching the operating system, restarting nodes and coordinating rolling upgrades.
Confirm the supported operating systems for the package or playbook version you choose before standardizing on it.
How to deploy an OpenSearch cluster with the operator
This sequence takes a platform team from a supported Kubernetes version to a running OpenSearch cluster with Dashboards, then proves the cluster can absorb a rolling change. Each step ends with a check so the team knows it is safe to move on.
Confirm the Kubernetes version and support window
The platform team checks which Kubernetes minor versions the organization's clusters run and when each one leaves patch support. The Kubernetes project maintains the three most recent minor releases, and the release page lists end-of-life dates for each. Confirm that the target cluster runs a version still inside its window, and confirm the upgrade path with your distribution vendor if you use a managed or packaged distribution. Check: a written note records the cluster version, its end-of-life date and the planned upgrade date, and the OpenSearch operator release you will install is confirmed against that version in the operator documentation.
Prepare storage classes and namespaces
The platform team creates a dedicated namespace for the OpenSearch cluster and confirms a storage class that provides persistent volumes with the performance and expansion behavior the data nodes need. The operator automates volume expansion, so confirm that the storage class supports it before you depend on that behavior. Apply pod security and network policies to the namespace according to the organization's baseline. Check: the storage class lists as available, a test persistent volume claim binds, and the namespace has the labels and policies your security team expects.
Install the operator with Helm
The platform team installs the OpenSearch Kubernetes Operator into its namespace using the Helm chart, pinning the chart version so upgrades are deliberate. The operator watches for OpenSearchCluster resources and manages the StatefulSets, services and configuration that the cluster needs. Record the chart version and the operator image tag in your change record. Check: the operator pod reports ready, its logs show no errors on startup, and the OpenSearchCluster custom resource definition is present in the cluster.
Prepare TLS and admin secrets
Security engineers create the TLS certificates for transport and HTTP traffic, along with the admin credentials the security plugin uses at first start. Store these as Kubernetes Secrets and plan how they reach the cluster, since Kubernetes stores Secrets unencrypted in etcd by default unless encryption at rest is configured. Restrict read access to these Secrets with least-privilege RBAC, and confirm the certificate validity period and rotation owner with your security team. Check: the Secrets exist in the namespace, only the service account and approved administrators can read them, and the certificate chain validates against the CA you intend to use.
Apply the OpenSearchCluster resource with node pools
The platform team writes the OpenSearchCluster resource with separate node pools for cluster manager, data and ingest roles, sets heap and resource requests per pool, and references the Secrets and storage class from the earlier steps. Include Dashboards in the same resource if the operator version supports it in your target release. Review the manifest with the team before applying it, and keep it in version control. Check: the dry run succeeds, the operator creates the expected pods and persistent volume claims, and the pods reach the running state.
Verify cluster health and Dashboards access
Once the pods run, the team checks cluster health through the REST API from inside the network, using the admin or a scoped monitoring credential over TLS. Confirm the status is green, every expected node has joined, and shards are allocated across nodes. Then sign in to Dashboards through the route or ingress the team configured and confirm that authentication works with the intended identity backend. Check: the health response reports the expected node count and a green status, and a test login to Dashboards succeeds and appears in the audit log if audit logging is enabled.
Test a rolling change
Before the cluster carries real data, the team makes a small, reversible configuration change, such as a non-disruptive setting or a node pool resource adjustment, and watches the operator apply it one node at a time. The operator automates rolling upgrades and configuration changes, so this test shows how the cluster behaves under the same mechanism you will use for upgrades. Record the time each node takes to rejoin and confirm that cluster health returns to green between steps. Check: the change completes without the cluster leaving green status, and the team has a documented rollback procedure for the same resource.
Which Kubernetes foundation the operator depends on
The OpenSearch Kubernetes Operator does not run in isolation. It reconciles OpenSearchCluster resources on a Kubernetes cluster that your team builds, patches and operates, so the health of that cluster sets the ceiling for every OpenSearch node it manages. Before choosing the operator, confirm who owns the control plane, who receives alerts from it, and how long your organization will keep each Kubernetes minor version in service. The Kubernetes project maintains the three most recent minor releases. As of September 2026 those were 1.37 (end of life October 28, 2027), 1.36 (June 28, 2027) and 1.35 (February 28, 2027), so a cluster on 1.35 has a shorter runway than one on 1.37 and should be scheduled for upgrade accordingly.
Upgrades follow the Kubernetes version skew policy, which requires the kube-apiserver to move first, one minor version at a time, before kube-controller-manager, kube-scheduler and kubelets. Kubelets may run up to three minor versions behind the API server. Plan the Kubernetes upgrade as its own change window and rehearse it in a non-production cluster, because the operator's own rolling upgrades of OpenSearch nodes run on top of whatever control plane is in place. Check the Kubernetes version skew policy against your distribution's documented upgrade path before you commit a window.
The control plane stores its state in etcd, and the quorum rules there decide whether the cluster survives a failure. etcd should run with an odd number of members, and the Kubernetes documentation recommends five members in production. Your team must also run regular backups with etcdctl snapshot save and test restores with etcdutl. Confirm whether your platform team already does this for a managed or self-built cluster. A snapshot that has never been restored is not a recovery plan. Secrets, including the TLS material and admin credentials the operator references, are stored unencrypted in etcd by default. Confirm that encryption at rest is enabled, that list and watch access to Secrets is limited by least-privilege RBAC, and decide whether an external store through the Secrets Store CSI Driver fits your policy.
Securing the operator, TLS and OpenSearch Security settings
A cluster deployed by the operator inherits its security posture from several layers: TLS on each traffic path, the OpenSearch Security plugin, Kubernetes access to the custom resource, and how secrets are stored. Each card below names one of those controls and the check to make before the cluster holds production data.
TLS for node and client traffic
Plan TLS for both transport between nodes and REST traffic from clients and Dashboards. Decide who issues the certificates, whether an internal CA or your existing PKI, and how rotation will be handled before the first deployment. Confirm in the operator documentation how certificates are referenced in the OpenSearchCluster resource and whether the operator generates them or expects them from a secret you manage.
OpenSearch security docsIdentity backends for sign-in
The OpenSearch Security plugin supports SAML, OpenID Connect, Active Directory and LDAP, Kerberos and JSON Web Token authentication. Choose one that matches your workforce directory and confirm how it is configured for Dashboards users and API clients. Test group-to-role mapping with real accounts before go-live, since a mapping error is the most common source of over-broad access.
Roles, tenants and document-level controls
Map teams to OpenSearch roles that grant index and cluster permissions, and add document-level and field-level security where a dataset holds sensitive fields. Field masking and user impersonation are available for restricted reads. Review the role definitions in version control so changes pass through review, and confirm which settings the operator manages directly and which must be applied through the Security plugin.
Audit logs for cluster activity
Enable audit logging so authentication events and requests to the cluster are recorded. Decide where the logs go, who can read them, and how long they are kept, and make sure the audit trail is not stored only inside the cluster it describes. Confirm with your security team which events they need, because the default scope may not match a review or investigation requirement.
Kubernetes RBAC on the OpenSearchCluster resource
Anyone who can edit an OpenSearchCluster resource can change node counts, images, storage and security settings. Restrict create, update and patch rights to a small deployment group, separate namespaces by environment, and limit read access to secrets in those namespaces. Review who holds these roles as part of normal access reviews, not only at initial setup.
Secrets at rest and external stores
Kubernetes Secrets are stored unencrypted in etcd by default. Configure encryption at rest for the cluster, restrict list and watch access to Secrets with least-privilege RBAC, and consider an external store through the Secrets Store CSI Driver for admin credentials and certificate keys. Ask your platform team who operates the etcd backups, because those backups also contain Secrets.
Secrets good practicesPod Security Standards and CIS alignment
Run the OpenSearch namespace under an appropriate Pod Security Standard level and confirm that the operator's pods can run without privileges the standard blocks, such as the host settings that OpenSearch needs for memory maps. Use the CIS Kubernetes Benchmark as a checklist for the cluster itself and record any deviations with a reason. Verify the results against your own cluster rather than assuming a benchmark pass.
Pod Security StandardsHow long, what it costs and what it needs from your team
Can our team deploy OpenSearch on Kubernetes with the operator on its own?
Yes, a team with working Kubernetes skills can install the operator with Helm and define an OpenSearchCluster resource, and the operator documentation covers that path. The harder part is the surrounding work: TLS certificates, identity integration, storage classes, backups, monitoring and an upgrade routine that your team repeats every release cycle. Check whether your engineers have run stateful workloads on your cluster before, who owns on-call for the search tier, and whether anyone has time to test failover. Teams without those skills often use an outside partner for the first build, then run the cluster themselves with documented runbooks.
What drives the effort of an OpenSearch operator deployment?
Four factors move effort most. Kubernetes maturity matters because a platform team that already runs storage classes, network policies and cert management will move faster than one that is new to the cluster. Storage sizing and backup targets add work when data volumes are large or retention rules are strict. Security integration adds work when SAML, OpenID Connect, LDAP or Active Directory must be wired into the Security plugin and roles must map to your groups. The number of clusters multiplies everything, since the operator can manage several clusters, but each one needs its own configuration, certificates and tests.
What does a fixed-scope OpenSearch engagement cover?
A fixed-scope engagement is agreed in writing before work starts, and it names the clusters, the Dashboards instances, the identity and TLS设置, the storage and backup targets, the test plan and the handover items. DeployOpen plans, implements, hardens, documents and hands over these pieces inside your own infrastructure. Ask for the list of deliverables, the acceptance tests you will run, which environments are covered, and what is excluded, such as application-side indexing work or future version upgrades. The quote follows from that written scope, so changes to scope are priced as changes.
What should a quote for this work ask us to compare?
Ask each provider to break the quote into one-time build work and recurring work, and to tie every line to a named deliverable. Useful lines include cluster design, Kubernetes integration, security configuration, backup and restore testing, documentation and knowledge transfer. Compare the assumptions too: how many clusters, how many environments, which identity provider, and who supplies access and approvals. A quote that cannot name its assumptions is hard to hold to account later. DeployOpen does not publish a price list, so the written scope is the basis for comparing offers.
Do we need a retainer for OpenSearch upgrades after the build?
Not always, but most teams should plan for upgrade work. OpenSearch publishes new minor versions about every eight weeks, and each release line stays in maintenance for a fixed period, so a cluster left untouched will fall out of security patching. Upgrades on Kubernetes also depend on the operator version and the Kubernetes version, which follow their own support windows. Your choice is between an internal routine that your team runs each cycle and a retainer that covers upgrades, continuous testing and support. Ask what the retainer includes, how emergency patches are handled, and who tests before production.
What must our team provide before the operator build starts?
Plan to supply cluster access, an identity provider you can test against, and storage and backup targets. For the cluster, that means a namespace or cluster with admin rights for the build, working storage classes, ingress or load balancer options, and a DNS plan. For identity, provide the protocol you use (SAML, OpenID Connect, LDAP or Active Directory), metadata or client registration details, and the group names that will map to OpenSearch roles. For backups, name the snapshot repository target, its credentials and retention rules. Also confirm who approves certificates and who receives the handover.
Which Kubernetes checks should our engineers confirm before the build?
Confirm that your Kubernetes version is still in support and that your cluster meets the operator's own requirements, since the operator documentation sets the versions it supports. Check the Kubernetes version skew rules before any control plane change, because the API server must move one minor version at a time before other components. Verify that Secrets are encrypted at rest in etcd, because Secrets are stored unencrypted by default, and that RBAC limits who can read the TLS and admin secrets that OpenSearch uses. Ask your platform team whether pod security settings and node pools can support the memory and disk layout the cluster needs.
Scaling and upgrading OpenSearch on the operator
The operator automates three day-two actions on an OpenSearchCluster: failure recovery, rolling upgrades and configuration changes, plus volume expansion. Scaling is a change you make to the resource, and the operator then reconciles the node pools to match. Before you change replica counts or pool sizes, confirm in your own environment that the pool's data nodes hold replicas on separate nodes and that shard allocation awareness is set, so that a pool shrinking or restarting does not leave shards without copies. Volume expansion depends on your storage class allowing expansion and on the underlying CSI driver supporting it, so confirm both with your storage team before you plan a resize. Test each of these changes on a non-production cluster first, watching cluster health until it returns to green.
Upgrades have two version lines to track. OpenSearch 3.8.0 was released on August 4, 2026 and 3.9.0 on September 29, 2026, and the project targets a new minor version about every eight weeks. Each release line stays under maintenance until the next major version enters maintenance or one year passes, whichever is longer. During maintenance it receives bug fixes and security patches only, with no new features. Plan your operator and OpenSearch versions so that you move to a supported line on a schedule you can keep, rather than chasing every minor release. Confirm the current support dates on the OpenSearch releases page before you commit to a target version.
The Kubernetes side constrains the order of work. The version skew policy requires kube-apiserver to be upgraded one minor version at a time and before kube-controller-manager, kube-scheduler and kubelets, and kubelets may run up to three minor versions behind the API server. Check the operator's supported Kubernetes versions, the version of your control plane and every node pool in your cluster, and rehearse the upgrade in a staging cluster that mirrors your storage and network setup. Kubernetes maintains only its three most recent minor releases, so an upgrade that slips can leave you on an unpatched control plane. Record the rehearsal results, the rollback point and the owner for each step in your change plan.
How DeployOpen works on this
DeployOpen plans, builds, documents and supports self-hosted OpenSearch inside your own cloud accounts, data centers or air-gapped networks. For operator-based clusters, we start from the written scope of your OpenSearchCluster resources, node pools, security settings and Dashboards, then deliver a cluster your team can run and review.
How we scope
- Written scope covers the OpenSearchCluster resources, node pools and Dashboards deployment you agree to before work starts
- Scope records which Kubernetes distribution, namespaces and storage classes the cluster will run on
- Identity backends, TLS layers and role mappings are listed as in-scope items with named owners on your side
- Engagements are fixed-scope, so deliverables and timelines are agreed in writing before build begins
How we build
- Helm installs the OpenSearch Kubernetes Operator, and the OpenSearchCluster manifests are kept in version control
- Node pools are sized and separated by role, with cluster manager, data and ingest settings reviewed against your workload
- Security plugin configuration, TLS and access control are tested before any production data is loaded
- Scaling, rolling upgrade and volume expansion steps are rehearsed in a non-production cluster first
How we hand over
- Handover includes the manifests, operator version pins, runbooks and a record of configuration decisions
- Your team walks through failure recovery, scaling and upgrade procedures with the delivered cluster
- Test results and the findings from the security review are documented with fixes and any retest evidence
- Ask for a named list of what your staff must operate after handover, so ownership is clear before go-live
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover
- A retainer can cover operator and OpenSearch version upgrades, planned against the project's maintenance policy
- Confirm response expectations, change handling and who approves production changes before signing a retainer
- Quotes follow from the written scope, so ask for each cost component to be listed separately

