Merge pull request #127 from luisdavim/patch-2

small improvements
This commit is contained in:
Radovan Garabík 2019-07-24 16:12:11 +02:00 committed by GitHub
commit 01af1fdceb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 3 deletions

View File

@ -7,7 +7,7 @@ regexp=\smaster\s
colour=on_green bold white
-
# Red Words
regexp=\b([Dd]isabled?|[Ee]rrors?|[Ss]topped|[Ff]alse|none|CrashLoopBackOff|ErrImagePull|ImagePullBackOff)\b
regexp=\b([Dd]isabled?|[Ee]rrors?|[Ss]topped|[Ff]alse|none|ErrImagePull|[a-zA-Z]+BackOff|OOMKilled|[Tt]erminated|[Ff]aile?d?)\b
colour=unchanged,red
-
# Yellow Words
@ -39,7 +39,7 @@ regexp=([\w\d\-_\/.]+)=([\w\d\-_./]+)(,| |$)
colour=unchanged,blue,bright_yellow
-
# YAML First level (PSEUDO)
regexp=^([^\s][\w\d \-]+):
regexp=^([\w\d \-]+):
colours=unchanged,bright_blue
-
# YAML Nested
@ -54,6 +54,18 @@ colours=unchanged, yellow
regexp="(\S*)(?=")
colours=default,cyan
-
# Empy
regexp=(\<?[Nn]one\>?|null)
colours=magenta
-
# Events title
regexp=\s+(Type)\s+(Reason)\s+(Age)\s+(From)\s+(Message)
colours=cyan, cyan, cyan, cyan, cyan, magenta
-
# Title separator
regexp=\s+\-{3,}
colours=dark white
-
# HELP Highlight
regexp=( --[^= ]+| -[a-zA-Z]( |,))
colour=bright_green

View File

@ -195,7 +195,7 @@ conf.dockerversion
conf.log
# KubeCTL
(^|[/\w\.]+/)kubectl\s?
^(^|[/\w\.]+/)kubectl((?!edit).)*$
conf.kubectl
# sensors command