Skip to content

Commit

Permalink
feat(nodeSync): dump pod annotations to log
Browse files Browse the repository at this point in the history
  • Loading branch information
D0m021ng committed Jan 17, 2024
1 parent 06f4e81 commit 32d540a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/job/runtime_v2/client/kube_runtime_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ func (n *NodeTaskHandler) addQueue(pod *v1.Pod, action schema.ActionType, status
Labels: labels,
Action: action,
}
log.Infof("WatchTaskSync: %s, watch %s event for task %s/%s with status %v", n.cluster, action, pod.Namespace, pod.Name, nodeTaskSync.Status)
log.Infof("WatchTaskSync: %s, watch %s event for task %s/%s with status %v, annotations: %v", n.cluster, action, pod.Namespace, pod.Name, nodeTaskSync.Status, pod.Annotations)
n.workQueue.Add(nodeTaskSync)
}

Expand Down

0 comments on commit 32d540a

Please sign in to comment.