kubernetes - 无法同步 configmap 缓存:等待条件超时
我有一个在 k8s 中运行的 prometheus 容器,并使用 longhorn 作为存储来存储配置文件和数据库。 Prometheus 容器成功启动,并且可以通过 Prometheus UI 访问大约 2-3 分钟,然后立即崩溃。当我描述 k8s pod 时,它在崩溃期间显示以下错误消息。
“MountVolume.SetUp 卷“prometheus-config-volume”失败:无法同步 configmap 缓存:等待条件超时”
prometheus-config-volume 引用的 configmap 确实存在。所以,我不确定这里出了什么问题,因为普罗米修斯日志也没有任何有用的消息。有人可以帮我找到这里的问题吗?
问候, 南达
I have a prometheus container running in k8s and is using longhorn as storage to store config files and DB. The Prometheus container starts successfully and could be accessed by Prometheus UI as well for around 2-3 mins and crashes immediately. When I describe the k8s pod, it shows below error message during crash.
"MountVolume.SetUp failed for volume "prometheus-config-volume" : failed to sync configmap cache: timed out waiting for the condition"
The configmap being referred by prometheus-config-volume does exist. So, I am not sure what is going wrong here as prometheus logs too didn't have any helpful message for. Could someone help me find the issue here?
Regards,
Nanda
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论