From a61a4acc4ee8b619a55c3cd23f859efe622a9b70 Mon Sep 17 00:00:00 2001 From: moelsayed Date: Tue, 9 Jul 2019 00:16:25 +0200 Subject: [PATCH] remove rolling snapshot container during clean up --- services/etcd.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/services/etcd.go b/services/etcd.go index 2eb9e075..002fc966 100644 --- a/services/etcd.go +++ b/services/etcd.go @@ -122,6 +122,9 @@ func RemoveEtcdPlane(ctx context.Context, etcdHosts []*hosts.Host, force bool) e if err := docker.DoRemoveContainer(ctx, runHost.DClient, EtcdContainerName, runHost.Address); err != nil { errList = append(errList, err) } + if err := docker.DoRemoveContainer(ctx, runHost.DClient, EtcdSnapshotContainerName, runHost.Address); err != nil { + errList = append(errList, err) + } if !runHost.IsWorker || !runHost.IsControl || force { // remove unschedulable kubelet on etcd host if err := removeKubelet(ctx, runHost); err != nil {