Jakub Pavlik | 93707ec | 2016-08-10 11:35:18 +0200 | [diff] [blame] | 1 | |
2 | ================================== | ||||
3 | ETCD Formula | ||||
4 | ================================== | ||||
5 | |||||
6 | Service etcd description | ||||
7 | |||||
8 | Sample pillars | ||||
9 | ============== | ||||
10 | |||||
11 | Single etcd service | ||||
12 | --------------------- | ||||
13 | |||||
14 | .. code-block:: yaml | ||||
15 | |||||
16 | etcd: | ||||
17 | server: | ||||
18 | enabled: true | ||||
19 | bind: | ||||
20 | host: 10.0.175.101 | ||||
21 | token: $(uuidgen) | ||||
22 | members: | ||||
23 | - host: 10.0.175.101 | ||||
24 | name: etcd01 | ||||
25 | port: 4001 | ||||
26 | |||||
27 | Cluster etcd service | ||||
28 | ---------------------- | ||||
29 | |||||
30 | .. code-block:: yaml | ||||
31 | |||||
32 | etcd: | ||||
33 | server: | ||||
34 | enabled: true | ||||
35 | bind: | ||||
36 | host: 10.0.175.101 | ||||
37 | token: $(uuidgen) | ||||
38 | members: | ||||
39 | - host: 10.0.175.101 | ||||
40 | name: etcd01 | ||||
41 | port: 4001 | ||||
42 | - host: 10.0.175.102 | ||||
43 | name: etcd02 | ||||
44 | port: 4001 | ||||
45 | - host: 10.0.175.103 | ||||
46 | name: etcd03 | ||||
47 | port: 4001 | ||||
48 | |||||
49 | ETCD proxy | ||||
50 | ------------- | ||||
51 | |||||
52 | .. code-block:: yaml | ||||
53 | |||||
54 | etcd: | ||||
55 | server: | ||||
56 | enabled: true | ||||
57 | bind: | ||||
58 | host: 10.0.175.101 | ||||
Pavel Cizinsky | 8835dfa | 2016-08-10 15:09:25 +0200 | [diff] [blame^] | 59 | proxy: true |
Jakub Pavlik | 93707ec | 2016-08-10 11:35:18 +0200 | [diff] [blame] | 60 | members: |
61 | - host: 10.0.175.101 | ||||
62 | name: etcd01 | ||||
63 | - host: 10.0.175.102 | ||||
64 | name: etcd02 | ||||
65 | - host: 10.0.175.103 | ||||
66 | name: etcd03 | ||||
67 | |||||
68 | Read more | ||||
69 | ========= | ||||
70 | |||||
71 | * links |