Kibana日志信息:
2021-11-15 14:38:43.650 DEBUG 7 — [ main] o.s.c.e.PropertySourcesPropertyResolver : Found key ‘spring.cloud.stream.bindings.*****************’ in PropertySource ‘bootstrapProperties’ with value of type String
2021-11-15 15:23:36.304 ERROR 7 — [47caafe6f7]-1-4] c.c.p.p.s.e.b.h.ErrorNotificationHandler : SAMPLE: Host javahost-*************************** received general error notification during Renewing Lease : {}
2021-11-15 15:23:43.210 ERROR 7 — [ monitor-send26] c.p.p.s.e.b.p.EventHubsStreamProvisioner : Error initializing EventHubs link,producerConnectionStr:Endpoint=… * …
2021-11-15 15:23:42.767 ERROR 7 — [io-8080-exec-32] c.p.a.dot.aop.GlobalExceptionHandler : GlobalException
2021-11-15 15:23:42.768 ERROR 7 — [io-8080-exec-32] c.p.a.dot.aop.GlobalExceptionHandler : java.io.IOException: Broken pipe
2021-11-15 15:23:23.859 ERROR 7 — [scoveryClient-1] c.netflix.discovery.TimedSupervisorTask : task supervisor timed out
K8s重启信息:
containerStatuses:
- name: *****
state:
running:
startedAt: ‘2021-11-15T07:23:48Z’
lastState:
terminated:
exitCode: 137
reason: Error
startedAt: ‘2021-11-15T06:38:09Z’
finishedAt: ‘2021-11-15T07:23:47Z’
containerID: >-
docker://*******
ready: true
JenkinsFiel(打版信息)
config Server(local)
config Server(pass eventhub)
结论:
经过日志检查,发现是项目接入pass的Monitor Jar包从配置中心获取配置信息失败,原因来自于以下两点:
1、容器服务的宿主机出现的网络抖动;
2、配置中心网络不稳定,导致获取项目需要的配置信息失败。