Files
kubernetes/pkg
ChrisYx b02fba7e0e Fix incorrect logging of insufficientResources in preemption
#### 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:
2025-06-09 14:30:05 +08:00
..
2025-05-23 21:47:09 -04:00
2025-05-27 21:19:25 -07:00
2025-03-26 14:41:09 +00:00
2025-05-18 12:52:13 -04:00