Service registration and service discovery implemented by golang+etcd

etcd is a powerful, reliable, and easy-to-use distributed key-value storage system that can help users store and synchronize key data in a distributed environment and achieve high availability and data consistency. sex. The powerful observation and notification functions make it a very suitable choice as a configuration management center or service registration/discovery module. The following […]

[In-depth explanation of etcd series] 1. Architecture overview

Introduction As the core component of FusionStage, etcd is responsible for data persistence, cluster election, status synchronization and other functions of most components of FusionStage. As such an important component, we need to deeply understand its architectural design and internal processes. Only in this way can we use etcd better. This article attempts to interpret […]

etcd does service registration and service discovery

etcd does service registration and service discovery Service registration: All nodes of the same service are registered in the same directory. After the node is started, its information is registered in the directory of the service it belongs to. Health check: Service nodes perform health checks regularly. The information registered in the service directory is […]

k8s-deploy velero to backup etcd

Early environment description: Velero backup must be stored in object storage, here minio is used for object storage. one minio deployment # docker pull minio/minio:RELEASE.2022-04-12T06-55-35Z # mkdir -p /data/minio #Create a minio container. If not specified, the default username and password are minioadmin/minioadmin, which can be customized through environment variables, as follows: # docker run […]

2 coredns deployment and etcd data backup and recovery

one coredns deployment 1 coredns.yaml file acquisition coredns.io official website Download the binary from github GitHub – coredns/coredns: CoreDNS is a DNS server that chains pluginshttps://github.com/kubernetes/kubernetes/tree/master/cluster/addons/dns/coredns #You can also download the corednsyaml file in this connection 2 coredns.yaml file configuration 2.1 Set the domain name to be resolved The resolved domain name must be consistent […]

Build your own go program into a high-availability system based on etcdserver package (Part 1)

Build your own go program into a high-availability system based on the etcdserver package (Part 1) Background Each of our system developers hopes that their programs will never go down, and high availability is the goal of many systems. So how do we transform our system into a highly available system? With this question in […]

etcd implements large-scale service governance application practice

Introduction: Service governance is currently being paid more and more attention to enterprise construction, especially now that cloud native, microservices and other technologies are being used by more enterprises. The content of this article is based on the large model of Baidu’s small program team. Some summaries of practical experience in service governance, combined with […]

ETCD cluster construction (available in practice)

Overview etcd is a key-value database with both consistency and high availability. It can be used as the backend database to save all Kubernetes cluster data. – official website: Documentation versions | etcd Prepare cfssl certificate generation tool cfssl is an open source certificate management tool that uses json files to generate certificates. Operate on […]

etcd implements large-scale service governance application practice

Introduction: Service governance is currently being paid more and more attention to enterprise construction, especially now that cloud native, microservices and other technologies are being used by more enterprises. The content of this article is based on the large model of Baidu’s small program team. Some summaries of practical experience in service governance, combined with […]

etcd implements large-scale service governance application practice

Introduction: Service governance is currently being paid more and more attention to enterprise construction, especially now that cloud native, microservices and other technologies are being used by more enterprises. The content of this article is based on the large model of Baidu’s small program team. Some summaries of practical experience in service governance, combined with […]