Deploy Kibana in Kubernetes
- Install Elasticsearch
- Create a secret for basic auth
htpasswd -c ./auth kibana
Now we have a auth
file for create our secret
kubectl create secret generic kibana-auth --from-file auth
Create a ConfigMap
for kibana's ENV. See kibana.yml for full list of options.
kubectl create -f configmap.yml
Create other parts :
kubectl create -f service.yml
kubectl create -f deployment.yml
Check kibana's Pod for logs and wait to see green status
. Then you can deploy your ingress to access Kibana from browser :
kubectl create -f ingress.yml
You can access Kibana from server.name
that defined in configmap.yml
. Defult value is http://kibana.local