opensearch-dashboards

by captnbp

Helm chartv2.2.1App 2.15.0MITVerified publisher

Opensearch Dashboards is an open source, browser based analytics and search dashboard for Opensearch. Opensearch Dashboards strives to be easy to get started with, while also being flexible and powerful.

About this chart

Opensearch Dashboards

Opensearch Dashboards is an open source, browser based analytics and search for Opensearch. Opensearch Dashboards strives to be easy to get started with, while also being flexible and powerful.

Overview of Dashboards

TL;DR

$ helm install my-release oci://registry-1.docker.io/captnbp/opensearch-dashboards

Introduction

This chart bootstraps a Opensearch Dashboards deployment on a Kubernetes cluster using the Helm package manager.

Prerequisites

  • Kubernetes 1.26+
  • Helm 3.10.0+

Installing the Chart

This chart requires an Opensearch instance to work. You can use an already existing Opensearch instance.

To install the chart with the release name my-release:

$ helm install my-release oci://registry-1.docker.io/captnbp/opensearch-dashboards

These commands deploy Opensearch Dashboards 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 statefulset:

$ helm delete my-release

The command removes all the Kubernetes components associated with the chart and deletes the release. Use the option --purge to delete all history too.

Parameters

Global parameters

NameDescriptionValue
global.imageRegistryGlobal Docker image registry""
global.imagePullSecretsGlobal Docker registry secret names as an array[]

Common parameters

NameDescriptionValue
kubeVersionForce target Kubernetes version (using Helm capabilities if not set)""
nameOverrideString to partially override common.names.fullname template with a string (will prepend the release name)""
fullnameOverrideString to fully override common.names.fullname template with a string""
commonAnnotationsAnnotations to add to all deployed objects{}
commonLabelsLabels to add to all deployed objects{}
extraDeployA list of extra kubernetes resources to be deployed[]
clusterDomainKubernetes cluster domain namecluster.local
diagnosticMode.enabledEnable diagnostic mode (all probes will be disabled and the command will be overridden)false
diagnosticMode.commandCommand to override all containers in the the deployment(s)/statefulset(s)["sleep"]
diagnosticMode.argsArgs to override all containers in the the deployment(s)/statefulset(s)["infinity"]

Opensearch Dashboards deployment parameters

NameDescriptionValue
image.registryDashboard image registrydocker.io
image.repositoryDashboard image repositoryopensearchproject/opensearch-dashboards
image.tagDashboard image tag (immutable tags are recommended)2.15.0
image.pullPolicyDashboard image pull policyIfNotPresent
image.pullSecretsSpecify docker-registry secret names as an array[]
replicaCountNumber of replicas of the Opensearch Dashboards Pod1
updateStrategy.typeSet up update strategy for Opensearch Dashboards installation.RollingUpdate
schedulerNameAlternative scheduler""
priorityClassNameopensearch-dashboards pods' priorityClassName""
terminationGracePeriodSecondsIn seconds, time the given to the opensearch-dashboards pod needs to terminate gracefully""
topologySpreadConstraintsTopology Spread Constraints for pod assignment[]
hostAliasesAdd deployment host aliases[]
pluginsArray containing the Opensearch Dashboards plugins to be installed in deployment[]
extraConfigurationExtra settings to be added to the default opensearch_dashboards.yml configmap that the chart creates (unless replaced using configurationCM). Evaluated as a template{}
configurationCMConfigMap containing a opensearch_dashboards.yml file that will replace the default one specified in configuration.yaml""
commandOverride default container command (useful when using custom images)[]
argsOverride default container args (useful when using custom images)[]
lifecycleHooksfor the opensearch-dashboards container(s) to automate configuration before or after startup{}
extraEnvVarsArray containing extra env vars to configure Opensearch Dashboards[]
extraEnvVarsCMConfigMap containing extra env vars to configure Opensearch Dashboards""
extraEnvVarsSecretSecret containing extra env vars to configure Opensearch Dashboards (in case of sensitive data)""
extraVolumesArray to add extra volumes. Requires setting extraVolumeMounts[]
extraVolumeMountsArray to add extra mounts. Normally used with extraVolumes[]
livenessProbe.enabledEnable/disable the Liveness probetrue
livenessProbe.initialDelaySecondsDelay before liveness probe is initiated120
livenessProbe.periodSecondsHow often to perform the probe10
livenessProbe.timeoutSecondsWhen the probe times out5
livenessProbe.failureThresholdMinimum consecutive failures for the probe to be considered failed after having succeeded.6
livenessProbe.successThresholdMinimum consecutive successes for the probe to be considered successful after having failed.1
readinessProbe.enabledEnable/disable the Readiness probetrue
readinessProbe.initialDelaySecondsDelay before readiness probe is initiated30
readinessProbe.periodSecondsHow often to perform the probe10
readinessProbe.timeoutSecondsWhen the probe times out5
readinessProbe.failureThresholdMinimum consecutive failures for the probe to be considered failed after having succeeded.6
readinessProbe.successThresholdMinimum consecutive successes for the probe to be considered successful after having failed.1
containerPorts.httpPort to expose at container level

Deploy opensearch-dashboards with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has opensearch-dashboards 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-dashboards is pinned at v2.2.1 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