Fading Coder

One Final Commit for the Last Sprint

Implementing Automated Service Scaling with SaltStack and etcd

etcd Service Installation and Basic Operations Installing etcd wget https://github.com/coreos/etcd/releases/download/v3.5.0/etcd-v3.5.0-linux-amd64.tar.gz tar -zxf etcd-v3.5.0-linux-amd64.tar.gz cp etcd/etcd etcd/etcdctl /usr/local/bin/ Starting etcd Server mkdir -p /var/lib/etcd nohup etcd --name a...

Deploying an etcd Cluster with HTTPS Communication Using Binary Packages on CentOS 7

This guide walks through deploying a three-node etcd cluster on CentOS 7 using binary packages, with HTTPS communication enforced via a self-built Certificate Authority (CA). Prior familiarity with an HTTP-based etcd cluster is recommended. For background on CA principles, see the articles on "...

One-Click Deployment Script for ETCD Cluster

One-Click Deployment Script for ETCD Cluster This script automates the deployment of a 3-node ETCD cluster. It downloads the ETCD binary, generates configuration files, and distributes them to each node via SSH. Prerequisites Three machines running CentOS 7. Install required packages: yum install -y...

Configuring TLS for ETCD: Common Pitfalls and Solutions

Environment Setup A cluster with three CentOS 7 virtual machines is used: one master and two etcd nodes. The master also serves as a node for pod workloads. Certificate distribution and other operations are performed from a separate host configured with SSH key-based access to all cluster nodes. IP...

Using etcd v3 in Go: KV operations, Leases, Watches, and Transactions

Install and import Install the official v3 client module: go get go.etcd.io/etcd/client/v3 References: API docs: https://pkg.go.dev/go.etcd.io/etcd/client/v3 import ( "context" "encoding/json" "fmt" "log" "time" clientv3 "go.etcd.io/etcd/client/...