[BUG] Cannot run `healthcheck` with `wget` for `node-exporter` when running with TLS
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 42/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- docker, go
- 领域
- devops, observability
调研方向
首先,针对启用 TLS 的 node-exporter 容器复现报告的 wget 命令,并在 amd64 上比较 busybox:1.36.1 与 busybox:1.37。完成标准是:有可用的更新版 node-exporter 镜像,并且其中的 healthcheck 能够通过 TLS 成功执行;或者有文档化的指南指出一种可用的替代方案。
由索引模型根据 Issue 内容生成。
描述
Bug description
Hi,
I'm trying to run a Node Exporter server with TLS using prom/node-exporter:latest and set a valid health check command.
node-exporter works just fine by adding the necessary TLS settings in -web.config.file=/var/config/web-config.yaml. The problem is actually with the tool that I've been using to run the healthcheck, which is wget, which comes from busybox:1.36.1.
This is a known issue for busybox:1.36.1 (see https://github.com/docker-library/busybox/issues/162). Specifically, if I run from within the container the command:
wget -q --spider --no-check-certificate https://localhost:9100/metrics
I get the following error on amd64 machines:
wget: TLS error from peer (alert code 40): handshake failure
wget: error getting response: Connection reset by peer
This error has been fixed within busybox:1.37. Therefore, I would ask the team to update the quay.io/prometheus/busybox-${OS}-${ARCH}:latest to use busybox:1.37 and then provide a newer prom/node-exporter image.
Alternatively, any suggestion on how to set an healthcheck command for node-exporter when running with TLS would be highly appreciated. prom/prometheus provides promtool to run healthchecks also with TLS, but there's no equivalent tool for node-exporter.
- 主要语言
- Go
- 星标
- 13.8k
- 派生
- 2.7k
- 平均合并
- 1 天 4 小时
- 30 天内合并 PR
- 7
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
prometheus/node_exporter 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
prometheus/node_exporter#3830 · 3 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
prometheus/node_exporter#3823 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
prometheus/node_exporter#3817 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
prometheus/node_exporter#3761 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 68/100
prometheus/node_exporter#1767 ·
维护者通常 1 天内回复
查看 prometheus/node_exporter 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 90/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
NVIDIA/k8s-device-plugin#2076 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
agentic-workflows
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
area/release kind/bug
难度 2/5 1-3 小时 新手友好度 82/100
kubernetes-sigs/kueue#16455 · 1 条评论 ·
维护者通常 1 天内回复