2018-08-10 05:13:41 +02:00
|
|
|
# Green Words
|
|
|
|
regexp=\b(Ready|Running|[Tt]rue|Active|Available|Approved|created)\b
|
|
|
|
colour=unchanged,green
|
|
|
|
-
|
|
|
|
# Master
|
|
|
|
regexp=\smaster\s
|
|
|
|
colour=on_green bold white
|
|
|
|
-
|
|
|
|
# Red Words
|
2019-07-24 11:04:31 +02:00
|
|
|
regexp=\b([Dd]isabled?|[Ee]rrors?|[Ss]topped|[Ff]alse|none|ErrImagePull|[a-zA-Z]+BackOff|OOMKilled|[Tt]erminated|[Ff]aile?d?)\b
|
2018-08-10 05:13:41 +02:00
|
|
|
colour=unchanged,red
|
|
|
|
-
|
|
|
|
# Yellow Words
|
|
|
|
regexp=\b([Ww]arning|[Pp]ending|[Ww]aiting|ContainerCreating|Released|Bound|already exists)\b
|
|
|
|
colour=unchanged,yellow
|
|
|
|
-
|
|
|
|
# Completed Jobs
|
|
|
|
regexp=\b(Completed)\b
|
|
|
|
colour=unchanged,dark green
|
|
|
|
-
|
|
|
|
# Misc IP
|
|
|
|
regexp=\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(/\d{1,2})?
|
|
|
|
colour=cyan,magenta
|
|
|
|
-
|
|
|
|
# Ports
|
|
|
|
regexp=(\d+)(:\d+)?/(TCP|UDP)
|
|
|
|
colour=unchanged,yellow,bold green,magenta
|
|
|
|
-
|
|
|
|
# Type/Name
|
|
|
|
regexp=^([^/ ]+)/(\S+)
|
|
|
|
colour=unchanged,yellow,bright_white
|
|
|
|
-
|
|
|
|
# No running Instances
|
|
|
|
regexp=\s(0/[1-9]+)\b
|
|
|
|
colour=unchanged,bold red
|
|
|
|
-
|
|
|
|
# Labels
|
2019-07-24 10:26:44 +02:00
|
|
|
regexp=([\w\d\-_\/.]+)=([\w\d\-_./]+)(,| |$)
|
2018-08-10 05:13:41 +02:00
|
|
|
colour=unchanged,blue,bright_yellow
|
|
|
|
-
|
|
|
|
# YAML First level (PSEUDO)
|
2019-07-24 11:04:31 +02:00
|
|
|
regexp=^([\w\d \-]+):
|
2018-08-10 05:13:41 +02:00
|
|
|
colours=unchanged,bright_blue
|
|
|
|
-
|
|
|
|
# YAML Nested
|
|
|
|
regexp=^[ \-]+(\S+):
|
|
|
|
colours=unchanged, blue
|
|
|
|
-
|
|
|
|
# YAML number
|
|
|
|
regexp=: (\d+)$
|
|
|
|
colours=unchanged, yellow
|
|
|
|
-
|
|
|
|
# Explicit String
|
|
|
|
regexp="(\S*)(?=")
|
|
|
|
colours=default,cyan
|
|
|
|
-
|
2019-07-24 11:04:31 +02:00
|
|
|
# Empy
|
2019-07-24 13:25:00 +02:00
|
|
|
regexp=(\<?[Nn]one\>?|null)
|
2019-07-24 11:04:31 +02:00
|
|
|
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
|
|
|
|
-
|
2018-08-10 05:13:41 +02:00
|
|
|
# HELP Highlight
|
|
|
|
regexp=( --[^= ]+| -[a-zA-Z]( |,))
|
|
|
|
colour=bright_green
|
|
|
|
-
|
|
|
|
# Higlight (Tested in kubectl config get-contexts)
|
|
|
|
regexp=^\*.+$
|
|
|
|
colour=bold white
|