K9s config

This commit is contained in:
Peter Wieringa 2025-11-22 16:01:22 +01:00
parent b56ec4fc2f
commit b764ee4752
20 changed files with 500 additions and 0 deletions

View File

View File

@ -0,0 +1,14 @@
k9s:
cluster: tcloud-de-acc1
skin: dracula
namespace:
active: de-cuco-de-kdoc-engine-acc
lockFavorites: false
favorites:
- de-cuco-de-kdoc-engine-acc
- default
view:
active: v1/pods de-cuco-de-kdoc-engine-acc
featureGates:
nodeShell: false
proxy: null

View File

@ -0,0 +1,4 @@
benchmarks:
defaults:
concurrency: 2
requests: 200

View File

@ -0,0 +1,4 @@
benchmarks:
defaults:
concurrency: 2
requests: 200

View File

@ -0,0 +1,14 @@
k9s:
cluster: tcloud-de-dev1
skin: catppuccin-frappe
namespace:
active: de-cuco-de-kdoc-engine-preview-pr-1444-2
lockFavorites: false
favorites:
- de-cuco-de-kdoc-engine-preview-pr-1444-2
- default
view:
active: contexts
featureGates:
nodeShell: false
proxy: null

View File

@ -0,0 +1,4 @@
benchmarks:
defaults:
concurrency: 2
requests: 200

View File

@ -0,0 +1,14 @@
k9s:
cluster: tcloud-de-prd1
skin: monokai
namespace:
active: de-cuco-de-kdoc-engine-prod
lockFavorites: false
favorites:
- de-cuco-de-kdoc-engine-prod
- default
view:
active: v1/pods de-cuco-de-kdoc-engine-prod
featureGates:
nodeShell: false
proxy: null

View File

@ -0,0 +1,14 @@
# $XDG_CONFIG_HOME/k9s/config.yaml
# Global skin is specified
k9s:
liveViewAutoRefresh: true
refreshRate: 2
maxConnRetry: 5
readOnly: false
ui:
enableMouse: true
headless: false
logoless: fasle
crumbsless: false
noIcons: false
reactive: false

View File

@ -0,0 +1,9 @@
aliases:
dp: deployments
sec: v1/secrets
jo: jobs
cr: clusterroles
crb: clusterrolebindings
ro: roles
rb: rolebindings
np: networkpolicies

View File

View File

@ -0,0 +1,101 @@
k9s:
body:
fgColor: '#c6d0f5'
bgColor: '#303446'
logoColor: '#ca9ee6'
prompt:
fgColor: '#c6d0f5'
bgColor: '#292c3c'
suggestColor: '#8caaee'
help:
fgColor: '#c6d0f5'
bgColor: '#303446'
sectionColor: '#a6d189'
keyColor: '#8caaee'
numKeyColor: '#ea999c'
frame:
title:
fgColor: '#81c8be'
bgColor: '#303446'
highlightColor: '#f4b8e4'
counterColor: '#e5c890'
filterColor: '#a6d189'
border:
fgColor: '#ca9ee6'
focusColor: '#babbf1'
menu:
fgColor: '#c6d0f5'
keyColor: '#8caaee'
numKeyColor: '#ea999c'
crumbs:
fgColor: '#303446'
bgColor: '#ea999c'
activeColor: '#eebebe'
status:
newColor: '#8caaee'
modifyColor: '#babbf1'
addColor: '#a6d189'
pendingColor: '#ef9f76'
errorColor: '#e78284'
highlightColor: '#99d1db'
killColor: '#ca9ee6'
completedColor: '#737994'
info:
fgColor: '#ef9f76'
sectionColor: '#c6d0f5'
views:
table:
fgColor: '#c6d0f5'
bgColor: '#303446'
cursorFgColor: '#414559'
cursorBgColor: '#51576d'
markColor: '#f2d5cf'
header:
fgColor: '#e5c890'
bgColor: '#303446'
sorterColor: '#99d1db'
xray:
fgColor: '#c6d0f5'
bgColor: '#303446'
cursorColor: '#51576d'
cursorTextColor: '#303446'
graphicColor: '#f4b8e4'
charts:
bgColor: '#303446'
chartBgColor: '#303446'
dialBgColor: '#303446'
defaultDialColors:
- '#a6d189'
- '#e78284'
defaultChartColors:
- '#a6d189'
- '#e78284'
resourceColors:
cpu:
- '#ca9ee6'
- '#8caaee'
mem:
- '#e5c890'
- '#ef9f76'
yaml:
keyColor: '#8caaee'
valueColor: '#c6d0f5'
colonColor: '#a5adce'
logs:
fgColor: '#c6d0f5'
bgColor: '#303446'
indicator:
fgColor: '#babbf1'
bgColor: '#303446'
toggleOnColor: '#a6d189'
toggleOffColor: '#a5adce'
dialog:
fgColor: '#e5c890'
bgColor: '#949cbb'
buttonFgColor: '#303446'
buttonBgColor: '#838ba7'
buttonFocusFgColor: '#303446'
buttonFocusBgColor: '#f4b8e4'
labelFgColor: '#f2d5cf'
fieldFgColor: '#c6d0f5'

View File

@ -0,0 +1,116 @@
# -----------------------------------------------------------------------------
# Dracula skin
# -----------------------------------------------------------------------------
# Styles...
foreground: &foreground "#f8f8f2"
background: &background "#282a36"
current_line: &current_line "#44475a"
selection: &selection "#44475a"
comment: &comment "#6272a4"
cyan: &cyan "#8be9fd"
green: &green "#50fa7b"
orange: &orange "#ffb86c"
pink: &pink "#ff79c6"
purple: &purple "#bd93f9"
red: &red "#ff5555"
yellow: &yellow "#f1fa8c"
# Skin...
k9s:
# General K9s styles
body:
fgColor: *foreground
bgColor: *background
logoColor: *purple
# Command prompt styles
prompt:
fgColor: *foreground
bgColor: *background
suggestColor: *purple
# ClusterInfoView styles.
info:
fgColor: *pink
sectionColor: *foreground
# Dialog styles.
dialog:
fgColor: *foreground
bgColor: *background
buttonFgColor: *foreground
buttonBgColor: *purple
buttonFocusFgColor: *yellow
buttonFocusBgColor: *pink
labelFgColor: *orange
fieldFgColor: *foreground
frame:
# Borders styles.
border:
fgColor: *selection
focusColor: *current_line
menu:
fgColor: *foreground
keyColor: *pink
# Used for favorite namespaces
numKeyColor: *pink
# CrumbView attributes for history navigation.
crumbs:
fgColor: *foreground
bgColor: *current_line
activeColor: *current_line
# Resource status and update styles
status:
newColor: *cyan
modifyColor: *purple
addColor: *green
errorColor: *red
highlightColor: *orange
killColor: *comment
completedColor: *comment
# Border title styles.
title:
fgColor: *foreground
bgColor: *current_line
highlightColor: *orange
counterColor: *purple
filterColor: *pink
views:
# Charts skins...
charts:
bgColor: default
defaultDialColors:
- *purple
- *red
defaultChartColors:
- *purple
- *red
# TableView attributes.
table:
fgColor: *foreground
bgColor: *background
# Header row styles.
header:
fgColor: *foreground
bgColor: *background
sorterColor: *cyan
# Xray view attributes.
xray:
fgColor: *foreground
bgColor: *background
cursorColor: *current_line
graphicColor: *purple
showIcons: false
# YAML info styles.
yaml:
keyColor: *pink
colonColor: *purple
valueColor: *foreground
# Logs styles.
logs:
fgColor: *foreground
bgColor: *background
indicator:
fgColor: *foreground
bgColor: *purple
toggleOnColor: *green
toggleOffColor: *cyan

View File

@ -0,0 +1,132 @@
# monokai.yml
# Styles...
foreground: &foreground "#ffffff"
background: &background "default"
backgroundOpaque: &backgroundOpaque "#333333"
magenta: &magenta "#f72972"
orange: &orange "#e47c20"
lightBlue: &lightBlue "#c3eff7"
blue: &blue "#69d9ed"
darkBlue: &darkBlue "#3174a2"
green: &green "#a7e24c"
purple: &purple "#856cc4"
# Skin...
k9s:
# General K9s styles
body:
fgColor: *foreground
bgColor: *background
logoColor: *magenta
# Command prompt styles
prompt:
fgColor: *foreground
bgColor: *background
suggestColor: *orange
# ClusterInfoView styles.
info:
fgColor: *blue
sectionColor: *lightBlue
# Dialog styles.
dialog:
fgColor: *foreground
bgColor: *background
buttonFgColor: *foreground
buttonBgColor: *green
buttonFocusFgColor: *foreground
buttonFocusBgColor: *darkBlue
labelFgColor: *orange
fieldFgColor: *blue
frame:
# Borders styles.
border:
fgColor: *blue
focusColor: *darkBlue
menu:
fgColor: *lightBlue
keyColor: *green
# Used for favorite namespaces
numKeyColor: *green
# CrumbView attributes for history navigation.
crumbs:
fgColor: *foreground
bgColor: *backgroundOpaque
activeColor: *blue
# Resource status and update styles
status:
newColor: *blue
modifyColor: *purple
addColor: *green
pendingColor: *orange
errorColor: *magenta
highlightColor: *blue
killColor: *green
completedColor: *darkBlue
# Border title styles.
title:
fgColor: *foreground
bgColor: *background
highlightColor: *blue
counterColor: *lightBlue
filterColor: *orange
views:
# Charts skins...
charts:
bgColor: *background
dialBgColor: *background
chartBgColor: *backgroundOpaque
defaultDialColors:
- *blue
- *magenta
defaultChartColors:
- *blue
- *magenta
resourceColors:
batch/v1/jobs:
- *blue
- *magenta
v1/persistentvolumes:
- *blue
- *magenta
cpu:
- *blue
- *magenta
mem:
- *blue
- *magenta
v1/events:
- *blue
- *magenta
v1/pods:
- *blue
- *magenta
# TableView attributes.
table:
fgColor: *foreground
bgColor: *background
markColor: *magenta
# Header row styles.
header:
fgColor: *foreground
bgColor: *backgroundOpaque
sorterColor: *blue
# Xray view attributes.
xray:
fgColor: *foreground
bgColor: *background
cursorColor: *blue
cursorTextColor: *foreground
graphicColor: *blue
# YAML info styles.
yaml:
keyColor: *orange
colonColor: *orange
valueColor: *foreground
# Logs styles.
logs:
fgColor: *foreground
bgColor: *backgroundOpaque
indicator:
fgColor: *foreground
bgColor: *darkBlue

View File

@ -0,0 +1,4 @@
benchmarks:
defaults:
concurrency: 2
requests: 200

View File

@ -0,0 +1,13 @@
k9s:
cluster: tcloud-de-acc1
namespace:
active: de-cuco-de-kdoc-engine-acc
lockFavorites: false
favorites:
- de-cuco-de-kdoc-engine-acc
- default
view:
active: v1/pods de-cuco-de-kdoc-engine-acc
featureGates:
nodeShell: false
proxy: null

View File

@ -0,0 +1,9 @@
aliases:
dp: deployments
sec: v1/secrets
jo: jobs
cr: clusterroles
crb: clusterrolebindings
ro: roles
rb: rolebindings
np: networkpolicies

View File

@ -0,0 +1,48 @@
k9s:
liveViewAutoRefresh: false
gpuVendors: {}
screenDumpDir: ~/.config/k9s/screen-dumps
refreshRate: 2
apiServerTimeout: 2m0s
maxConnRetry: 5
readOnly: false
noExitOnCtrlC: false
portForwardAddress: localhost
ui:
enableMouse: false
headless: false
logoless: false
crumbsless: false
splashless: false
reactive: false
noIcons: false
defaultsToFullScreen: false
useFullGVRTitle: false
skipLatestRevCheck: false
disablePodCounting: false
shellPod:
image: busybox:1.35.0
namespace: default
limits:
cpu: 100m
memory: 100Mi
imageScans:
enable: false
exclusions:
namespaces: []
labels: {}
logger:
tail: 100
buffer: 5000
sinceSeconds: -1
textWrap: false
disableAutoscroll: false
showTime: false
thresholds:
cpu:
critical: 90
warn: 70
memory:
critical: 90
warn: 70
defaultView: ""