Elasticsearch fails in the middle of Kibana initialization, and this failure during initialization is critical to Kibana. If it fails, you must manually remove the index because it is in a broken state.
Perform the following steps to delete the Kibana index and restart the pod:
- Delete Kibana index.
curl -XDELETE http://elasticsearch:9200/.kibana*
- Delete pod.
After you delete the pod, Kubernetes creates a new pod.
kubectl delete pods <POD-ID> -n <namespace>