elasticvue

by logic3579

Helm chartv1.15.0App 1.15.0MITVerified publisher

A Helm chart for Elasticvue — a web UI for Elasticsearch and OpenSearch

About this chart

elasticvue

A Helm chart for Elasticvue — a web UI for Elasticsearch and OpenSearch.

Prerequisites

  • Kubernetes 1.23+
  • Helm 3.x
  • (Optional) Istio for VirtualService traffic routing
  • (Optional) An existing Secret if you want to keep cluster credentials out of plaintext values

Install

helm repo add logic3579 https://logic3579.github.io/helm-charts
helm repo update

# Bring your own clusters at install time:
helm install elasticvue logic3579/elasticvue \
  --set 'elasticvue.clusters[0].name=local' \
  --set 'elasticvue.clusters[0].uri=http://elasticsearch.es.svc:9200'

Or install with no preset clusters — users add them in the browser at runtime:

helm install elasticvue logic3579/elasticvue

Parameters

Image

ParameterDescriptionDefault
image.repositoryContainer image repositorycars10/elasticvue
image.tagImage tag (defaults to .Chart.AppVersion)""
image.pullPolicyImage pull policyIfNotPresent

Clusters

The chart injects the ELASTICVUE_CLUSTERS env var that Elasticvue reads at startup.

ParameterDescriptionDefault
elasticvue.clustersList of preconfigured clusters — rendered as JSON into ELASTICVUE_CLUSTERS[]
elasticvue.existingSecretUse an existing Secret to supply ELASTICVUE_CLUSTERS (key: ELASTICVUE_CLUSTERS)""

elasticvue.existingSecret and elasticvue.clusters are mutually exclusive — the Secret wins if both are set. Prefer the Secret in production so cluster credentials are not stored in plaintext values.

Each cluster supports the fields documented in the upstream API: name, uri, username, password, apiKey, and a few AWS-IAM fields.

Common Parameters

ParameterDescriptionDefault
replicaCountNumber of replicas1
service.typeService typeClusterIP
service.portService / container port8080
resources.requests.cpuCPU request25m
resources.requests.memoryMemory request32Mi
resources.limits.cpuCPU limit100m
resources.limits.memoryMemory limit128Mi
nodeSelectorNode selector{}
tolerationsTolerations[]
affinityAffinity rules{}

Istio VirtualService

ParameterDescriptionDefault
virtualservice.enabledEnable Istio VirtualServicefalse
virtualservice.gatewaysIstio gateway references[]
virtualservice.hostsVirtualService hostnames[]

The upstream image is built on nginxinc/nginx-unprivileged (UID 101). Probes are TCP because there's no /health endpoint upstream. readOnlyRootFilesystem is intentionally false so the entrypoint can write /usr/share/nginx/html/api/default_clusters.json when ELASTICVUE_CLUSTERS is set, plus the temp files nginx writes to /var/cache/nginx and /var/run.

Examples

Preconfigured cluster, credentials inline (dev only)

elasticvue:
  clusters:
    - name: local
      uri: http://elasticsearch.es.svc:9200
      username: viewer
      password: changeme

Preconfigured cluster, credentials from an existing Secret

# Create the secret separately (e.g. via ESO or kubectl):
#   kubectl create secret generic elasticvue-clusters \
#     --from-literal=ELASTICVUE_CLUSTERS='[{"name":"prod","uri":"http://es:9200","username":"viewer","password":"…"}]'
elasticvue:
  existingSecret: elasticvue-clusters

With Istio VirtualService

virtualservice:
  enabled: true
  gateways:
    - istio-ingress/internal-gateway
  hosts:
    - elasticvue.example.com

Deploy elasticvue with OpenTenant

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