Reimplement migrate-if-needed.sh in go

This commit is contained in:
Joe Betz
2018-03-10 00:03:43 -08:00
parent 7fed970f36
commit dc4d92e154
29 changed files with 1962 additions and 651 deletions

View File

@@ -97,7 +97,7 @@ function cleanup() {
trap cleanup EXIT SIGINT
make -C "${KUBE_ROOT}" WHAT=cmd/kube-apiserver
make -C "${KUBE_ROOT}" WHAT=cluster/images/etcd/attachlease
make -C "${KUBE_ROOT}" WHAT=cluster/images/etcd/migrate
kube::etcd::start
echo "${ETCD_VERSION}" > "${ETCD_DIR}/version.txt"