When we design a large, complicated script, it is important to consider what happens if the user logs off or shuts down the comput ...
Array in Script
Reference: https://wangdoc.com/bash/array.html The first thing to do is to distinguish between bash indexed array and bash assoc ...
Kubernetes Job and CronJob
Kubernetes version 1.13.2 Recently I use Job to run some one time tasks (later switch back to regular pod because we want to contr ...
Linux Check Disk Space
这里补充一下,常用的关于disk排查的命令就是df, du, dd, lsof, lsblk, blkid, mount, fdisk, mkfs, sync, lvm. More about Linux Storage, see my blog <&l ...
Practical Vim, 2nd Edition
看这种书挺枯燥,还是learn by doing 比较好,使用一段时间就很明确自己需要什么功能了。 By default oc/kubectl edit will use vi in Linux if environment variable OC _EDI ...
Python3 Quick Start
Python build-ins modules: https://docs.python.org/3/library/functions.html#open Template With Docstring, you can use help() comman ...
Docker Container IPC Share
I have a post talks about IPC <<Linux IPC>>, it’s about IPC resource requirements for DB2 and how to adjust the ipc pa ...
Calico Bandwidth Explore
Kubernetes version 1.13.2 I have talked about setting up pod network in Kubernetes cluster using Calico network add-on in this pos ...
Configuring Container DNS
I have some doubts about dnsdomainname command in docker container when I developed non-root DataStage, in Engine Conductor tier. ...
User ID Valid Range
From the CloudPak certification requirments, the uid for non-root user in container should be set in a higher range. We change it ...