CatherineF-dev
CatherineF-dev
Good point. Updated to only add `\\.` Tested: https://go.dev/play/p/K5GtruNWjO0
> There was a conversation here: https://github.com/kubernetes/kube-state-metrics/pull/2217/files#r1356982673 https://github.com/kubernetes/kube-state-metrics/pull/2217/files#r1357024577 > Do we still need this to differentiate between "" and nil? I read https://github.com/kubernetes/kube-state-metrics/pull/2217/files#r1356982673 https://github.com/kubernetes/kube-state-metrics/pull/2217/files#r1357024577 again and find it is not...
Updated. Need review again.
> Do we continue to produce a stale metrics with the state of the pod when it wasn't schedule? No. I tested for both daemonset (watch scheduled pods) and deployment...
Could you provide detailed steps on reproducing this issue? You can follow https://github.com/kubernetes/kube-state-metrics/issues/2223#issuecomment-1792850276
QQ: what is the total node memory? Is it 5543Mi / 76% = 7293?
QQ: does 8GB mean both `free -m` and `kubectl top no` are not accurate? - `free -m` gave 7593 instead of 8*1024 - `kubectl top no` gave 5543/0.76 = 7293
Could you sum up all memory of pods running on the same node? Use `kubectl top pods` + grep. What is this value?
Could you try scraping kubelet summary api metrics, which are the data source for metrics-server? ``` # ssh into this node curl -k http://node_ip:10255/stats/summary # port will be 10250 if...