first commit
This commit is contained in:
9
k9s/.config/k9s/aliases.yaml
Normal file
9
k9s/.config/k9s/aliases.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
aliases:
|
||||
dp: deployments
|
||||
sec: v1/secrets
|
||||
jo: jobs
|
||||
cr: clusterroles
|
||||
crb: clusterrolebindings
|
||||
ro: roles
|
||||
rb: rolebindings
|
||||
np: networkpolicies
|
||||
0
k9s/.config/k9s/clusters/hi
Normal file
0
k9s/.config/k9s/clusters/hi
Normal file
@@ -0,0 +1,4 @@
|
||||
benchmarks:
|
||||
defaults:
|
||||
concurrency: 2
|
||||
requests: 200
|
||||
12
k9s/.config/k9s/clusters/kind-kind/kind-kind/config.yaml
Normal file
12
k9s/.config/k9s/clusters/kind-kind/kind-kind/config.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
k9s:
|
||||
cluster: kind-kind
|
||||
namespace:
|
||||
active: default
|
||||
lockFavorites: false
|
||||
favorites:
|
||||
- default
|
||||
view:
|
||||
active: context
|
||||
featureGates:
|
||||
nodeShell: false
|
||||
portForwardAddress: localhost
|
||||
43
k9s/.config/k9s/config.yaml
Normal file
43
k9s/.config/k9s/config.yaml
Normal file
@@ -0,0 +1,43 @@
|
||||
k9s:
|
||||
liveViewAutoRefresh: false
|
||||
screenDumpDir: /Users/matt/Library/Application Support/k9s/screen-dumps
|
||||
refreshRate: 2
|
||||
maxConnRetry: 5
|
||||
readOnly: false
|
||||
noExitOnCtrlC: false
|
||||
ui:
|
||||
enableMouse: false
|
||||
headless: true
|
||||
logoless: false
|
||||
crumbsless: false
|
||||
reactive: false
|
||||
noIcons: false
|
||||
defaultsToFullScreen: false
|
||||
skin: onedark
|
||||
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
|
||||
17
k9s/.config/k9s/k9s-theme-sync.sh
Executable file
17
k9s/.config/k9s/k9s-theme-sync.sh
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
appearance=$(defaults read -g AppleInterfaceStyle 2>/dev/null)
|
||||
|
||||
if [[ "$appearance" = "Dark" ]]; then
|
||||
skin="onedark"
|
||||
else
|
||||
skin="onelight"
|
||||
fi
|
||||
|
||||
config_file="$HOME/dotfiles/k9s/.config/k9s/config.yaml"
|
||||
|
||||
if [[ -f "$config_file" ]]; then
|
||||
sed -i '' "s/skin: .*/skin: $skin/" "$config_file"
|
||||
fi
|
||||
|
||||
exec k9s "$@"
|
||||
12241
k9s/.config/k9s/k9s.log
Normal file
12241
k9s/.config/k9s/k9s.log
Normal file
File diff suppressed because it is too large
Load Diff
15
k9s/.config/k9s/plugins/debug-container.yaml
Normal file
15
k9s/.config/k9s/plugins/debug-container.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
plugins:
|
||||
#--- Create debug container for selected pod in current namespace
|
||||
# See https://kubernetes.io/docs/tasks/debug/debug-application/debug-running-pod/#ephemeral-container
|
||||
debug:
|
||||
shortCut: Shift-D
|
||||
description: Add debug container
|
||||
dangerous: true
|
||||
scopes:
|
||||
- containers
|
||||
command: bash
|
||||
background: false
|
||||
confirm: true
|
||||
args:
|
||||
- -c
|
||||
- "kubectl debug -it --context $CONTEXT -n=$NAMESPACE $POD --target=$NAME --image=nicolaka/netshoot:v0.14 --profile=sysadmin --share-processes -- bash"
|
||||
108
k9s/.config/k9s/skins/onedark.yaml
Normal file
108
k9s/.config/k9s/skins/onedark.yaml
Normal file
@@ -0,0 +1,108 @@
|
||||
foreground: &foreground "#abb2bf"
|
||||
background: &background "transparent"
|
||||
black: &black "#282c34"
|
||||
blue: &blue "#61afef"
|
||||
green: &green "#98c379"
|
||||
grey: &grey "#abb2bf"
|
||||
orange: &orange "#ffb86c"
|
||||
purple: &purple "#c678dd"
|
||||
red: &red "#e06370"
|
||||
yellow: &yellow "#e5c07b"
|
||||
yellow_bright: &yellow_bright "#d19a66"
|
||||
|
||||
k9s:
|
||||
body:
|
||||
fgColor: *foreground
|
||||
bgColor: *background
|
||||
logoColor: *green
|
||||
prompt:
|
||||
fgColor: *foreground
|
||||
bgColor: *background
|
||||
suggestColor: *orange
|
||||
info:
|
||||
fgColor: *grey
|
||||
sectionColor: *green
|
||||
help:
|
||||
fgColor: *foreground
|
||||
bgColor: *background
|
||||
keyColor: *yellow
|
||||
numKeyColor: *blue
|
||||
sectionColor: *purple
|
||||
dialog:
|
||||
fgColor: *black
|
||||
bgColor: *background
|
||||
buttonFgColor: *foreground
|
||||
buttonBgColor: *green
|
||||
buttonFocusFgColor: *black
|
||||
buttonFocusBgColor: *blue
|
||||
labelFgColor: *orange
|
||||
fieldFgColor: *blue
|
||||
frame:
|
||||
border:
|
||||
fgColor: *green
|
||||
focusColor: *blue
|
||||
menu:
|
||||
fgColor: *grey
|
||||
keyColor: *yellow
|
||||
numKeyColor: *yellow
|
||||
crumbs:
|
||||
fgColor: *black
|
||||
bgColor: *green
|
||||
activeColor: *yellow
|
||||
status:
|
||||
newColor: *blue
|
||||
modifyColor: *green
|
||||
addColor: *grey
|
||||
pendingColor: *orange
|
||||
errorColor: *red
|
||||
highlightColor: *yellow
|
||||
killColor: *purple
|
||||
completedColor: *grey
|
||||
title:
|
||||
fgColor: *blue
|
||||
bgColor: *background
|
||||
highlightColor: *purple
|
||||
counterColor: *foreground
|
||||
filterColor: *blue
|
||||
views:
|
||||
charts:
|
||||
bgColor: *background
|
||||
defaultDialColors:
|
||||
- *green
|
||||
- *red
|
||||
defaultChartColors:
|
||||
- *green
|
||||
- *red
|
||||
table:
|
||||
fgColor: *yellow
|
||||
bgColor: *background
|
||||
cursorFgColor: *black
|
||||
cursorBgColor: *blue
|
||||
markColor: *yellow_bright
|
||||
header:
|
||||
fgColor: *grey
|
||||
bgColor: *background
|
||||
sorterColor: *orange
|
||||
xray:
|
||||
fgColor: *blue
|
||||
bgColor: *background
|
||||
cursorColor: *foreground
|
||||
graphicColor: *yellow_bright
|
||||
showIcons: false
|
||||
yaml:
|
||||
keyColor: *red
|
||||
colonColor: *grey
|
||||
valueColor: *grey
|
||||
logs:
|
||||
fgColor: *grey
|
||||
bgColor: *background
|
||||
indicator:
|
||||
fgColor: *blue
|
||||
bgColor: *background
|
||||
toggleOnColor: *red
|
||||
toggleOffColor: *grey
|
||||
help:
|
||||
fgColor: *grey
|
||||
bgColor: *background
|
||||
indicator:
|
||||
fgColor: *blue
|
||||
113
k9s/.config/k9s/skins/onelight.yaml
Normal file
113
k9s/.config/k9s/skins/onelight.yaml
Normal file
@@ -0,0 +1,113 @@
|
||||
# -----------------------------------------------------------------------------
|
||||
# OneLight Skin
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
# Styles...
|
||||
foreground: &foreground "#2a2b33"
|
||||
background: &background "#eeeeee"
|
||||
black: &black "#000000"
|
||||
blue: &blue "#3360c1"
|
||||
green: &green "#40803f"
|
||||
grey: &grey "#2a2b33"
|
||||
orange: &orange "#ffb86c"
|
||||
purple: &purple "#841e83"
|
||||
red: &red "#b6443a"
|
||||
yellow: &yellow "#795300"
|
||||
|
||||
# Skin...
|
||||
k9s:
|
||||
body:
|
||||
fgColor: *foreground
|
||||
bgColor: *background
|
||||
logoColor: *green
|
||||
prompt:
|
||||
fgColor: *foreground
|
||||
bgColor: *background
|
||||
suggestColor: *orange
|
||||
info:
|
||||
fgColor: *grey
|
||||
sectionColor: *green
|
||||
help:
|
||||
fgColor: *foreground
|
||||
bgColor: *background
|
||||
keyColor: *yellow
|
||||
numKeyColor: *blue
|
||||
sectionColor: *purple
|
||||
dialog:
|
||||
fgColor: *black
|
||||
bgColor: *background
|
||||
buttonFgColor: *foreground
|
||||
buttonBgColor: *green
|
||||
buttonFocusFgColor: *black
|
||||
buttonFocusBgColor: *blue
|
||||
labelFgColor: *orange
|
||||
fieldFgColor: *blue
|
||||
frame:
|
||||
border:
|
||||
fgColor: *foreground
|
||||
focusColor: *blue
|
||||
menu:
|
||||
fgColor: *grey
|
||||
keyColor: *yellow
|
||||
numKeyColor: *yellow
|
||||
crumbs:
|
||||
fgColor: *background
|
||||
bgColor: *green
|
||||
activeColor: *yellow
|
||||
status:
|
||||
newColor: *blue
|
||||
modifyColor: *green
|
||||
addColor: *grey
|
||||
pendingColor: *orange
|
||||
errorColor: *red
|
||||
highlightColor: *yellow
|
||||
killColor: *purple
|
||||
completedColor: *grey
|
||||
title:
|
||||
fgColor: *blue
|
||||
bgColor: *background
|
||||
highlightColor: *purple
|
||||
counterColor: *foreground
|
||||
filterColor: *blue
|
||||
views:
|
||||
charts:
|
||||
bgColor: *background
|
||||
defaultDialColors:
|
||||
- *green
|
||||
- *red
|
||||
defaultChartColors:
|
||||
- *green
|
||||
- *red
|
||||
table:
|
||||
fgColor: *yellow
|
||||
bgColor: *background
|
||||
cursorFgColor: *background
|
||||
cursorBgColor: *blue
|
||||
markColor: *yellow
|
||||
header:
|
||||
fgColor: *grey
|
||||
bgColor: *background
|
||||
sorterColor: *orange
|
||||
xray:
|
||||
fgColor: *blue
|
||||
bgColor: *background
|
||||
cursorColor: *foreground
|
||||
graphicColor: *yellow
|
||||
showIcons: false
|
||||
yaml:
|
||||
keyColor: *red
|
||||
colonColor: *grey
|
||||
valueColor: *grey
|
||||
logs:
|
||||
fgColor: *grey
|
||||
bgColor: *background
|
||||
indicator:
|
||||
fgColor: *blue
|
||||
bgColor: *background
|
||||
toggleOnColor: *red
|
||||
toggleOffColor: *grey
|
||||
help:
|
||||
fgColor: *grey
|
||||
bgColor: *background
|
||||
indicator:
|
||||
fgColor: *blue
|
||||
44
k9s/.config/k9s/skins/transparent.yaml
Normal file
44
k9s/.config/k9s/skins/transparent.yaml
Normal file
@@ -0,0 +1,44 @@
|
||||
# -----------------------------------------------------------------------------
|
||||
# Transparent skin
|
||||
# Preserve your terminal session background color
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
# Skin...
|
||||
k9s:
|
||||
body:
|
||||
bgColor: default
|
||||
prompt:
|
||||
bgColor: default
|
||||
info:
|
||||
sectionColor: default
|
||||
dialog:
|
||||
bgColor: default
|
||||
labelFgColor: default
|
||||
fieldFgColor: default
|
||||
frame:
|
||||
crumbs:
|
||||
bgColor: default
|
||||
title:
|
||||
bgColor: default
|
||||
counterColor: default
|
||||
menu:
|
||||
fgColor: default
|
||||
views:
|
||||
charts:
|
||||
bgColor: default
|
||||
table:
|
||||
bgColor: default
|
||||
header:
|
||||
fgColor: default
|
||||
bgColor: default
|
||||
xray:
|
||||
bgColor: default
|
||||
logs:
|
||||
bgColor: default
|
||||
indicator:
|
||||
bgColor: default
|
||||
toggleOnColor: default
|
||||
toggleOffColor: default
|
||||
yaml:
|
||||
colonColor: default
|
||||
valueColor: default
|
||||
Reference in New Issue
Block a user