kibana
by Wiremind
A Helm chart for Kibana
About this chart
Kibana Helm Chart
This Helm chart is a lightweight way to configure and run our official [Kibana Docker image][].
Warning When it comes to running the Elastic on Kubernetes infrastructure, we recommend [Elastic Cloud on Kubernetes][] (ECK) as the best way to run and manage the Elastic Stack.
ECK offers many operational benefits for both our basic-tier and our enterprise-tier customers, such as spinning up cluster nodes that were lost on failed infrastructure, seamless upgrades, rolling cluster changes, and much much more.
With the release of the Elastic Stack Helm charts for Elastic version 8.5.1, we are handing over the ongoing maintenance of our Elastic Stack Helm charts to the community and contributors. This repository will finally be archived after 6 months time. Elastic Stacks deployed on Kubernetes through Helm charts will still be fully supported under EOL limitations.
Since we want to provide an even better experience for our customers by running the Elastic Stack on Kubernetes, we will continue maintaining the Helm charts applicable to ECK Custom Resources. These charts can be found in the [ECK repository][eck-charts].
Helm charts will currently be maintained for ECK Enterprise-tier customers, however, we encourage the community to engage with the existing Helm charts for the Elastic Stack and continue supporting their ongoing maintenance.
See https://github.com/elastic/helm-charts/issues/1731 for more details.
- Requirements
- Installing
- Install a released version using the Helm repository
- Install a development version using the main branch
- Upgrading
- Usage notes
- Configuration
- FAQ
- How to deploy this chart on a specific K8S distribution?
- How to use Kibana with security (authentication and TLS) enabled?
- How to install plugins?
- How to import objects post-deployment?
- Contributing
Requirements
See [supported configurations][] for more details.
Installing
Install a released version using the Helm repository
-
Add the Wiremind Helm charts repo:
helm repo add wiremind https://wiremind.github.io/wiremind-helm-charts -
Install it:
helm install kibana wiremind/kibana
Install a development version using the main branch
-
Clone the git repo:
git clone [email protected]:wiremind/wiremind-helm-charts.git -
Install it:
helm install kibana ./helm-charts/kibana --set imageTag=8.5.1
Upgrading
Please always check [CHANGELOG.md][] and [BREAKING_CHANGES.md][] before upgrading to a new chart version.
Usage notes
-
Automated testing of this chart is currently only run against GKE (Google Kubernetes Engine).
-
This repo includes several [examples][] of configurations that can be used as a reference. They are also used in the automated testing of this chart.
Configuration
| Parameter | Description | Default |
|---|---|---|
affinity | Configurable [affinity][] | {} |
annotations | Configurable [annotations][] on the deployment object | {} |
automountToken | Whether or not to automount the service account token in the Pod | true |
elasticsearchHosts | The URLs used to connect to Elasticsearch | https://elasticsearch-master:9200 |
elasticsearchCertificateSecret | The name of the K8S [secret][kubernetes secrets] that contains the Elasticsearch certificate | elasticsearch-master-certs |
elasticsearchCertificateAuthoritiesFile | The name of the certificate file into the elasticsearchCertificateSecret K8S secret | ca.crt |
elasticsearchCredentialSecret | The name of the K8S [secret][kubernetes secrets] that contains the Elasticsearch credentials | elasticsearch-master-credentials |
envFrom | Templatable string to be passed to the [environment from variables][] which will be appended to the envFrom: definition for the container | [] |
extraContainers | Templatable string of additional containers to be passed to the tpl function | [] |
extraEnvs | Extra [environment variables][] which will be appended to the env: definition for the container | see [values.yaml][] |
extraInitContainers | Templatable string of additional containers to be passed to the tpl function | [] |
extraVolumeMounts | Configuration for additional volumeMounts | [] |
extraVolumes | Configuration for additional volumes | [] |
fullnameOverride | Overrides the full name of the resources. If not set the name will default to " .Release.Name - .Values.nameOverride orChart.Name " | "" |
healthCheckPath | The path used for the readinessProbe to check that Kibana is ready. If you are setting server.basePath you will also need to update this to /${basePath}/app/kibana | /app/kibana |
hostAliases | Configurable [hostAliases][] | [] |
httpPort | The http port that Kubernetes will use for the healthchecks and the service | 5601 |
imagePullPolicy | The Kubernetes [imagePullPolicy][]value | IfNotPresent |
imagePullSecrets | Configuration for [imagePullSecrets][] so that you can use a private registry for your image | [] |
imageTag | The Kibana Docker image tag | 8.5.1 |
image | The Kibana Docker image | docker.elastic.co/kibana/kibana |
ingress | Configurable [ingress][] to expose the Kibana service. | see [values.yaml][] |
kibanaConfig | Allows you to add any config files in /usr/share/kibana/config/ such as kibana.yml See [values.yaml][] for an example of the formatting | {} |
labels | Configurable [labels][] applied to all Kibana pods | {} |
lifecycle | Allows you to add [lifecycle hooks][]. See [values.yaml][] for an example of the formatting | {} |
nameOverride | Overrides the chart name for resources. If not set the name will default to .Chart.Name | "" |
nodeSelector | Configurable [nodeSelector][] so that you can target specific nodes for your Kibana instances | {} |
podAnnotations | Configurable [annotations][] applied to all Kibana pods | {} |
podSecurityContext | Allows you to set the [securityContext][] for the pod | see [values.yaml][] |
priorityClassName | The name of the [PriorityClass][]. No default is supplied as the PriorityClass must be created first | "" |
protocol | The protocol that will be used for the readinessProbe. Change this to https if you have server.ssl.enabled: true set | http |
readinessProbe | Configuration for the readiness [probe][] | see [values.yaml][] |
replicas | Kubernetes replica count for the Deployment (i.e. how many pods) | 1 |
resources | Allows you to set the [resources][] for the Deployment | see [values.yaml][] |
secretMounts | Allows you easily mount a secret as a file inside the Deployment. Useful for mounting certificates and other secrets. See [values.yaml][] for an example |
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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartkibana is pinned at v8.5.24 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