Kibana is an open source data visualization dashboard that lets you visualize your Elasticsearch data.
Let's perform the following steps to get Kibana deployed:
- Create a Kibana instance associated with the Elasticsearch cluster we created previously:
$ cat <<EOF | kubectl apply -f -
apiVersion: kibana.k8s.elastic.co/v1beta1
kind: Kibana
metadata:
name: mykibana
namespace: logging
spec:
version: 7.4.2
count: 1
elasticsearchRef:
name: elasticsearch
EOF
- Get the status of the Kibana node:
$ kubectl get elasticsearch -n logging
NAME HEALTH NODES VERSION AGE
mykibana green 1 7.4.2 2m27s
- You can also confirm the pod's status in the logging namespace using the following command:
$ kubectl get pods -n logging
NAME READY STATUS RESTARTS AGE
elasticsearch-es-default-0 1/1 Running 0 37m
elasticsearch-es-default-1 1/1 Running 0 37m
elasticsearch-es-default-2 1/1 Running 0 37m
mykibana-kb-7864bfdb45-26lpq 1/1 Running 0 3m36s
With that, you have both Elasticsearch and Kibana nodes deployed. Next, we will deploy fluent-bit to forward container logs to our Elasticsearch deployment.