coreos / etcd-operator

etcd operator creates/configures/manages etcd clusters atop Kubernetes
https://coreos.com/blog/introducing-the-etcd-operator.html
Apache License 2.0
1.75k stars 740 forks source link

deleting a cluster resource does not remove the cluster pods #1946

Open drewwells opened 6 years ago

drewwells commented 6 years ago

Action taken: -> % k delete EtcdCluster oke-tkm-dw-cygmojqg43t-etcd

operator logs time="2018-04-03T21:34:16Z" level=info msg="cluster is deleted by user" cluster-name=oke-tkm-dw-cygmojqg43t-etcd pkg=cluster

Pods continue to run as normal

-> % k get po | grep 43t-etcd
oke-tkm-dw-cygmojqg43t-etcd-tswgxxcmrl                    1/1       Running   0          2h
oke-tkm-dw-cygmojqg43t-etcd-txqsmw7m8v                    1/1       Running   0          2h
oke-tkm-dw-cygmojqg43t-etcd-w87gc2qmsd                    1/1       Running   0          2h

Versions

etcd-operator chart: 0.7.4
etcd-operator: v0.9.1
kubernetes: 1.9.3
etcd: v3.2.13
drewwells commented 6 years ago

I have the following command being run, but see nothing interesting here about this cluster

      containers:
      - command:
        - etcd-operator
        - --logtostderr=true
mac-zhang commented 5 years ago

I also encountered the same problem and looked forward to a solution.