Created
October 4, 2019 01:55
-
-
Save julie-mills/1ee9181e44a2df289dcb762fe264bf71 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