mirror of
https://github.com/kubernetes/node-problem-detector.git
synced 2026-08-23 22:26:27 +00:00
Add condition message to event message
If you're using some monitoring solution that aggregates events from your Kubernetes cluster, having the underlying reason why a condition triggered could be very useful, especially if you are using custom plugin monitors. Co-authored-by: Micah Norman <micnorman@paypal.com> Signed-off-by: Ryan Eschinger <reschinger@paypal.com>
This commit is contained in:
committed by
Ryan Eschinger
co-authored by
Micah Norman
parent
51508603fe
commit
a39a7c6e0f
@@ -232,6 +232,7 @@ func (c *customPluginMonitor) generateStatus(result cpmtypes.Result) *types.Stat
|
||||
condition.Type,
|
||||
status,
|
||||
newReason,
|
||||
newMessage,
|
||||
timestamp,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user