Skip to content

logging to investigate extra GET calls - #10

Open
h-w-chen wants to merge 1 commit into
release-1.21from
hw-cherry-pick-1118-to-v121
Open

logging to investigate extra GET calls#10
h-w-chen wants to merge 1 commit into
release-1.21from
hw-cherry-pick-1118-to-v121

Conversation

@h-w-chen

Copy link
Copy Markdown

What this PR does / why we need it:
this is to port Arktos PR 1118: logging change to investigate extra GET calls to release 1.21

@h-w-chen
h-w-chen requested a review from Sindica July 17, 2021 00:38
klog.V(2).Infof("Start Patch status for pod %q, UID %q, revision %q", pod.Name, uid, pod.ResourceVersion)
newPod, patchBytes, unchanged, err := statusutil.PatchPodStatus(m.kubeClient, pod.Namespace, pod.Name, pod.UID, *oldStatus, mergePodStatus(*oldStatus, status.status))
klog.V(3).InfoS("Patch status for pod", "pod", klog.KObj(pod), "patchBytes", patchBytes)
klog.V(2).InfoS("Patch status for pod", "pod", klog.KObj(pod), "patchBytes", patchBytes)

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here InfoS does not work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants