Skip to main content

Setup Elastic Search And Kibana Open Source


If you're enthusiastic about acquiring knowledge in Elasticsearch, the widely known open source search engine originating from the open source Lucene library, then the best way is to install it on your computer. The procedure is clearly indicated on the Elasticsearch website , but the official directions provide more information than a newbie needs.

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 Racher 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