Posts
Understanding the Geopolitical World in One Book
· β˜• 2 min read
Author: Wang Wei Publisher: CITIC Press Publication Year: 2017-10-15 ISBN: 9787508667751 Notes: Within ten thousand years, geography is an unchangeable fact and a field that strategists continue to study in depth. To China’s east, past Japan and across the North Pacific, lies the United States; to China’s southwest, through the Indian Ocean and the Atlantic, China is also connected to the United States.

The System Design Differences Between Operations and Business
· β˜• 4 min read
1. Choosing a Communication Protocol Ops systems are better suited to HTTP than to gRPC. More ops and R&D engineers are familiar with HTTP than with other protocols. Once you know the HTTP protocol, learning a RESTful-style HTTP API is quick. Being familiar to more people and easier to learn means better communication and lower handover cost, because they share more common domain background.

Adding imagePullSecrets to Kubernetes
· β˜• 2 min read
1. Adding via kubectl create 1 kubectl create secret docker-registry mypullsecret --docker-server=harbor.chenshaowen.com --docker-username=robot-test --docker-password=xxxxxx With kubectl create you can add credentials for pulling images directly. 2. Adding via ~/.docker/config.json Log in to the image registry with an account and password 1 docker login harbor.chenshaowen.com:5000 1 docker login harbor.chenshaowen.com You can add more than one.

Problems Using the obsutil Command in Containers
· β˜• 1 min read
1. The container’s ulimit is set too low Error message: 1 2 3 4 5 6 7 CheckpointDir: /root/.obsutil_checkpoint OutputDir: /root/.obsutil_output runtime: mlock of signal stack failed: 12 runtime: increase the mlock limit (ulimit -l) or runtime: update your kernel to 5.3.15+, 5.4.2+, or 5.5+ fatal error: mlock failed Under Docker, you can add the ulimit parameter at startup 1 docker run -it --ulimit memlock=-1 .

Symmetry and Asymmetry
· β˜• 1 min read
Author: [US] T.D. Lee Publisher: Tsinghua University Press Published: 2000-05 ISBN: 9787302038665 Notes: I used to enjoy reading about mathematics and physics. After starting work, I was consumed by solving all kinds of project and technical problems, and gradually lost my curiosity about what the world really is. Thanks to the author’s deep mastery, this book presents symmetry and asymmetry across many fields and scenarios with ease, giving the reader a fairly direct feel for the consistency that lies within this contradiction.