Skip to content

Consider adding UID to klog.ObjectRef #422

@tallclair

Description

@tallclair

Is there a reason UID isn't included in klog.ObjectRef?

In the Kubelet, we're seeing a mix of using klog.KObj(pod) and format.Pod(pod). Currently, the latter is preferred as it includes UID, which is often necessary for debugging Kubelet operations, but it would be nice if we could deprecate it in favor of a more standardized approach (KObj), which is contingent on UID being included.

Metadata

Metadata

Assignees

No one assigned

    Labels

    triage/acceptedIndicates an issue or PR is ready to be actively worked on.

    Type

    No type

    Projects

    Status

    Needs Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions