Skip to content

Commit

Permalink
update etcd to v3.3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
mavimo committed Jan 27, 2019
1 parent d2f223e commit 910012e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pkg/clustermanager/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,8 @@ func (manager *Manager) installMasterStep(node Node, numMaster int, masterNode N
// InstallEtcdNodes installs the etcd cluster
func (manager *Manager) InstallEtcdNodes(nodes []Node) error {
commands := []NodeCommand{
{"download etcd", "mkdir -p /opt/etcd && curl -L https://storage.googleapis.com/etcd/v3.2.13/etcd-v3.2.13-linux-amd64.tar.gz -o /opt/etcd-v3.2.13-linux-amd64.tar.gz"},
{"install etcd", "tar xzvf /opt/etcd-v3.2.13-linux-amd64.tar.gz -C /opt/etcd --strip-components=1"},
{"download etcd", "mkdir -p /opt/etcd && curl -L https://storage.googleapis.com/etcd/v3.3.11/etcd-v3.3.11-linux-amd64.tar.gz -o /opt/etcd-v3.3.11-linux-amd64.tar.gz"},
{"install etcd", "tar xzvf /opt/etcd-v3.3.11-linux-amd64.tar.gz -C /opt/etcd --strip-components=1"},
{"configure etcd", "systemctl enable etcd.service && systemctl stop etcd.service && rm -rf /var/lib/etcd && systemctl start etcd.service"},
}

Expand Down
1 change: 0 additions & 1 deletion pkg/clustermanager/configs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,5 +114,4 @@ WantedBy=multi-user.target
if etcdService != expectedString {
t.Errorf("etcd systemd service does not match expected\n%s", diff.LineDiff(expectedString, etcdService))
}

}

0 comments on commit 910012e

Please sign in to comment.