mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-19 23:51:08 +00:00
#### What type of PR is this? /kind bug /sig node /area kubelet /priority backlog #### What this PR does / why we need it: Fixes a logging issue in `pkg/kubelet/preemption/preemption.go` where the `insufficientResources` array is logged as a pointer instead of a readable value. The current log output appears as: ``` insufficientResources=[0xc00bfb88c0] ``` This is not informative and makes debugging difficult. This change ensures that the contents of `insufficientResources` are printed in a human-readable format, improving debuggability and observability. #### Which issue(s) this PR fixes: N/A #### Special notes for your reviewer: - No functional behavior is changed. - This is purely a logging improvement. - The change only affects verbose log level 3 (`-v=3`) and above. #### Does this PR introduce a user-facing change? ```release-note Fixed an issue where `insufficientResources` was logged as a pointer during pod preemption, making logs more readable. ``` #### Additional documentation: