blob: 9478886ae36c6a95f1c6a06efeb8bbe8f82384e1 [file] [log] [blame]
Jakub Pavlik93707ec2016-08-10 11:35:18 +02001
2==================================
Tomáš Kukráldaae0d42017-02-08 14:35:43 +01003etcd Formula
Jakub Pavlik93707ec2016-08-10 11:35:18 +02004==================================
5
6Service etcd description
7
Tomáš Kukráldaae0d42017-02-08 14:35:43 +01008Possible `source.engine`:
9
10- **pkg** - install etcd package (default)
11- **docker_hybrid** - copy binaries from docker image (specified in `server.image`)
12
Jakub Pavlik93707ec2016-08-10 11:35:18 +020013Sample pillars
14==============
15
Tomáš Kukrál352eb132017-02-24 22:58:59 +010016Certificates
17-------------
18
19Use certificate authentication (for peers and clients). Certificates must be prepared in advance.
20
21.. code-block:: yaml
22
23 etcd:
24 server:
25 enabled: true
26 ssl:
27 enabled: true
28 bind:
29 host: 10.0.175.101
30 token: $(uuidgen)
31 members:
32 - host: 10.0.175.101
33 name: etcd01
34 port: 4001
35
Jakub Pavlik93707ec2016-08-10 11:35:18 +020036Single etcd service
37---------------------
38
39.. code-block:: yaml
40
41 etcd:
42 server:
43 enabled: true
44 bind:
45 host: 10.0.175.101
46 token: $(uuidgen)
47 members:
48 - host: 10.0.175.101
49 name: etcd01
50 port: 4001
51
52Cluster etcd service
53----------------------
54
55.. code-block:: yaml
56
57 etcd:
58 server:
59 enabled: true
60 bind:
61 host: 10.0.175.101
62 token: $(uuidgen)
63 members:
64 - host: 10.0.175.101
65 name: etcd01
66 port: 4001
67 - host: 10.0.175.102
68 name: etcd02
69 port: 4001
70 - host: 10.0.175.103
71 name: etcd03
72 port: 4001
73
Tomáš Kukráldaae0d42017-02-08 14:35:43 +010074etcd proxy
Jakub Pavlik93707ec2016-08-10 11:35:18 +020075-------------
76
77.. code-block:: yaml
78
79 etcd:
80 server:
81 enabled: true
82 bind:
83 host: 10.0.175.101
Pavel Cizinsky8835dfa2016-08-10 15:09:25 +020084 proxy: true
Jakub Pavlik93707ec2016-08-10 11:35:18 +020085 members:
86 - host: 10.0.175.101
87 name: etcd01
88 - host: 10.0.175.102
89 name: etcd02
90 - host: 10.0.175.103
91 name: etcd03
92
Tomáš Kukráldaae0d42017-02-08 14:35:43 +010093Run etcd on k8s
marco9c1f23c2016-09-21 11:54:37 +020094---------------
95
96.. code-block:: yaml
97
98 etcd:
99 server:
100 engine: kubernetes
101
Tomáš Kukráldaae0d42017-02-08 14:35:43 +0100102Copy etcd binary from container
103---------------
104
105.. code-block:: yaml
106
107 etcd:
108 server:
109 image: quay.io/coreos/etcd:latest
110
Jakub Pavlik93707ec2016-08-10 11:35:18 +0200111Read more
112=========
113
Tomáš Kukráldaae0d42017-02-08 14:35:43 +0100114* https://github.com/coreos/etcd
Filip Pytloun0684f012017-02-02 13:02:03 +0100115
116Documentation and Bugs
117======================
118
119To learn how to install and update salt-formulas, consult the documentation
120available online at:
121
122 http://salt-formulas.readthedocs.io/
123
124In the unfortunate event that bugs are discovered, they should be reported to
125the appropriate issue tracker. Use Github issue tracker for specific salt
126formula:
127
128 https://github.com/salt-formulas/salt-formula-etcd/issues
129
130For feature requests, bug reports or blueprints affecting entire ecosystem,
131use Launchpad salt-formulas project:
132
133 https://launchpad.net/salt-formulas
134
135You can also join salt-formulas-users team and subscribe to mailing list:
136
137 https://launchpad.net/~salt-formulas-users
138
139Developers wishing to work on the salt-formulas projects should always base
140their work on master branch and submit pull request against specific formula.
141
142 https://github.com/salt-formulas/salt-formula-etcd
143
144Any questions or feedback is always welcome so feel free to join our IRC
145channel:
146
147 #salt-formulas @ irc.freenode.net