etcd-io/etcd
Applications
The repo ships three end-user binaries plus two operational modes built into the same etcd executable.
| Binary | Source | Role |
|---|---|---|
etcd |
main.go → server/main.go → server/etcdmain/etcd.go |
Cluster member; default mode |
etcd gateway start |
server/etcdmain/gateway.go |
Stateless TCP load balancer toward an etcd cluster |
etcd grpc-proxy start |
server/etcdmain/grpc_proxy.go, server/proxy/grpcproxy/ |
Caching gRPC proxy that consolidates client connections |
etcdctl |
etcdctl/main.go → etcdctl/ctlv3/ |
gRPC client CLI |
etcdutl |
etcdutl/main.go |
Offline data-file utility (no cluster needed) |
Pages
- etcd server — the main binary, including gateway and grpc-proxy modes.
- etcdctl — the v3 client CLI.
- etcdutl — the offline utility.
How they fit together
graph LR
subgraph user[Operator / Developer]
ctl[etcdctl]
utl[etcdutl]
end
subgraph cluster[etcd cluster]
m1[etcd member 1]
m2[etcd member 2]
m3[etcd member 3]
end
proxy[etcd grpc-proxy]
gw[etcd gateway]
ctl -->|gRPC| proxy
ctl -->|gRPC| m1
proxy -->|gRPC fan-out| m1
proxy -->|gRPC fan-out| m2
proxy -->|gRPC fan-out| m3
gw -->|TCP| m1
gw -->|TCP| m2
utl -.->|reads/writes data files| m1Built by Factory AutoWiki from public repository content. It is a generated preview for codebase exploration, not source-maintained documentation.