It’s very tedious to type full command when you operate on K8s cluster, this blog is the summary of alias I adopt in daily work. P ...
Git Pull Not Clean
Sometimes after I git pull from the master branch, if I run git status, there are some files (for me it’s mainly xxx.dsx) are modi ...
Lose Connection to K8s Server
Kubernetes version 1.13.2 Server Login Failed This morning I find I lose the connection with my icp4d kubernetes server (it was go ...
Docker Registry API
How to list images and tags in the docker registory? How to delete image(layers) in docker registory? These are general demands in ...
Init Container
Kubernetes version 1.13.2 In ICP4D non-root development, I see in each tier the pod contains init container, for example: ... h ...
Zombie and Orphan Process
这里记录了一下 orphan 和 zombie process 的区别和表现形式,以及在 bash 中怎么制造它们和处理 zombie. Today after killing a running process, it didn’t get removed ...
Shell Process Demystify
Understanding how SHELL works under the hood is a must to me, I have encountered several interesting and confusing issues in my da ...
Variables in Shell
This article talks about the variable scope in shell, especially how to access variables between different scripts. Local Variable ...
sed Command Daily Work Summary
Normally we use a interactive text editor, like vim. The command sed is one of the most commonly used command line editor in Linux ...
Asynchronous Processes
在学习orphan 和 zombie process的时候引出了一个wait command的问题,因为我发现shell script中尽管没有用wait 但background children processes 仍然被reap了没有造成zombie, f ...