Kubernetes
How to Configure an Efficient Kubernetes Command-Line Terminal
· β˜• 2 min read
Sharpening the axe never delays the woodcutting. No matter when, the time you spend on your toolchain is always worth it. 1. Autocompletion - kubectl OS X install command: 1 brew install bash-complete@2 It is not just for kubectl β€” it provides completion prompts for other command lines too.

Configuring a Proxy for Kubernetes
· β˜• 1 min read
Usually, running a command of the form export http_proxy/https_proxy on the host is enough to set a Proxy. However, settings on the host do not take effect inside containers. Below are several configuration approaches. 1. Configure Docker’s proxy - Node level Configure this on the node that needs the Proxy.

Comparing Helm 2 and Helm 3
· β˜• 6 min read
Helm 3 is finally released. We can say goodbye to Tiller, but Helm 3’s changes do not stop there. Let’s continue exploring the other changes. 1. Saying Goodbye to Tiller Removing Tiller in Helm 3 was a good decision. But to understand why it is good, we first need to understand the background that produced Tiller.

The DNS Service in Kubernetes
· β˜• 7 min read
1. About DNS 1.1 What the DNS Service Is For DNS provides a mapping service from domain names to IPs. For example, you type https://www.chenshaowen.com into a browser to open a page, but the data link communicates over IP and cannot recognize www.chenshaowen.com. This is where a DNS lookup comes in: the input is www.

Helm Mirror Sources in China
· β˜• 1 min read
The official Helm repo https://charts.helm.sh/stable is unreachable from some machines in China, so you need to configure a mirror. 1. Official Repo 1 helm repo add stable https://charts.helm.sh/stable 2. Git Pages Mirror 1 helm repo add stable https://burdenbear.github.io/kube-charts-mirror/ See kube-charts-mirror for a reference on building a self-hosted, self-controlled mirror.