首页 / 浏览问题 / 云GIS / 问题详情
iManager for k8s 服务日志无法显示
4EXP 2023年04月21日

系统版本:centos 7.6

imanager for k8s使用10.2.1版本。

站点中所有服务的日志均无法查看,点开日志页面显示Kibana server is not ready yet。Kibana和ES服务都已经启动,日志没有报错。尝试过重新部署,也无效。

访问页面截图:

ES服务日志:

kibanar服务日志:

1个回答

您好!

请再次重新部署elasticsearch和kibana后,打开31234端口页面,查看deamon sets中的fluentd-es状态是否正常,如果异常请将错误日志附在回复中,我帮您排查一下。

希望可以帮助到您!

485EXP 2023年04月21日

重启后显示的状态是正常的,但日志里有错误,三个pod的日志都里都有

2023-04-21 14:08:23.050085937 +0800 fluent.warn: {"retry_time":16,"next_retry_seconds":"2023-04-21 14:08:25 926821782413989176291/1099511627776000000000 +0800","chunk":"5f9d275b872a4ad200d699224247bf53","error":"#<Fluent::Plugin::ElasticsearchOutput::RecoverableRequestFailure: could not push logs to Elasticsearch cluster ({:host=>\"elasticsearch\", :port=>9200, :scheme=>\"http\"}): [503] no healthy upstream>","message":"[elasticsearch] failed to flush the buffer. retry_time=16 next_retry_seconds=2023-04-21 14:08:25 926821782413989176291/1099511627776000000000 +0800 chunk=\"5f9d275b872a4ad200d699224247bf53\" error_class=Fluent::Plugin::ElasticsearchOutput::RecoverableRequestFailure error=\"could not push logs to Elasticsearch cluster ({:host=>\\\"elasticsearch\\\", :port=>9200, :scheme=>\\\"http\\\"}): [503] no healthy upstream\""}

日志截图:

您好,您可以尝试到31100端口页面中,将prometheus先解绑,然后再重新部署elasticsearch和kibana,看下是否能够恢复正常。

...