Created
October 9, 2019 00:30
-
-
Save kleong/e47b4d3209ac6c6b0bb82c2a38d112e4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
With nodes as ( | |
select | |
e.event.reason, | |
e.event.message, | |
e.event.lastTimestamp as ts, | |
e.event.metadata.name | |
from | |
commons.eventrouter_events e | |
where | |
e.event.involvedObject.kind = 'Node' | |
AND e.event.type = 'Normal' | |
AND e.event.reason = 'NodeNotReady' | |
ORDER by ts DESC | |
) | |
select | |
* | |
from | |
nodes | |
Limit 100; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment