我已经在全新的GKE私有集群上安装了此图表,但它失败了
Type Reason Age From Message
---- ------ ---- ---- -------
...
Normal Pulled 6m7s (x4 over 7m34s) kubelet Container image "chronograf:1.9.4" already present on machine
Normal Created 6m7s (x4 over 7m34s) kubelet Created container chronograf
Normal Killing 6m7s (x3 over 7m7s) kubelet Container chronograf failed startup probe, will be restarted
Normal Started 6m5s (x4 over 7m33s) kubelet Started container chronograf
Warning Unhealthy 5m57s (x10 over 7m27s) kubelet Startup probe failed: Get "http://172.17.0.132:8888/ping": dial tcp 172.17.0.132:8888: connect: connection refused
Warning BackOff 2m30s (x11 over 5m7s) kubelet Back-off restarting failed container
为什么以及如何修复?
1条答案
按热度按时间rmbxnbpk1#
至少对于Google Cloud Platform,问题似乎是startupProbe.initialDelaySeconds默认值(5秒)太低。当我设置为10时,图表成功了。