背景:
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 ,问题消失

Logo

为开发者提供学习成长、分享交流、生态实践、资源工具等服务,帮助开发者快速成长。

更多推荐