CatherineF-dev

Results 236 comments of CatherineF-dev

Thanks for reporting this. Could you help paste your pending pod yaml, if it's available? Want to see nodeName value on the yaml

Wondering whether apiserver fieldSelector supports `-nodeName` which means nodeName doesn't exist

I tried again and verified `--field-selector spec.nodeName=` can get unscheduled pods. --node="" is translated into `spec.nodeName=` 1. nothing: get all pods 2. --node="A": `--field-selector spec.nodeName=A ` get pods on node...

@carlosrmendes does it mean we need to fix this for KSM? Or just your local query doesn't work.

I can reproduce it that `--node=""` doesn't work as expected. ```bash /usr/lib/go-1.22/bin/go run main.go --resources=pods --node= --kubeconfig ~/.kube/config curl localhost:8080/metrics | grep kube_pod_status ```

Also to include https://github.com/kubernetes/kube-state-metrics/issues/2393

I can help fix this https://github.com/kubernetes/kube-state-metrics/pull/2254

/assign @CatherineF-dev