kibana

by HelmForge

Helm chartv1.2.2App 9.5.1Apache-2.0Verified publisher

Production-ready Kibana with secure Elasticsearch connectivity, Wolfi image support, Gateway API, and dual-stack services

About this chart

Kibana

Kibana is the Elastic Stack analytics and visualization UI for Elasticsearch.

This HelmForge chart deploys Kibana with the official Elastic image, optional Wolfi image hardening, secure Elasticsearch credential wiring, optional HelmForge Elasticsearch subchart support, and static encryption key support.

It also includes Gateway API, dual-stack services, NetworkPolicy, PDB, External Secrets Operator integration, and focused Helm tests.

NetworkPolicy supports networkPolicy.extraEgress for appending egress rules without replacing the generated DNS, Elasticsearch, and networkPolicy.egress.extra controls.

Install

helm repo add helmforge https://repo.helmforge.dev
helm repo update
helm install kibana helmforge/kibana

Elastic recommends running the same Elastic Stack version across Kibana and Elasticsearch. The default chart version targets Kibana 9.5.1.

HelmForge Elasticsearch Subchart

The chart deploys HelmForge Elasticsearch by default so local and validation installs are self-contained:

bundledElasticsearch:
  enabled: true

bundled-elasticsearch:
  image:
    tag: "9.5.1"

For production, keep bundledElasticsearch.enabled=false and connect to an independently operated Elasticsearch cluster.

Configuration

The application listener and Kubernetes Service port are independent:

PurposeProcess listenerService port
Kibana HTTPcontainerPorts.http (default 5601)service.port (default 5601)

Changing containerPorts.http writes Kibana's official server.port setting, updates the container port and NetworkPolicy, and keeps probes on the named http port. The Service always targets that named port, so service.port may be changed independently.

containerPorts:
  http: 15601
service:
  port: 15602

Upgrade compatibility

Chart 1.2 keeps the legacy service.targetPort: http value upgrade-compatible; the Service routes to the named listener managed by containerPorts.http. A retained integer or string target equal to containerPorts.http is also accepted. Only a divergent target is rejected with migration guidance so routing cannot silently diverge from Kibana's real listener.

The bundled Elasticsearch dependency moved from 1.x to 2.x. Export the release overrides, then edit retained-values.yaml to move custom bundled-elasticsearch.resources settings to bundled-elasticsearch.master.resources. The Elasticsearch dependency schema rejects the obsolete path instead of ignoring it. Review the Elasticsearch 2.x storage and security contracts before upgrading a persistent bundled cluster.

Do not upgrade from chart 1.1.x with --reuse-values alone. It can omit the newer networkPolicy parent map and make template rendering fail at .Values.networkPolicy.enabled. Export the release overrides with (umask 077 && helm get values RELEASE -o yaml > retained-values.yaml) so the file is created with owner-only permissions. Apply the Elasticsearch value migration described above. On Helm versions that support --hide-secret, preview with helm upgrade RELEASE helmforge/kibana --reset-values -f retained-values.yaml --dry-run --hide-secret. Then perform the actual upgrade, without either preview-only flag, with helm upgrade RELEASE helmforge/kibana --reset-values -f retained-values.yaml. Use this migrated-file upgrade procedure for every affected release, regardless of Helm version. If --hide-secret is unavailable, skip the preview rather than expose rendered Secret manifests. Run previews only in a trusted environment and keep any remaining sensitive output out of logs. Use an equivalent owner-only creation method on non-POSIX systems and remove retained-values.yaml immediately after the upgrade.

Production Notes

Use static encryption keys for HA deployments. Kibana uses these keys for sessions, reporting, and encrypted saved objects. Rotating pods without stable keys can invalidate sessions and break encrypted object access.

replicaCount: 2
encryptionKeys:
  existingSecret: kibana-encryption-keys

For secured Elasticsearch clusters, use either basic auth or an Elasticsearch service account token:

bundledElasticsearch:
  enabled: false

elasticsearch:
  hosts:
    - https://elasticsearch:9200
  auth:
    type: serviceAccountToken
    existingSecret: kibana-elasticsearch-token
  tls:
    enabled: true
    certificateAuthoritiesSecret: elasticsearch-ca
    verificationMode: certificate

Hardened Image

Elastic publishes a Wolfi-based Kibana image. Enable it with:

image:
  flavor: wolfi

Gateway API

gateway:
  enabled: true
  parentRefs:
    - name: shared-gateway
      namespace: gateway-system
  hostnames:
    - kibana.example.com

Parameters

NameDescriptionDefault
image.repositoryOfficial Elastic Kibana image repositorydocker.elastic.co/kibana/kibana
image.wolfiRepositoryOfficial Elastic Kibana Wolfi image repositorydocker.elastic.co/kibana/kibana-wolfi
image.flavorImage flavor: default or wolfidefault
image.tagKibana image tag9.5.1
replicaCountNumber of Kibana replicas1
containerPorts.httpKibana server.port application listener5601
service.portKubernetes Service port5601
elasticsearch.hostsExternal Elasticsearch URLs used when bundled mode is disabled[http://elasticsearch:9200]
bundledElasticsearch.enabledEnable HelmForge Elasticsearch dependencytrue
elasticsearch.auth.typeElasticsearch auth mode: none, basic, serviceAccountTokennone
elasticsearch.auth.existingSecretSecret containing Elasticsearch credentials""
elasticsearch.tls.enabledConfigure Elasticsearch CA trustfalse
encryptionKeys.existingSecretSecret containing Kibana encryption keys""
waitForElasticsearch.enabledWait for the first Elasticsearch endpoint before starting Kibanatrue
service.ipFamilyPolicyDual-stack ipFamilyPolicynull
ingress.enabledCreate Kubernetes Ingressfalse
gateway.enabledCreate Gateway API HTTPRoutefalse
networkPolicy.enabledCreate NetworkPolicyfalse
externalSecrets.enabledCreate ExternalSecret for Kibana secretsfalse
serviceMonitor.enabledCreate ServiceMonitorfalse

Validation

helm dependency build charts/kibana
helm lint --strict charts/kibana
helm unittest charts/kibana
helm template kibana-test charts/kibana | kubeconform -strict -summary

Documentation

  • Design
  • Production guide
  • Elasticsearch connectivity
  • Networking
  • External Secrets

Security Scan: kibana

FrameworkScore
MITRE + NSA + SOC288.333336%

Security posture: acceptable.

Deploy kibana with OpenTenant

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