etcds 0.1.0 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +26 -5
- data/bin/etcds +1 -3
- data/lib/etcds/version.rb +1 -1
- data/lib/etcds.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb93256ea8426d24ac0a63b8e16eb8564a279b5a
|
4
|
+
data.tar.gz: 0dff28dc6ac10b152b37a15c6bd9ac5c752bd225
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7032acc7fee334edaaa9bbd4564d5728761de9bce8e8b2cdbe298ceb1ed2ad996f7a9cd4a53c9534ae7c880487132bea658a036d324e5879e90b7d3814c92d53
|
7
|
+
data.tar.gz: 74b5c1c6816d666f36fa279956966090e451853e821e10bdbbee7e6a2a0e017d6182fce40c8f2e0d7da47c1e20f5dc45657740841839f5c719ae9219937a7117
|
data/README.md
CHANGED
@@ -1,12 +1,16 @@
|
|
1
1
|
# Etcds
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
3
|
+
A etcd cluster manager.
|
6
4
|
|
7
5
|
## Installation
|
8
6
|
|
9
|
-
|
7
|
+
etcd depends on etcd-ca, so you should install it in advance like this:
|
8
|
+
|
9
|
+
```
|
10
|
+
go get github.com/coreos/etcd-ca
|
11
|
+
```
|
12
|
+
|
13
|
+
After that, add this line to your application's Gemfile:
|
10
14
|
|
11
15
|
```ruby
|
12
16
|
gem 'etcds'
|
@@ -22,7 +26,24 @@ Or install it yourself as:
|
|
22
26
|
|
23
27
|
## Usage
|
24
28
|
|
25
|
-
|
29
|
+
Before run etcds command, you should prepare the configuration file
|
30
|
+
`etcds.yml` at current directory.
|
31
|
+
|
32
|
+
% etcds [sub command] [options] [args]
|
33
|
+
|
34
|
+
```
|
35
|
+
Available sub commands:
|
36
|
+
ctl [name] commands pass commands to etcdctl
|
37
|
+
health show cluster health for all nodes
|
38
|
+
init prepare ca files for all nodes
|
39
|
+
install [names...] install ca files to the host
|
40
|
+
ls list up nodes
|
41
|
+
member show member list for all nodes
|
42
|
+
ps list up etcd containers
|
43
|
+
rm [names...] remove stopped nodes
|
44
|
+
stop [names...] stop nodes
|
45
|
+
up [names...] prepare and activate etcd
|
46
|
+
```
|
26
47
|
|
27
48
|
## Development
|
28
49
|
|
data/bin/etcds
CHANGED
data/lib/etcds/version.rb
CHANGED
data/lib/etcds.rb
CHANGED