opensearch-project/opensearch-k8s-operator ? reverse-engineered prompt
Reverse engineered prompt
Build me a Kubernetes operator for OpenSearch that makes it easy to install, run, and manage OpenSearch clusters and OpenSearch Dashboards from custom resources.
I want it to support multiple node pools, different node roles like manager, data, ingest, and coordinating, plus manual scaling for each pool. It should handle safe rolling upgrades, online disk expansion, TLS certificate management with hot reloading, plugin installation during bootstrap, and clusters running across multiple namespaces. Please also include Helm charts so it can be installed easily on a standard Kubernetes cluster, and make sure there’s a clear way to create the first OpenSearch cluster with an OpenSearchCluster resource.
Use the current OpenSearch and Kubernetes best practices, and if you need to check anything that has changed recently, look up the latest docs online.
Are you gonna build this?
make sure you review the code using coderabbit