kibana
Kibana is an open source data visualization plugin for Elasticsearch
About this chart
kibana - D2IQ
kibana is your window into the Elastic Stack. Specifically, it's an open source (Apache Licensed), browser-based analytics and search dashboard for Elasticsearch.
TL;DR;
$ helm install stable/kibana
Introduction
This chart bootstraps a kibana deployment on a Kubernetes cluster using the Helm package manager.
This chart is a combination of the upstream chart found at here and the previous official community chart. The community chart has since been deprecated. At D2IQ, we have found certain important tooling and ease of use has since been removed or refactored from the community version. To allow an easy transition from the community chart, while taking advantage of new changes from the now official chart, we have created our own new chart here.
The changes include:
- Refactored how dashboards are defined, but preserved the option of enabling dashboard imports easily.
- Changed the default kibana config file values.
- Changed assuming major version of '7', previous versions are not likely to be supported on this chart.
- Removed tests that expect elastic-search.
Installing the Chart
To install the chart with the release name my-release:
$ helm install my-release stable/kibana
The command deploys kibana on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.
NOTE : We notice that lower resource constraints given to the chart + plugins are likely not going to work well.
Uninstalling the Chart
To uninstall/delete the my-release deployment:
$ helm remove my-release
The command removes all the Kubernetes components associated with the chart and deletes the release.
Configuration
We keep the following table for historical reasons, since we realize this table may not be up-to-date with the latest configurations.
| Parameter | Description | Default |
|---|---|---|
affinity | node/pod affinities | None |
env | Environment variables to configure Kibana | {} |
envFromSecrets | Environment variables from secrets to the cronjob container | {} |
envFromSecrets.*.from.secret | - secretKeyRef.name used for environment variable | |
envFromSecrets.*.from.key | - secretKeyRef.key used for environment variable | |
files | Kibana configuration files | None |
livenessProbe.enabled | livenessProbe to be enabled? | false |
livenessProbe.path | path for livenessProbe | /status |
livenessProbe.initialDelaySeconds | number of seconds | 30 |
livenessProbe.timeoutSeconds | number of seconds | 10 |
image.pullPolicy | Image pull policy | IfNotPresent |
image.repository | Image repository | docker.elastic.co/kibana/kibana-oss |
image.tag | Image tag | 6.7.0 |
image.pullSecrets | Specify image pull secrets | nil |
commandline.args | add additional commandline args | nil |
ingress.enabled | Enables Ingress | false |
ingress.annotations | Ingress annotations | None: |
ingress.hosts | Ingress accepted hostnames | None: |
ingress.tls | Ingress TLS configuration | None: |
nodeSelector | node labels for pod assignment | {} |
podAnnotations | annotations to add to each pod | {} |
podLabels | labels to add to each pod | {} |
replicaCount | desired number of pods | 1 |
revisionHistoryLimit | revisionHistoryLimit | 3 |
serviceAccountName | DEPRECATED: use serviceAccount.name | nil |
serviceAccount.create | create a serviceAccount to run the pod | false |
serviceAccount.name | name of the serviceAccount to create | kibana.fullname |
authProxyEnabled | enables authproxy. Create container in extracontainers | false |
extraContainers | Sidecar containers to add to the kibana pod | {} |
extraVolumeMounts | additional volumemounts for the kibana pod | [] |
extraVolumes | additional volumes to add to the kibana pod | [] |
resources | pod resource requests & limits | {} |
priorityClassName | priorityClassName | nil |
service.externalPort | external port for the service | 443 |
service.internalPort | internal port for the service | 4180 |
service.portName | service port name | None: |
service.authProxyPort | port to use when using sidecar authProxy | None: |
service.externalIPs | external IP addresses | None: |
service.loadBalancerIP | Load Balancer IP address | None: |
service.loadBalancerSourceRanges | Limit load balancer source IPs to list of CIDRs (where available)) | [] |
service.nodePort | NodePort value if service.type is NodePort | None: |
service.type | type of service | ClusterIP |
service.clusterIP | static clusterIP or None for headless services | None: |
service.annotations | Kubernetes service annotations | None: |
service.labels | Kubernetes service labels | None: |
service.selector | Kubernetes service selector | {} |
tolerations | List of node taints to tolerate | [] |
dashboardImport.enabled | Enable dashboard import | false |
dashboardImport.timeout | Time in seconds waiting for Kibana to be in green overall state | 60 |
dashboardImport.basePath | Customizing base path url during dashboard import | / |
dashboardImport.xpackauth.enabled | Enable Xpack auth | false |
dashboardImport.xpackauth.username | Optional Xpack username | myuser |
dashboardImport.xpackauth.password | Optional Xpack password | mypass |
dashboardImport.dashboards | Dashboards | {} |
plugins.enabled | Enable installation of plugins. | false |
plugins.reset | Optional : Remove all installed plugins before installing all new ones | false |
plugins.values | List of plugins to install. Format | None: |
persistentVolumeClaim.enabled | Enable PVC for plugins | false |
persistentVolumeClaim.existingClaim | Use your own PVC for plugins | false |
persistentVolumeClaim.annotations | Add your annotations for the PVC | {} |
persistentVolumeClaim.accessModes | Acces mode to the PVC | ReadWriteOnce |
persistentVolumeClaim.size | Size of the PVC | 5Gi |
persistentVolumeClaim.storageClass | Storage class of the PVC | None: |
readinessProbe.enabled | readinessProbe to be enabled? | false |
readinessProbe.path | path for readinessProbe | /status |
readinessProbe.initialDelaySeconds | number of seconds | 30 |
readinessProbe.timeoutSeconds | number of seconds | 10 |
readinessProbe.periodSeconds | number of seconds | 10 |
readinessProbe.successThreshold | number of successes | 5 |
securityContext.enabled | Enable security context (should be true for PVC) | false |
securityContext.allowPrivilegeEscalation | Allow privilege escalation | false |
securityContext.runAsUser | User id to run in pods | 1000 |
| `securityCo |
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 v3.3.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