在istio 1.1.0中退后重新启动失败的Prometheus容器

时间:2019-05-09 13:56:11

标签: prometheus istio

移动到istio1.1.0后,prometheus pod处于连续的状态“正在等待:CrashLoopBackOff”-退出以重新启动失败的容器。 kubectl版本:1.12.6 istio版本:1.1.0

-尝试重新启动Pod几次。重新启动pod后,可以正常运行30-50秒钟,之后又再次失败。 -试图更改普罗米修斯的图像版本(当前使用的是2.3.1) -尝试通过执行helm delete --purge和helm install来重新安装istio 1.1.0。

使用的Istio安装:

> helm install install/kubernetes/helm/istio --name istio
 --namespace istio-system `   
 --set global.controlPlaneSecurityEnabled=true `   
 --set global.proxy.includeIPRanges="MYServiceCIDR" `   
 --set certmanager.enabled=true `  
 --set grafana.enabled=true `   
 --set tracing.enabled=true `   
 --timeout 900

这是普罗米修斯荚的日志: level = info ts = 2019-05-09T13:43:40.421034394Z caller = main.go:222 msg =“启动Prometheus”版本=“(版本= 2.3.1,分支= HEAD,版本= 188ca45bd85ce843071e768d855722a9d9dabe03)” level = info ts = 2019-05-09T13:43:40.421103994Z caller = main.go:223 build_context =“(go = go1.10.3,user = root @ 82ef94f1b8f7,date = 20180619-15:56:22)” level = info ts = 2019-05-09T13:43:40.421125593Z caller = main.go:224 host_details =“(Linux 4.15.0-1040-azure#44-Ubuntu SMP Thu Feb 21 14:24:01 UTC 2019 x86_64 prometheus-789d4676c6-lc6fv(无)) level = info ts = 2019-05-09T13:43:40.421141493Z caller = main.go:225 fd_limits =“(soft = 1048576,hard = 1048576)” level = info ts = 2019-05-09T13:43:40.422112191Z caller = main.go:514 msg =“正在启动TSDB ...” 级别=信息ts = 2019-05-09T13:43:40.422934188Z呼叫者= web.go:415组件= web msg =“开始监听连接”地址= 0.0.0.0:9090 level = info ts = 2019-05-09T13:43:40.525031407Z呼叫者= main.go:524 msg =“ TSDB已启动” 级别=信息ts = 2019-05-09T13:43:40.525069206Z呼叫者= main.go:603 msg =“正在加载配置文件”文件名= / etc / prometheus / prometheus.yml level = info ts = 2019-05-09T13:43:40.528479197Z caller = kubernetes.go:188 component =“ discovery manager scrape” Discovery = k8s msg =“通过集群内配置使用pod服务帐户” level = info ts = 2019-05-09T13:43:40.529518894Z caller = kubernetes.go:188 component =“ discovery manager scrape” Discovery = k8s msg =“通过集群内配置使用pod服务帐户” level = info ts = 2019-05-09T13:43:40.620692542Z caller = kubernetes.go:188 component =“ discovery manager scrape” Discovery = k8s msg =“通过集群内配置使用pod服务帐户” level = info ts = 2019-05-09T13:43:40.62156974Z caller = kubernetes.go:188 component =“ discovery manager scrape” Discovery = k8s msg =“通过集群内配置使用pod服务帐户” level = info ts = 2019-05-09T13:43:40.622419438Z caller = kubernetes.go:188 component =“ discovery manager scrape” Discovery = k8s msg =“通过集群内配置使用pod服务帐户” level = info ts = 2019-05-09T13:43:40.720978865Z caller = kubernetes.go:188 component =“ discovery manager scrape” Discovery = k8s msg =“通过集群内配置使用pod服务帐户” level = info ts = 2019-05-09T13:43:40.721711363Z caller = kubernetes.go:188 component =“ discovery manager scrape” Discovery = k8s msg =“通过集群内配置使用pod服务帐户” level = info ts = 2019-05-09T13:43:40.722485761Z caller = kubernetes.go:188 component =“ discovery manager scrape” Discovery = k8s msg =“通过集群内配置使用pod服务帐户” level = info ts = 2019-05-09T13:43:40.723193859Z caller = kubernetes.go:188 component =“ discovery manager scrape” Discovery = k8s msg =“通过集群内配置使用pod服务帐户” level = info ts = 2019-05-09T13:43:40.723902357Z caller = kubernetes.go:188 component =“ discovery manager scrape” Discovery = k8s msg =“通过集群内配置使用pod服务帐户” level = info ts = 2019-05-09T13:43:40.724575955Z caller = kubernetes.go:188 component =“ discovery manager scrape” Discovery = k8s msg =“通过集群内配置使用pod服务帐户” level = info ts = 2019-05-09T13:43:40.821796187Z caller = kubernetes.go:188 component =“ discovery manager scrape” Discovery = k8s msg =“通过集群内配置使用pod服务帐户” level = info ts = 2019-05-09T13:43:40.822481685Z caller = main.go:500 msg =“服务器已准备就绪,可以接收Web请求。” 谢谢!

0 个答案:

没有答案