Jakub Pavlik | 93707ec | 2016-08-10 11:35:18 +0200 | [diff] [blame] | 1 | |
Ales Komarek | dea23fb | 2016-09-25 08:08:15 +0200 | [diff] [blame] | 2 | ==== |
3 | etcd | ||||
4 | ==== | ||||
Jakub Pavlik | 93707ec | 2016-08-10 11:35:18 +0200 | [diff] [blame] | 5 | |
Ales Komarek | dea23fb | 2016-09-25 08:08:15 +0200 | [diff] [blame] | 6 | A distributed, reliable key-value store for the most critical data of a distributed system. |
Jakub Pavlik | 93707ec | 2016-08-10 11:35:18 +0200 | [diff] [blame] | 7 | |
8 | Sample pillars | ||||
9 | ============== | ||||
10 | |||||
Ales Komarek | dea23fb | 2016-09-25 08:08:15 +0200 | [diff] [blame] | 11 | Standalone etcd service |
12 | ----------------------- | ||||
Jakub Pavlik | 93707ec | 2016-08-10 11:35:18 +0200 | [diff] [blame] | 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 | |||||
Ales Komarek | dea23fb | 2016-09-25 08:08:15 +0200 | [diff] [blame] | 27 | Clustered etcd service |
Jakub Pavlik | 93707ec | 2016-08-10 11:35:18 +0200 | [diff] [blame] | 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 | |||||
Ales Komarek | dea23fb | 2016-09-25 08:08:15 +0200 | [diff] [blame] | 49 | etcd proxy |
50 | ---------- | ||||
Jakub Pavlik | 93707ec | 2016-08-10 11:35:18 +0200 | [diff] [blame] | 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 | |
Ales Komarek | dea23fb | 2016-09-25 08:08:15 +0200 | [diff] [blame] | 61 | |
62 | etcd on k8s | ||||
63 | ----------- | ||||
marco | 9c1f23c | 2016-09-21 11:54:37 +0200 | [diff] [blame] | 64 | |
65 | .. code-block:: yaml | ||||
66 | |||||
67 | etcd: | ||||
68 | server: | ||||
69 | engine: kubernetes | ||||
70 | |||||
Jakub Pavlik | 93707ec | 2016-08-10 11:35:18 +0200 | [diff] [blame] | 71 | Read more |
72 | ========= | ||||
73 | |||||
Ales Komarek | dea23fb | 2016-09-25 08:08:15 +0200 | [diff] [blame] | 74 | * https://coreos.com/etcd/ |