From 37510222a6e85b1b32bda43b6d10f533c91ea158 Mon Sep 17 00:00:00 2001 From: Barak Michener Date: Sat, 20 Nov 2021 19:38:02 -0800 Subject: [PATCH 1/2] better k9s config --- .config/k9s/.k9s/config.yml | 46 +++++++++++++++++++++++++++++++++++++++++++++ .config/k9s/hotkey.yml | 13 +++++++++++++ .k9s/config.yml | 46 --------------------------------------------- 3 files changed, 59 insertions(+), 46 deletions(-) create mode 100644 .config/k9s/.k9s/config.yml create mode 100644 .config/k9s/hotkey.yml delete mode 100644 .k9s/config.yml diff --git a/.config/k9s/.k9s/config.yml b/.config/k9s/.k9s/config.yml new file mode 100644 index 0000000..714b868 --- /dev/null +++ b/.config/k9s/.k9s/config.yml @@ -0,0 +1,46 @@ +k9s: + refreshRate: 2 + maxConnRetry: 5 + enableMouse: true + headless: true + logoless: true + crumbsless: false + readOnly: false + noIcons: true + logger: + tail: 100 + buffer: 5000 + sinceSeconds: 300 + fullScreenLogs: false + textWrap: false + showTime: false + currentContext: kubernetes-admin@kubernetes + currentCluster: kubernetes + clusters: + kubernetes: + namespace: + active: "" + favorites: + - sccache + - all + - default + view: + active: pod + featureGates: + nodeShell: false + shellPod: + image: busybox:1.31 + command: [] + args: [] + namespace: default + limits: + cpu: 100m + memory: 100Mi + portForwardAddress: localhost + thresholds: + cpu: + critical: 90 + warn: 70 + memory: + critical: 90 + warn: 70 diff --git a/.config/k9s/hotkey.yml b/.config/k9s/hotkey.yml new file mode 100644 index 0000000..2d2d486 --- /dev/null +++ b/.config/k9s/hotkey.yml @@ -0,0 +1,13 @@ +hotKey: + shift-1: + shortCut: Shift-1 + description: pods + command: pods + shift-2: + shortCut: Shift-2 + description: deps + command: dp + shift-3: + shortCut: Shift-3 + description: nodes + command: nodes diff --git a/.k9s/config.yml b/.k9s/config.yml deleted file mode 100644 index 714b868..0000000 --- a/.k9s/config.yml +++ /dev/null @@ -1,46 +0,0 @@ -k9s: - refreshRate: 2 - maxConnRetry: 5 - enableMouse: true - headless: true - logoless: true - crumbsless: false - readOnly: false - noIcons: true - logger: - tail: 100 - buffer: 5000 - sinceSeconds: 300 - fullScreenLogs: false - textWrap: false - showTime: false - currentContext: kubernetes-admin@kubernetes - currentCluster: kubernetes - clusters: - kubernetes: - namespace: - active: "" - favorites: - - sccache - - all - - default - view: - active: pod - featureGates: - nodeShell: false - shellPod: - image: busybox:1.31 - command: [] - args: [] - namespace: default - limits: - cpu: 100m - memory: 100Mi - portForwardAddress: localhost - thresholds: - cpu: - critical: 90 - warn: 70 - memory: - critical: 90 - warn: 70 From 3505b8f23d3e211a60f17e2d3b3308d0c3ab5e96 Mon Sep 17 00:00:00 2001 From: Barak Michener Date: Sat, 20 Nov 2021 19:41:18 -0800 Subject: [PATCH 2/2] readd config --- .config/k9s/config.yml | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .config/k9s/config.yml diff --git a/.config/k9s/config.yml b/.config/k9s/config.yml new file mode 100644 index 0000000..7f8a196 --- /dev/null +++ b/.config/k9s/config.yml @@ -0,0 +1,45 @@ +k9s: + refreshRate: 2 + maxConnRetry: 5 + enableMouse: true + headless: true + logoless: true + crumbsless: false + readOnly: false + noIcons: true + logger: + tail: 100 + buffer: 5000 + sinceSeconds: 300 + fullScreenLogs: false + textWrap: false + showTime: false + currentContext: kubernetes-admin@kubernetes + currentCluster: kubernetes + clusters: + kubernetes: + namespace: + active: "" + favorites: + - all + - default + view: + active: pods + featureGates: + nodeShell: false + shellPod: + image: busybox:1.31 + command: [] + args: [] + namespace: default + limits: + cpu: 100m + memory: 100Mi + portForwardAddress: localhost + thresholds: + cpu: + critical: 90 + warn: 70 + memory: + critical: 90 + warn: 70