Browse Source

k9s: linux settings

Maxim Likhachev 4 years ago
parent
commit
bc7ac0cdf8
  1. 4
      etc/installrc.sh
  2. 2
      etc/rc.linux-gnu
  3. 44
      etc/soft/k9s/config.GenuineIntel.yml
  4. 44
      etc/soft/k9s/config.MacBookAir8,2.yml
  5. 97
      etc/soft/k9s/skin.GenuineIntel.yml

4
etc/installrc.sh

@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
#!/bin/bash
#Создан: Пт 23 авг 2013 19:57:29
#Изменён: Пн 26 фев 2018 17:07:29
#Изменён: Чт 05 авг 2021 17:11:33
#
# (c) 2013, Maxim Lihachev, <envrm@yandex.ru>
@ -66,7 +66,7 @@ check() { @@ -66,7 +66,7 @@ check() {
backup() {
report Сохранение $(basename $filename) $yellow
date=$(\date "+%Y.%m.%e_%H.%M")
date=$(\date "+%Y.%m.%d_%H.%M")
\mv "$link"{,.$date} && \
echo -e "${green}Резервная копия: $link.$date ${rstc}"
}

2
etc/rc.linux-gnu

@ -63,6 +63,8 @@ mkdir -p ~/.config/dunst @@ -63,6 +63,8 @@ mkdir -p ~/.config/dunst
+ soft/dfc ~/.config
+ soft/polybar ~/.config
+ soft/procps ~/.config
+ soft/k9s/config.$(uname -i).yml ~/.k9s
+ soft/k9s/skin.$(uname -i).yml ~/.k9s
+ soft/htop ~/.config
- soft/mc ~/.config
- soft/vim ~/.config

44
etc/soft/k9s/config.GenuineIntel.yml

@ -0,0 +1,44 @@ @@ -0,0 +1,44 @@
k9s:
refreshRate: 2
maxConnRetry: 5
enableMouse: false
headless: false
logoless: false
crumbsless: false
readOnly: false
noIcons: true
logger:
tail: 100
buffer: 5000
sinceSeconds: 60
fullScreenLogs: false
textWrap: false
showTime: false
currentContext: azure-iaas-k8s
currentCluster: azure-iaas-k8s
clusters:
azure-iaas-k8s:
namespace:
active: ""
favorites:
- 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

44
etc/soft/k9s/config.MacBookAir8,2.yml

@ -0,0 +1,44 @@ @@ -0,0 +1,44 @@
k9s:
refreshRate: 2
maxConnRetry: 5
enableMouse: false
headless: false
logoless: false
crumbsless: false
readOnly: false
noIcons: false
logger:
tail: 100
buffer: 5000
sinceSeconds: 60
fullScreenLogs: false
textWrap: false
showTime: false
currentContext: azure-iaas-k8s
currentCluster: azure-iaas-k8s
clusters:
azure-iaas-k8s:
namespace:
active: ""
favorites:
- 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

97
etc/soft/k9s/skin.GenuineIntel.yml

@ -0,0 +1,97 @@ @@ -0,0 +1,97 @@
# OneDark presets
foreground: &foreground "#abb2bf"
background: &background "#282c34"
black: &black "#080808"
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
info:
fgColor: *grey
sectionColor: *green
dialog:
fgColor: *black
bgColor: *background
buttonFgColor: *foreground
buttonBgColor: *green
buttonFocusFgColor: *black
buttonFocusBgColor: *blue
labelFgColor: *orange
fieldFgColor: *blue
frame:
border:
fgColor: *green
focusColor: *green
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
help:
fgColor: *grey
bgColor: *background
indicator:
fgColor: *blue
Loading…
Cancel
Save