Today is a frustrating day and I am scheduled for oncall. There is one related to network that the requests from one side intermit ...
Container Namespace and Cgroup
Different OS the namespace/cgroup path is slightly different. Ubuntu As for Ubuntu, CPU cgroup for example is from: # if you run ...
Docker init Process Signal Caught
//TODO 关于init process signal handling is clear, how about init process forward signal? [ ] ancestor ns send sigterm to container i ...
Metadata Server
The thing is I ran docker container in the VM instance from gcloud, the docker container has gcloud SDK installed beforehand, with ...
Docker Mount Access Permission Deny
When performed the ES upgrade from a Linux jumpbox docker container, interestingly on one of the regions’ jumpbox I cannot read th ...
Elasticsearch Corrupted Shards
We accidently configured all nodes the master role and wrong data path in upgrade and result in all shards unassigned with cluster ...
Kubernetes Cert-manager
Cert-manager git repo, it is recommended to read through the document. Install Using helm chart to deploy cert-manager in K8s clus ...
Python Logging
//TODO: [ ] warnings.warn, for example, from elasticsearch package https://docs.python.org/3/howto/logging.html#when-to-use-loggin ...
jq/yq Cheat Sheet
Summary of some jq use cases and caveats daily. Quick reference: cheat sheet Need to read through some common use cases: offici ...
Python Click
Command line application ingredients: arguments, options(flags) stdin, stdout, stderr meaningful exit code and logging signal han ...