Skip to main content

Setup Elastic Search and Kibana Open Source

Add the Jetstack Helm repository

helm repo add jetstack

Update your local Helm chart repository cache

helm repo update

Install the cert-manager Helm chart -

helm install cert-manager jetstack/cert-manager --namespace cert-manager --create-namespace --set installCRDs=true --version v1.9.1 --wait

Deploy Rancher Cluster Manager via helm

helm repo add rancher-latest
helm repo update
kubectl create namespace cattle-system
helm install rancher rancher-latest/rancher --namespace cattle-system --set hostname=${RANCHER_SERVER_HOSTNAME} --set bootstrapPassword=admin --wait

Get Password

kubectl get secret --namespace cattle-system bootstrap-secret -o go-template='{{.data.bootstrapPassword|base64decode}}{{ "\n" }}'

Visit dashboard


Add Elastic Repo

helm repo add elastic

Update the ports to open 9200 and 9300 and be sure to set the service type to Cluster IP Add the env var


Set deployment for Kibana

Update the ports to open 5601 — set the service type to Cluster IP Set an env var for


Set Ingress

Namespace: es
Name: kibana.rancher.localhost
Rules.Request Host: kibana.rancher.localhost
Rules.Pods.Path: /
Rules.Pods.Target Service: kibana (select)
Rules.Pods.Port: 5601 (select)

Set Ingress for es

Port 9200

Visit Kibana


Set port-forward at Rancher Desktop

Set according to ES and Kibana