Skip to content

Commit

Permalink
update-etcd-rewrite (#202)
Browse files Browse the repository at this point in the history
* update-etcd-rewrite

* update-etcd-rewrite
  • Loading branch information
calvix committed Sep 26, 2017
1 parent 50e50ca commit c2f46a4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions v_0_1_0/master_template.go
Original file line number Diff line number Diff line change
Expand Up @@ -1069,7 +1069,7 @@ coreos:
RestartSec=0
TimeoutStopSec=10
LimitNOFILE=40000
Environment=IMAGE=quay.io/coreos/etcd:v3.1.8
Environment=IMAGE=quay.io/coreos/etcd:v3.2.7
Environment=NAME=%p.service
EnvironmentFile=/etc/network-environment
ExecStartPre=-/usr/bin/docker stop $NAME
Expand Down Expand Up @@ -1102,7 +1102,9 @@ coreos:
--initial-cluster-token k8s-etcd-cluster \
--initial-cluster etcd0=https://127.0.0.1:2380 \
--initial-cluster-state new \
--data-dir=/var/lib/etcd
--data-dir=/var/lib/etcd \
--auto-compaction-retention=1 \
--enable-v2
[Install]
WantedBy=multi-user.target
Expand Down

0 comments on commit c2f46a4

Please sign in to comment.