For each master VM:
1. Log in via bosh ssh into the master VM and become root
$ bosh ssh master/xxx
$ sudo -i
2. Make sure all jobs are running except for
etcd and
kube-apiserver
$ monit start all
Wait a few moments and monitor the jobs state by running
monit summary. When all processes except
etcd and
kube-apiserver (and
flanneld) are in a running state, stop
etcd and
kube-apiserver:
$ monit stop etcd
$ monit stop kube-apiserver
3. Delete the
etcd member directory:
$ rm -r /var/vcap/store/etcd/member
Afterwards, run the following to make sure each master's
etcd and
kube-apiserver are not running.
$ bosh -d <cluster deployment name> is --ps
Then, ssh into master/0 and start
etcd and
kube-apiserver.
$ monit start etcd
$ monit start kube-apiserver
Repeat the above
etcd and
kube-apiserver start up on the remaining masters.