• Terminated Pod

    delete pod 卡在 “I0911 18:34:01.334912 825565 kubelet_pods.go:979] Pod “xxxx(689dec0e-6057-4221-aa29-d9618c20d3c7)” is terminated, but some volumes have not been cleaned up”。 mount grep 689dec0e 看到有一些相关的 mount 需要 umount。

  • Parameter Substitution

    Advanced Bash-Scripting Guide: Manipulating Variables ${parameter-default} and ${parameter:-default} are almost equivalent. The extra : makes a difference only when parameter has been declared, but is null. #!/bin/bash # param-sub.sh #...

  • 自洽

    自洽未必是好人,但他至少是逻辑上讲的通的,也就是不能有矛盾。那这个必须基于一些大家都普遍认可的观点,比如“我不允许别人做这件事,就默认代表了我自己也不会做;如果我做了一件事,默认代表我也允许别人做这样的事。” 我和不自洽的人相处就非常难受。

  • Disk Benchmark

    只读(随机读占大部分)不写的情况下, 70% 的饱和度 如果再有写的时候,读被压缩,util 升到100% r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz await r_await w_await svctm %util 1753.00 0.00 85020.00 0.00 97.00 3.79 2.20 2.20 0.00 0.40 70.90 956.00 1600.00 55700.00...

  • Kafka Fix No Leader

    reassign pre wait some time, remove /controller if needed

  • 结扎

    今天她说,“你去结扎吧。但结扎不可逆。”

  • Gevent Monkey Patch

    from gevent import monkey monkey.patch_all()

  • Mount Nofail

    External devices that are to be mounted when present but ignored if absent may require the nofail option. This prevents errors being reported at boot. For example: /etc/fstab /dev/sdg1 /media/backup...

  • 以前不知道智齿已经这么大一个洞了,所以相安无事 自从知道以后,就老是想去舔,但是里面有被吃的东西堵住了,就特别难受。以后需要随身带着水牙线了。。

  • Nginx Https Upstream

    Syntax: proxy_ssl_verify on | off; Default: proxy_ssl_verify off; Context: http, server, location This directive appeared in version 1.7.0. nginx upstream 配置 HTTPS 默认是不会做证书验证的