This is a good script template which returns JSON response, it has exit hook, logs and arguments checking. I will continuously upd ...
Create Working Branch
Let me record the workflow about how to create your own working branch from master. I git clone the original repo to local, then g ...
Git Merge and Rebase
之前其实很少用到git merge and git rebase,一般都是通过Github UI Pull Request merges feature branch’s updates into master. 也可在CLI 中merge feature b ...
Container Command and Args
Note, below 2 args formats are tested and worked for shell(sh/bash), other init process may not fit, for example tini, you have t ...
Background Sign Caution
I want to wrap several commands into one line format to put in command/args field in yaml file for Kubernetes. But always get synt ...
Shell timeout Command
timeout command used to run command with a time limit. One case is when you know exactly how long you want a process to run for. A ...
Kubernetes Feature Gates
Kubernetes version 1.13.2 Sometimes you will find the demo run in your kubernetes cluster doesn’t work exactly or doesn’t fit your ...
K8s NFS Mount Volume Permission
Kubernetes version 1.13.2 This is an interesting issue which involves 4 topices: Volume, Security Context, NFS and initContainer. ...
K8s No Route to Host
Kubernetes version 1.13.2 Today I set up a 4 nodes cluster that 3 nodes belong to the same group and one node from another group. ...
The Linux Command Line 2nd
距离第一次看这本书的第一版已经快2年了,当时还完全是个newbie. 这是看第二遍,第二版,重新整理一下笔记,巩固一下不太常用的内容。 — 2021/02/06 - 2021/03/13. Part 1 When we speak of the command ...