Etcd
How to Separate Events from Kubernetes to a Dedicated Etcd
· β˜• 2 min read
The disk pressure on the original etcd is reduced to below 5%, the risk factor is very low, and the cluster shows no anomalies. 1. Deploying the Events Etcd Cluster Events have lower consistency requirements than the main Etcd. Deploying a 3-node cluster is recommended. SSD is recommended for the disk, and the data directory should be kept separate from the main Etcd.

Using In-Cluster Prometheus to Collect Etcd Metrics
· β˜• 2 min read
1. Skipping Certificate Verification Prevents Scraping If you can skip TLS authentication when scraping metrics, that is the easiest path. The Prometheus ConfigMap configuration looks like this: 1 2 3 4 5 6 7 8 9 - job_name: etcd metrics_path: /metrics scheme: https tls_config: insecure_skip_verify: true static_configs: - targets: ["1.1.1.1:2379"] - targets: ["2.

How to Repair a Kubernetes Master Node After Reinstalling the OS
· β˜• 2 min read
Recently I ran into this twice: a host had to be reinstalled because of a failure. In one case only a single Etcd node was left, and the whole cluster stayed down for half an hour before it recovered. This post mainly records the process of initializing a fresh Ubuntu

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

Kubernetes Platform Management Software Stress Testing Plan
· β˜• 4 min read
Kubernetes platform management software runs on Kubernetes and is used to manage the resource objects running on Kubernetes. 1. Testing Approach Test the management capability of the platform software under a given load and a given cluster scale, not the management capability of Kubernetes. The platform software’s management capability is mainly reflected in the ability to create, read, update, and delete workloads and PVs through the UI, and to view the monitoring and logs of workloads directly in the UI.