Set up OpenSearch in Kubernetes for search, analytics, and in-app notifications in SuprSend.
This guide walks you through setting up OpenSearch in Kubernetes for SuprSend’s self‑hosted deployments. OpenSearch provides the backbone for search, analytics, and observability features in SuprSend.SuprSend recommends using a managed OpenSearch service (AWS OpenSearch, GCP Elastic, or Azure Elastic) for production environments to reduce operational overhead and ensure high availability.However, for self‑managed or air‑gapped environments, you can deploy OpenSearch directly in Kubernetes using the OpenSearch Operator.
Once your OpenSearch cluster is operational, configure SuprSend to use it.
This section shows only the OpenSearch-specific configuration. You must also configure other required secrets and values for SuprSend to work properly. See the complete configuration guide: SuprSend Installation Guide
Kubernetes secret and Helm values (single reference)
Wire OpenSearch in one place for the secret payload and one place in values for the key name the chart expects.1. suprsend-secrets.yaml (excerpt) - set the real connection URL under stringData:
suprsend-secrets.yaml (OpenSearch excerpt)
apiVersion: v1kind: Secretmetadata: name: suprsend-secrets namespace: suprsendtype: OpaquestringData: # ... other keys from the installation guide ... # Full OpenSearch URL (scheme, user, password, host, port, path as needed) opensearchConnUrlKey: "https://admin:SuperStrong#Passw0rd@suprsend-opensearch-cluster.opensearch.svc.cluster.local:9200"
2. suprsend-values.yaml (excerpt) - point the inbox API at that secret and the key name inside it:
suprsend-values.yaml (OpenSearch excerpt)
suprsendInboxApi: secret: existingKubeSecret: "suprsend-secrets" # Must match the key name in the Secret above (value is the env var name, not the URL itself) opensearchConnUrlKey: "opensearchConnUrlKey"
The URL lives only in the Kubernetes Secret (opensearchConnUrlKey under stringData). The Helm values only reference which secret (existingKubeSecret) and which key (opensearchConnUrlKey) to read.