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 ...
Linux Signals and Trap
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 ...