摘要:
I have an HA k8s cluster which has 3 control-plane nodes. When 2 of the 3 control-plane nodes are shut down, the cluster stops working. When shut down 阅读全文
摘要:
1. Remove a PPA from Software Sources via GUI 2. Remove a PPA using APT in terminal: zzh@ZZHPC:~$ sudo add-apt-repository --remove "deb [arch=amd64] h 阅读全文
摘要:
Enable forwarding from Docker containers to the outside world By default, traffic from containers connected to the default bridge network is not forwa 阅读全文
摘要:
The problem is with slashes: your variable contains them and the final command will be something like sed "s/string/path/to/something/g", containing w 阅读全文
摘要:
The shebang must be the first line, because it is interpreted by the kernel, which looks at the two bytes at the start of an executable file. If these 阅读全文
摘要:
If you have a known octal or hexadecimal value (at script-writing time), you can just use printf: # POSIX printf '\047\n' # bash/ksh/zsh and a few oth 阅读全文