Skip to content

Instantly share code, notes, and snippets.

View zimmertr's full-sized avatar

TJ Zimmerman zimmertr

  • Issaquah, Washington
View GitHub Profile
-- Logs begin at Fri 2020-08-21 21:59:25 UTC, end at Fri 2020-08-21 22:12:08 UTC. --
Aug 21 21:59:25 localhost kernel: Linux version 4.19.128-flatcar (jenkins@jenkins-worker-3) (gcc version 8.3.0 (Gentoo Hardened 8.3.0-r1 p1.1)) #1 SMP Tue Jun 16 10:17:17 -00 2020
Aug 21 21:59:25 localhost kernel: Command line: BOOT_IMAGE=/flatcar/vmlinuz-a mount.usr=/dev/mapper/usr verity.usr=PARTUUID=7130c94a-213a-4e5a-8e26-6cce9662f132 rootflags=rw mount.usrflags=ro consoleblank=0 root=LABEL=ROOT console=ttyS0,115200n8 console=tty0 flatcar.first_boot=detected flatcar.randomize_disk_guid=00000000-0000-0000-0000-000000000001 verity.usrhash=2ba8709773c62cf8a4feb3651ca220ce633340ec9de142f80c412d43a7f78253
Aug 21 21:59:25 localhost kernel: x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
Aug 21 21:59:25 localhost kernel: x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
Aug 21 21:59:25 localhost kernel: x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
Aug 21 21:59:25 localhost kernel: x86/f
root@earth:~/flatcar# ./flatcar_production_qemu.sh -i cloud-config.ign -- -nographic
GNU GRUB version 2.02
+----------------------------------------------------------------------------+
|*Flatcar default .|
| Flatcar USR-A |
| Flatcar USR-B |
| |
| |
root@earth:~/flatcar# ./flatcar_production_qemu.sh -u cloud-config.yml -- -nographic
GNU GRUB version 2.02
+----------------------------------------------------------------------------+
|*Flatcar default |
| Flatcar USR-A |
| Flatcar USR-B |
| |
| |
root@earth:~# lvdisplay RAIDPool
--- Logical volume ---
LV Path /dev/RAIDPool/RAIDPool_Data
LV Name RAIDPool_Data
VG Name RAIDPool
LV UUID yS16yw-rmd3-P6cn-Xigj-j2Bq-6a94-Eqsmzd
LV Write Access read/write
LV Creation host, time earth, 2020-06-07 00:15:37 +0000
LV Status available
# open 1
# Line Chart
export PATH=/usr/bin:/home/tj/git/Public/fio-plot/fio_plot
DIR=/home/tj/git/Public/fio-plot/fio_plot/
mkdir -p Individual/{Line,2D_Bar,3D_Graph,Histogram}/{Read,Write}
mkdir -p Comparison/{All,Primary,ZFS}/{Read,Write}
cd Comparison/All/Write
fio_plot -i $DIR/FLASHPOOL $DIR/DATAPOOL $DIR/RAIDPOOL $DIR/SATADOM -T "Write IOPS (Line): Flashpool, DataPool, RAIDPool, & SATADOM" -g -r randwrite -t iops --enable-markers
fio_plot -i $DIR/FLASHPOOL $DIR/DATAPOOL $DIR/RAIDPOOL $DIR/SATADOM -T "Write Bandwidth (Line): Flashpool, DataPool, RAIDPool, & SATADOM" -g -r randwrite -t bw --enable-markers
fio_plot -i $DIR/FLASHPOOL $DIR/DATAPOOL $DIR/RAIDPOOL $DIR/SATADOM -T "Write Latency (Line): Flashpool, DataPool, RAIDPool, & SATADOM" -g -r randwrite -t lat --enable-markers
root@earth:~# zpool list DataPool
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
DataPool 12.7T 11.8T 890G - - 54% 93% 1.00x ONLINE -
root@earth:~# zpool status DataPool
pool: DataPool
state: ONLINE
scan: scrub repaired 896K in 1 days 08:43:06 with 0 errors on Wed Mar 4 10:47:11 2020
config:
NAME STATE READ WRITE CKSUM
root@earth:~# zpool list FlashPool
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
FlashPool 464G 31.4G 433G - - 41% 6% 1.00x ONLINE -
root@earth:~# zpool status -v FlashPool
pool: FlashPool
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
lvdisplay pve
--- Logical volume ---
LV Path /dev/pve/swap
LV Name swap
VG Name pve
LV UUID 55EjIl-hTDD-HhGb-OkqM-3qCo-4TcG-vIciXA
LV Write Access read/write
LV Creation host, time proxmox, 2020-05-12 04:10:13 +0000
LV Status available
# open 2
apiVersion: v1
kind: Service
metadata:
labels:
app.kubernetes.io/name: kube-state-metrics
name: kube-state-metrics
namespace: {{ namespace }}
spec:
clusterIP: None
ports:
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app.kubernetes.io/name: kube-state-metrics
name: kube-state-metrics
namespace: {{ namespace }}
spec:
replicas: 1
selector: