opensearch-singlenode
by captnbp
OpenSearch is a distributed search and analytics engine. It is used for web search, log monitoring, and real-time analytics. Ideal for Big Data applications.
About this chart
Opensearch (single node)
Opensearch is a distributed search and analytics engine. It is used for web search, log monitoring, and real-time analytics. Ideal for Big Data applications.
Trademarks: This software listing is packaged by Benoît Pourre. The respective trademarks mentioned in the offering are owned by the respective companies, and use of them does not imply any affiliation or endorsement.
For the cluster version of Opensearch helm chart : https://lab.frogg.it/captnbp/opensearch
TL;DR
$ helm install my-release oci://registry-1.docker.io/captnbp/opensearch-singlenode
Introduction
This chart bootstraps a single node Opensearch deployment on a Kubernetes cluster using the Helm package manager.
Prerequisites
- Kubernetes 1.19+
- Helm 3.2.0+
- PV provisioner support in the underlying infrastructure
- cert-manager
Installing the Chart
To install the chart with the release name my-release:
$ helm install my-release oci://registry-1.docker.io/captnbp/opensearch-singlenode
These commands deploy Opensearch on the Kubernetes cluster in the default configuration. The Parameters section lists the parameters that can be configured during installation.
Tip: List all releases using
helm list
Uninstalling the Chart
To uninstall/delete the my-release release:
$ helm delete my-release
The command removes all the Kubernetes components associated with the chart and deletes the release. Remove also the chart using --purge option:
$ helm delete --purge my-release
Parameters
Global parameters
| Name | Description | Value |
|---|---|---|
global.imageRegistry | Global Docker image registry | "" |
global.imagePullSecrets | Global Docker registry secret names as an array | [] |
global.storageClass | Global StorageClass for Persistent Volume(s) | "" |
Common parameters
| Name | Description | Value |
|---|---|---|
nameOverride | String to partially override common.names.fullname template (will maintain the release name) | "" |
fullnameOverride | String to fully override common.names.fullname template | "" |
clusterDomain | Kubernetes cluster domain | cluster.local |
commonLabels | Labels to add to all deployed objects | {} |
commonAnnotations | Annotations to add to all deployed objects | {} |
extraDeploy | Array of extra objects to deploy with the release | [] |
diagnosticMode.enabled | Enable diagnostic mode (all probes will be disabled and the command will be overridden) | false |
diagnosticMode.command | Command to override all containers in the deployment | ["sleep"] |
diagnosticMode.args | Args to override all containers in the deployment | ["infinity"] |
Opensearch parameters
| Name | Description | Value |
|---|---|---|
image.registry | Opensearch image registry | docker.io |
image.repository | Opensearch image repository | opensearchproject/opensearch |
image.tag | Opensearch image tag (immutable tags are recommended) | 2.15.0 |
image.pullPolicy | Opensearch image pull policy | IfNotPresent |
image.pullSecrets | Opensearch image pull secrets | [] |
image.debug | Enable image debug mode | false |
security.opensearchPassword | Password for 'admin' user | "" |
security.dashboardsPassword | Password for reserved 'dashboard' user | "" |
security.monitoringPassword | Password for reserved 'monitoring' user | "" |
security.existingSecret | Name of the existing secret containing the Opensearch passwords | "" |
security.tls.http.autoGenerated | Create cert-manager signed TLS certificates. | true |
security.tls.http.algorithm | Algorithm of the private key. Allowed values are either RSA,Ed25519 or ECDSA. | RSA |
security.tls.http.size | Size is the key bit size of the corresponding private key for this certificate. If algorithm is set to RSA, valid values are 2048, 4096 or 8192, and will default to 2048 if not specified. If algorithm is set to ECDSA, valid values are 256, 384 or 521, and will default to 256 if not specified. If algorithm is set to Ed25519, Size is ignored. No other values are allowed. | 2048 |
security.tls.http.opensearch.existingSecret | Existing secret containing the certificates for the opensearch nodes | "" |
security.tls.http.keyPassword | Password to access the PEM key when they are password-protected. | "" |
security.tls.http.subject.organizations | Subject's organization |
Deploy opensearch-singlenode with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has opensearch-singlenode on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartopensearch-singlenode is pinned at v1.0.9 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply