mirror of
https://github.com/kubernetes/node-problem-detector.git
synced 2026-08-23 22:26:27 +00:00
1. Make source and conditions configurable.
2. Add multiple events and conditions support in problem interface.
This commit is contained in:
@@ -123,6 +123,7 @@ func getEventRecorder(c *client.Client, nodeName, source string) record.EventRec
|
||||
}
|
||||
|
||||
func getNodeRef(nodeName string) *api.ObjectReference {
|
||||
// TODO(random-liu): Get node to initalize the node reference
|
||||
return &api.ObjectReference{
|
||||
Kind: "Node",
|
||||
Name: nodeName,
|
||||
|
||||
Reference in New Issue
Block a user