-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathetcd.conf.yml
37 lines (26 loc) · 1.16 KB
/
etcd.conf.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# -*- mode: yaml -*-
# This is the configuration file for the etcd server.
# Human-readable name for this member.
name: 'etcd0'
# Path to the data directory.
data-dir: '/data/etcd'
# List of comma separated URLs to listen on for peer traffic.
listen-peer-urls: http://0.0.0.0:2380
# List of comma separated URLs to listen on for client traffic.
listen-client-urls: http://0.0.0.0:2379
# List of this member's peer URLs to advertise to the rest of the cluster.
# The URLs needed to be a comma-separated list.
initial-advertise-peer-urls: http://172.30.0.14:2380
# List of this member's client URLs to advertise to the public.
# The URLs needed to be a comma-separated list.
advertise-client-urls: http://172.30.0.14:2379
# Initial cluster configuration for bootstrapping.
initial-cluster: etcd0=http://172.30.0.14:2380
# Initial cluster token for the etcd cluster during bootstrap.
initial-cluster-token: 'etcd-cluster-1'
# Initial cluster state ('new' or 'existing').
initial-cluster-state: 'new'
# Enable runtime profiling data via HTTP server
enable-pprof: true
# Specify 'stdout' or 'stderr' to skip journald logging even when running under systemd.
log-outputs: [stderr]