kibana

by stakater

Helm chartv1.1.1App 6.5.3Verified publisher

Kibana is an open source data visualization plugin for Elasticsearch

About this chart

kibana

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.

Installing the Chart

To install the chart with the release name my-release:

$ helm install stable/kibana --name my-release

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 delete my-release

The command removes all the Kubernetes components associated with the chart and deletes the release.

Configuration

The following table lists the configurable parameters of the kibana chart and their default values.

ParameterDescriptionDefault
affinitynode/pod affinitiesNone
envEnvironment variables to configure Kibana{}
filesKibana configuration filesNone
livenessProbe.enabledlivenessProbe to be enabled?false
livenessProbe.initialDelaySecondsnumber of seconds30
livenessProbe.timeoutSecondsnumber of seconds10
image.pullPolicyImage pull policyIfNotPresent
image.repositoryImage repositorydocker.elastic.co/kibana/kibana-oss
image.tagImage tag6.5.3
image.pullSecretsSpecify image pull secretsnil
commandline.argsadd additional commandline argsnil
ingress.enabledEnables Ingressfalse
ingress.annotationsIngress annotationsNone:
ingress.hostsIngress accepted hostnamesNone:
ingress.tlsIngress TLS configurationNone:
nodeSelectornode labels for pod assignment{}
podAnnotationsannotations to add to each pod{}
replicaCountdesired number of pods1
revisionHistoryLimitrevisionHistoryLimit3
serviceAccountNameDEPRECATED: use serviceAccount.namenil
serviceAccount.createcreate a serviceAccount to run the podfalse
serviceAccount.namename of the serviceAccount to createkibana.fullname
authProxyEnabledenables authproxy. Create container in extracontainersfalse
extraContainersSidecar containers to add to the kibana pod{}
resourcespod resource requests & limits{}
priorityClassNamepriorityClassNamenil
service.externalPortexternal port for the service443
service.internalPortinternal port for the service4180
service.authProxyPortport to use when using sidecar authProxyNone:
service.externalIPsexternal IP addressesNone:
service.loadBalancerIPLoad Balancer IP addressNone:
service.loadBalancerSourceRangesLimit load balancer source IPs to list of CIDRs (where available))[]
service.nodePortNodePort value if service.type is NodePortNone:
service.typetype of serviceClusterIP
service.annotationsKubernetes service annotationsNone:
service.labelsKubernetes service labelsNone:
tolerationsList of node taints to tolerate[]
dashboardImport.timeoutTime in seconds waiting for Kibana to be in green overall state60
dashboardImport.xpackauth.enabledEnable Xpack authfalse
dashboardImport.xpackauth.usernameOptional Xpack usernamemyuser
dashboardImport.xpackauth.passwordOptional Xpack passwordmypass
dashboardImport.dashboardsDashboards{}
plugins.enabledEnable installation of plugins.false
plugins.resetOptional : Remove all installed plugins before installing all new onesfalse
plugins.valuesList of plugins to install. Format <pluginName,version,URL> with URLs pointing to zip files of Kibana plugins to installNone:
persistentVolumeClaim.enabledEnable PVC for pluginsfalse
persistentVolumeClaim.existingClaimUse your own PVC for pluginsfalse
persistentVolumeClaim.annotationsAdd your annotations for the PVC{}
persistentVolumeClaim.accessModesAcces mode to the PVCReadWriteOnce
persistentVolumeClaim.sizeSize of the PVC5Gi
persistentVolumeClaim.storageClassStorage class of the PVCNone:
readinessProbe.enabledreadinessProbe to be enabled?false
readinessProbe.initialDelaySecondsnumber of seconds30
readinessProbe.timeoutSecondsnumber of seconds10
readinessProbe.periodSecondsnumber of seconds10
readinessProbe.successThresholdnumber of successes5
securityContext.enabledEnable security context (should be true for PVC)false
securityContext.allowPrivilegeEscalationAllow privilege escalationfalse
securityContext.runAsUserUser id to run in pods1000
securityContext.fsGroupfsGroup id to run in pods2000
extraConfigMapMountsAdditional configmaps to be mounted[]
deployment.annotationsAnnotations for deployment{}

Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,

  • The Kibana configuration files config properties can be set through the env parameter too.
  • All the files listed under this variable will overwrite any existing files by the same name in kibana config directory.
  • Files not mentioned under this variable will remain unaffected.
$ helm install stable/kibana --name my-release \
  --set=image.tag=v0.0.2,resources.limits.cpu=200m

Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example :

$ helm install stable/kibana --name my-release -f values.yaml

Tip: You can use the default values.yaml

Dasboard import

  • A dashboard for dashboardImport.dashboards can be a JSON or a download url to a JSON file.

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.1.1 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