Troubleshooting
Summary of Kubernetes 1.6.0 Installation Problems
· β˜• 2 min read
1. CNI Problems Error log 1 2 journalctl -u kubelet ...Unable to update cni config: No networks found in /etc/cni/net.d Because no CNI is installed, you need to remove --network-plugin=cni from the parameters in /var/lib/kubelet/kubeadm-flags.env. 1 2 cat /var/lib/kubelet/kubeadm-flags.env KUBELET_KUBEADM_ARGS="--cgroup-driver=systemd --pod-infra-container-image=k8s.gcr.io/pause:3.1" 2. Node NotReady There can be many reasons for a node being NotReady.

Troubleshooting and Resolving Celery Failures on Large Files
· β˜• 3 min read
1. A Small Requirement We run into small requirements all the time, but they are not always simple to implement. Here is a simple file upload requirement, broken into the following steps: The user uploads a large file on the page The large file is temporarily stored in the internal

Problems Using Docker on Windows 7
· β˜• 2 min read
1. Customizing the docker-machine Location When using Docker on Windows 7, docker-machine is stored by default in the C:\users\your name\.docker\machine\machines directory. To avoid taking up storage space on the system drive, you can change this as follows. If you have not created a virtual machine yet, you can specify the location by setting the MACHINE_STORAGE_PATH environment variable.

Nginx Configuration Problem Record
· β˜• 1 min read
1. server_name Has No Effect Symptom: Nginx reverse-proxies two applications, and the configuration details are as follows. It turned out that requests to b.chenshaowen.com and a.chenshaowen.com both returned responses from service A. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 server

Linux Performance Command Tools
· β˜• 1 min read
There are many performance tools on the Linux platform, enough to make your head spin, but long-term exploration and experience have shown that the most useful ones are still those time-tested, simple little utilities. Below are the command-line tools collected from system performance expert Brendan D. Gregg’s talk on Linux performance (Linux Performance Tools).