diff --git a/k9s/config.yml b/k9s/config.yml new file mode 100644 index 0000000..d890194 --- /dev/null +++ b/k9s/config.yml @@ -0,0 +1,50 @@ +k9s: + refreshRate: 2 + maxConnRetry: 5 + enableMouse: false + headless: false + logoless: false + crumbsless: false + readOnly: false + noExitOnCtrlC: false + noIcons: false + skipLatestRevCheck: false + logger: + tail: 100 + buffer: 5000 + sinceSeconds: 300 + fullScreenLogs: false + textWrap: false + showTime: false + currentContext: minikube + currentCluster: minikube + clusters: + minikube: + namespace: + active: kube-system + lockFavorites: false + favorites: + - kube-system + - default + view: + active: pods + featureGates: + nodeShell: false + shellPod: + image: busybox:1.35.0 + command: [] + args: [] + namespace: default + limits: + cpu: 100m + memory: 100Mi + labels: {} + portForwardAddress: localhost + thresholds: + cpu: + critical: 90 + warn: 70 + memory: + critical: 90 + warn: 70 + screenDumpDir: /tmp/k9s-screens-rwxrob diff --git a/k9s/setup b/k9s/setup new file mode 100755 index 0000000..acc3656 --- /dev/null +++ b/k9s/setup @@ -0,0 +1,13 @@ +#!/bin/sh + +if [ -z "$(which k9s)" ]; then + echo "Warning, doesn't look like you have k9s installed." + exit 1 +fi + +if [ -d ~/.config/k9s ]; then + mv ~/.config/k9s "$HOME/.config/k9s_$(date -u +%Y%m%d%H%M%S)" +fi + +ln -sf "$PWD" "$HOME/.config/k9s" + diff --git a/k9s/skin.yml b/k9s/skin.yml new file mode 100644 index 0000000..424fa02 --- /dev/null +++ b/k9s/skin.yml @@ -0,0 +1,91 @@ +# K9s Gruvbox Dark Skin Contributed by [@indiebrain](https://github.com/indiebrain) +foreground: &foreground "#ebdbb2" +#background: &background "#272727" +background: &background default +current_line: ¤t_line "#ebdbb2" +selection: &selection "#3c3735" +comment: &comment "#bdad93" +cyan: &cyan "#689d69" +green: &green "#989719" +orange: &orange "#d79920" +magenta: &magenta "#b16185" +blue: &blue "#448488" +red: &red "#cc231c" + +k9s: + body: + fgColor: *foreground + bgColor: *background + logoColor: *blue + info: + fgColor: *magenta + sectionColor: *foreground + dialog: + fgColor: *foreground + bgColor: *background + buttonFgColor: *foreground + buttonBgColor: *magenta + buttonFocusFgColor: white + buttonFocusBgColor: *cyan + labelFgColor: *orange + fieldFgColor: *foreground + frame: + border: + fgColor: *selection + focusColor: *current_line + menu: + fgColor: *foreground + keyColor: *magenta + numKeyColor: *magenta + crumbs: + fgColor: *foreground + bgColor: *comment + activeColor: *blue + status: + newColor: *cyan + modifyColor: *blue + addColor: *green + errorColor: *red + highlightcolor: *orange + killColor: *comment + completedColor: *comment + title: + fgColor: *foreground + bgColor: *background + highlightColor: *orange + counterColor: *blue + filterColor: *magenta + views: + charts: + bgColor: background + defaultDialColors: + - *blue + - *red + defaultChartColors: + - *blue + - *red + table: + fgColor: *foreground + bgColor: *background + cursorFgColor: *foreground + cursorBgColor: *current_line + header: + fgColor: *foreground + bgColor: *background + sorterColor: *selection + xray: + fgColor: *foreground + bgColor: *background + cursorColor: *current_line + graphicColor: *blue + showIcons: false + yaml: + keyColor: *magenta + colonColor: *blue + valueColor: *foreground + logs: + fgColor: *foreground + bgColor: *background + indicator: + fgColor: *foreground + bgColor: *background