opensearch-singlenode

by captnbp

Helm chartv1.0.9App 2.15.0MITVerified publisher

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.

Overview of Opensearch

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

NameDescriptionValue
global.imageRegistryGlobal Docker image registry""
global.imagePullSecretsGlobal Docker registry secret names as an array[]
global.storageClassGlobal StorageClass for Persistent Volume(s)""

Common parameters

NameDescriptionValue
nameOverrideString to partially override common.names.fullname template (will maintain the release name)""
fullnameOverrideString to fully override common.names.fullname template""
clusterDomainKubernetes cluster domaincluster.local
commonLabelsLabels to add to all deployed objects{}
commonAnnotationsAnnotations to add to all deployed objects{}
extraDeployArray of extra objects to deploy with the release[]
diagnosticMode.enabledEnable diagnostic mode (all probes will be disabled and the command will be overridden)false
diagnosticMode.commandCommand to override all containers in the deployment["sleep"]
diagnosticMode.argsArgs to override all containers in the deployment["infinity"]

Opensearch parameters

NameDescriptionValue
image.registryOpensearch image registrydocker.io
image.repositoryOpensearch image repositoryopensearchproject/opensearch
image.tagOpensearch image tag (immutable tags are recommended)2.15.0
image.pullPolicyOpensearch image pull policyIfNotPresent
image.pullSecretsOpensearch image pull secrets[]
image.debugEnable image debug modefalse
security.opensearchPasswordPassword for 'admin' user""
security.dashboardsPasswordPassword for reserved 'dashboard' user""
security.monitoringPasswordPassword for reserved 'monitoring' user""
security.existingSecretName of the existing secret containing the Opensearch passwords""
security.tls.http.autoGeneratedCreate cert-manager signed TLS certificates.true
security.tls.http.algorithmAlgorithm of the private key. Allowed values are either RSA,Ed25519 or ECDSA.RSA
security.tls.http.sizeSize 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.existingSecretExisting secret containing the certificates for the opensearch nodes""
security.tls.http.keyPasswordPassword to access the PEM key when they are password-protected.""
security.tls.http.subject.organizationsSubject'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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartopensearch-singlenode is pinned at v1.0.9 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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