opensearch-dashboards
by captnbp
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.
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
| Name | Description | Value |
|---|---|---|
global.imageRegistry | Global Docker image registry | "" |
global.imagePullSecrets | Global Docker registry secret names as an array | [] |
Common parameters
| Name | Description | Value |
|---|---|---|
kubeVersion | Force target Kubernetes version (using Helm capabilities if not set) | "" |
nameOverride | String to partially override common.names.fullname template with a string (will prepend the release name) | "" |
fullnameOverride | String to fully override common.names.fullname template with a string | "" |
commonAnnotations | Annotations to add to all deployed objects | {} |
commonLabels | Labels to add to all deployed objects | {} |
extraDeploy | A list of extra kubernetes resources to be deployed | [] |
clusterDomain | Kubernetes cluster domain name | cluster.local |
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 the deployment(s)/statefulset(s) | ["sleep"] |
diagnosticMode.args | Args to override all containers in the the deployment(s)/statefulset(s) | ["infinity"] |
Opensearch Dashboards deployment parameters
| Name | Description | Value |
|---|---|---|
image.registry | Dashboard image registry | docker.io |
image.repository | Dashboard image repository | opensearchproject/opensearch-dashboards |
image.tag | Dashboard image tag (immutable tags are recommended) | 2.15.0 |
image.pullPolicy | Dashboard image pull policy | IfNotPresent |
image.pullSecrets | Specify docker-registry secret names as an array | [] |
replicaCount | Number of replicas of the Opensearch Dashboards Pod | 1 |
updateStrategy.type | Set up update strategy for Opensearch Dashboards installation. | RollingUpdate |
schedulerName | Alternative scheduler | "" |
priorityClassName | opensearch-dashboards pods' priorityClassName | "" |
terminationGracePeriodSeconds | In seconds, time the given to the opensearch-dashboards pod needs to terminate gracefully | "" |
topologySpreadConstraints | Topology Spread Constraints for pod assignment | [] |
hostAliases | Add deployment host aliases | [] |
plugins | Array containing the Opensearch Dashboards plugins to be installed in deployment | [] |
extraConfiguration | Extra settings to be added to the default opensearch_dashboards.yml configmap that the chart creates (unless replaced using configurationCM). Evaluated as a template | {} |
configurationCM | ConfigMap containing a opensearch_dashboards.yml file that will replace the default one specified in configuration.yaml | "" |
command | Override default container command (useful when using custom images) | [] |
args | Override default container args (useful when using custom images) | [] |
lifecycleHooks | for the opensearch-dashboards container(s) to automate configuration before or after startup | {} |
extraEnvVars | Array containing extra env vars to configure Opensearch Dashboards | [] |
extraEnvVarsCM | ConfigMap containing extra env vars to configure Opensearch Dashboards | "" |
extraEnvVarsSecret | Secret containing extra env vars to configure Opensearch Dashboards (in case of sensitive data) | "" |
extraVolumes | Array to add extra volumes. Requires setting extraVolumeMounts | [] |
extraVolumeMounts | Array to add extra mounts. Normally used with extraVolumes | [] |
livenessProbe.enabled | Enable/disable the Liveness probe | true |
livenessProbe.initialDelaySeconds | Delay before liveness probe is initiated | 120 |
livenessProbe.periodSeconds | How often to perform the probe | 10 |
livenessProbe.timeoutSeconds | When the probe times out | 5 |
livenessProbe.failureThreshold | Minimum consecutive failures for the probe to be considered failed after having succeeded. | 6 |
livenessProbe.successThreshold | Minimum consecutive successes for the probe to be considered successful after having failed. | 1 |
readinessProbe.enabled | Enable/disable the Readiness probe | true |
readinessProbe.initialDelaySeconds | Delay before readiness probe is initiated | 30 |
readinessProbe.periodSeconds | How often to perform the probe | 10 |
readinessProbe.timeoutSeconds | When the probe times out | 5 |
readinessProbe.failureThreshold | Minimum consecutive failures for the probe to be considered failed after having succeeded. | 6 |
readinessProbe.successThreshold | Minimum consecutive successes for the probe to be considered successful after having failed. | 1 |
containerPorts.http | Port 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartopensearch-dashboards is pinned at v2.2.1 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