Zsh Bindkey Table

Zsh Line Editor VIA If the ZLE option is set (it is by default) and the shell input is attached to the terminal, the user is allowed to edit command lines. There are two display modes. The first, multi-line mode, is the default. It only works if the TERM parameter is set to a valid terminal type that can move the cursor up. The second, single line mode, is used if TERM is invalid or incapable of moving the cursor up, or if the SINGLE_LINE_ZLE option is set.

Solved kubelet E1103 Orphaned Pod

今年在公司一个小项目上部署了 k8s,学以致用。 这两天检查 kubelet 日志的里面发现有这样的错误日志: 1 Nov 3 18:12:26 k8s-02 kubelet: E1103 18:12:26.572010 1324 kubelet_volumes.go:154] orphaned pod "930d1c27-a975-4de5-9e8f-6e74d42d39e5" found, but volume paths are still present on disk : There were

Prometheus 格式化告警数值

作者:csz 原文: 点我 Question Prometheus 可以使用 $value 变量将当前告警规则表达式的数值输出到告警信息里。但是有些浮点数值位数相当长,非常不便于阅读,对于强迫症患


最近在研究 kafka 的 MirrorMaker, 内网需要复制外网 Kafka 的数据,但是实际配置中发现 外网 kafka 返回给 MirrorMaker的是内网IP,经过查询文