Which means that /rust/bin/network-costs-rs binary which does all the magic uses IPv4 interface.
That makes it useless in IPv6-only environments.
Steps to reproduce
Deploy helm chart with network-costs DaemonSet in IPv6-only environment.
SSH into the pod.
From the pod, run: wget -O- http://0.0.0.0:3001/metrics
Expected behavior
Ideally, detect available interfaces on a startup and bind to :: if running in IPv6 environment.
Another option - just allow to override this parameter via helm chart flag.
Impact
Network-costs don't work in IPv6-only clusters.
Screenshots
No response
Logs
No response
Slack discussion
No response
Troubleshooting
[X] I have read and followed the issue guidelines and this is a bug impacting only the Helm chart.
[X] I have searched other issues in this repository and mine is not recorded.
Kubecost Helm Chart Version
2.2.2
Kubernetes Version
1.29
Kubernetes Platform
EKS
Description
network-costs daemonset deployed with helm chart creates daemon Pods. In every Pod, I see:
Which means that
/rust/bin/network-costs-rs
binary which does all the magic uses IPv4 interface. That makes it useless in IPv6-only environments.Steps to reproduce
wget -O- http://0.0.0.0:3001/metrics
Expected behavior
Ideally, detect available interfaces on a startup and bind to
::
if running in IPv6 environment. Another option - just allow to override this parameter via helm chart flag.Impact
Network-costs don't work in IPv6-only clusters.
Screenshots
No response
Logs
No response
Slack discussion
No response
Troubleshooting