Closed damianoneill closed 6 years ago
$ curl -s http://xxx:10255/stats/ | jq '.stats[0].network'
{
"name": "eno1",
"rx_bytes": 24109667713,
"rx_packets": 78524878,
"rx_errors": 0,
"rx_dropped": 12,
"tx_bytes": 3019947673,
"tx_packets": 25560068,
"tx_errors": 0,
"tx_dropped": 0,
"interfaces": [
{
"name": "eno1",
"rx_bytes": 24109667713,
"rx_packets": 78524878,
"rx_errors": 0,
"rx_dropped": 12,
"tx_bytes": 3019947673,
"tx_packets": 25560068,
"tx_errors": 0,
"tx_dropped": 0
},
{
"name": "flannel.1",
"rx_bytes": 0,
"rx_packets": 0,
"rx_errors": 0,
"rx_dropped": 0,
"tx_bytes": 0,
"tx_packets": 0,
"tx_errors": 0,
"tx_dropped": 8
}
],
"tcp": {
"Established": 0,
"SynSent": 0,
"SynRecv": 0,
"FinWait1": 0,
"FinWait2": 0,
"TimeWait": 0,
"Close": 0,
"CloseWait": 0,
"LastAck": 0,
"Listen": 0,
"Closing": 0
},
"tcp6": {
"Established": 0,
"SynSent": 0,
"SynRecv": 0,
"FinWait1": 0,
"FinWait2": 0,
"TimeWait": 0,
"Close": 0,
"CloseWait": 0,
"LastAck": 0,
"Listen": 0,
"Closing": 0
}
}
Hi @damianoneill
Thank you for submitting the issue. Do you see the same behaviour on clusters with newer versions of Kubernetes?
Hi @cezarygerard the challenge is we are using redhat atomic and therefore the version of Kubernetes is managed by this container operating system.
@damianoneill forgive me if I've missed something here, but what's the expected result? Network can only be measured on a per-pod basis (with cadvisor, at least), since it looks at the interfaces in the network namespace, and all containers in a pod share a netns.
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close
.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /lifecycle stale
Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten
.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close
.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /lifecycle rotten
When collecting stats with Heapster, metrics written to influxdb only contain network measurements for type pod. Subsequently in Grafana the cluster dashboard contains no datapoints on the Network Graphs.
Output of
heapster --version
:Running within a privileged docker container.
Output of
kubectl version
: