Network
From CPU to Network: A Record of Troubleshooting Application Slowness
· β˜• 11 min read
1. Symptoms The business side reported that the API of application app-a was slow. Looking at the logs, one particular Pod was slow, and deleting that Pod so it moved to another node fixed it. From the monitoring metrics you can see that the Pod’s CPU usage did indeed spike sharply.

Source Code Analysis of Kubernetes Pod IP Management
· β˜• 7 min read
1. Subnet Management by kube-controller-manager kube-controller-manager has many controllers; the one related to Pod IP is NodeIpamController. The NodeIpamController mainly manages the podcidr of nodes: when a new node joins the cluster, it allocates a subnet to that node; when a node is deleted, it reclaims the subnet. The subnets

Dynamic Proxy Envoy
· β˜• 2 min read
Envoy is the third project to graduate from the CNCF, and thanks to features like dynamic configuration and high performance it has become the de facto data plane standard in cloud native. Many projects rely on Envoy to handle data plane traffic while focusing their own efforts on adapting the control plane to their application scenarios, writing user input into Envoy over the xDS protocol.

Network Performance Testing Tool iperf
· β˜• 4 min read
1. Installation Ubuntu 1 apt-get install -y iperf3 CentOS 1 yum install -y iperf3 2. Parameters The principle behind iperf3 is that the client sends packets to the server so the network can be analyzed. It has two running modes: client and server. The iperf3 parameters fall into three groups: common parameters, client parameters, and server parameters.

How to Repair a Kubernetes Cluster After Changing IPs
· β˜• 3 min read
A record of repairing a cluster failure caused by an IP change. There are two clusters: one single-node (allinone) cluster, and one four-node cluster (3 masters, 1 node). 1. Update the Etcd Certificates [On every Etcd node] Back up the Etcd certificates 1 cp -R /etc/ssl/etcd/ssl /etc/ssl/etcd/ssl-bak View the domains