githubEdit

Etcd

Etcd

Introduction

...

Deploy By Binary

Quick Start

# built from source
git clone -b v3.5.0 https://github.com/etcd-io/etcd.git
cd etcd
./build.sh
install -m 0755 etcd /usr/local/bin
install -m 0755 etcdctl /usr/local/bin
# OR
# download source
wget https://github.com/etcd-io/etcd/releases/download/v3.4.26/etcd-v3.4.26-linux-amd64.tar.gz
tar xf etcd-v3.4.26-linux-amd64.tar.gz && rm -rf etcd-v3.4.26-linux-amd64.tar.gz


# install binaries path
install -m 0755 etcd /usr/local/bin
install -m 0755 etcdctl /usr/local/bin

# create data and config dir
mkdir -p /opt/etcd/data
mkdir -p /opt/etcd/config

Config and Boot

Config

Boot(systemd)

cli command

Deploy By Container

Run On Docker

Run On Kubernetes

[[cc-k8s|deploy by kubernetes manifest]]

[[cc-helm|deploy by helm]]

Reference:

Last updated