背景:
k8s集羣上部署EFK之後,kibana 訪問一直有問題
瀏覽器訪問
查看kibana日誌
最後一句報錯至爲關鍵
{"type":"log","@timestamp":"2019-12-11T08:03:14Z","tags":["warning","migrations"],"pid":1,"message":"Another Kibana instance appears to be migrating the index. Waiting for that migration to complete. If no other Kibana instance is attempting migrations, you can get past this message by deleting index .kibana_2 and restarting Kibana."}
給出的建議是要刪除index .kibana_2 然後重啓 kibana
怎麼刪除呢?
參考 https://discuss.elastic.co/t/another-kibana-instance-appears-to-be-migrating-the-index/165708
curl -XDELETE http://localhost:9200/.kibana_1
localhost 更換成 es service 的 clusterip 即可
之後 重啓kibana ,問題消失