kopeio / etcd-manager

operator for etcd: moved to https://github.com/kubernetes-sigs/etcdadm
Apache License 2.0
164 stars 45 forks source link

how to disable etcd-manager and revert to legacy etcd-server? #219

Open carpenterbees opened 5 years ago

carpenterbees commented 5 years ago

Are there any options to disable etcd-manager and revert to legacy etcd-server? After upgrading k8s cluster to 1.12 with kops defaults (etcd-managed enabled) I tried to apply cluster.spec.etcdClusters[*].provider=Legacy, etcd-server started but with clean database (no deployments, services, etc). Etcd-manager saves db on EBS in different directory and seems like dbs are incompatible. Are there any solution/documentation how to downgrade to pure etcd-server? Thanks for ideas in advance.

nucl3arj4zz commented 5 years ago

Hello, i've faced same problem. After updating 1.11.8 to 1.12.8 using KOPS 1.12 etcd-manager update hosts file instead of AWS r53 records. I've tried to roll back setting Legacy option but this making cluster to "forgot" about all data it has because folder for etcd-server do not contain any data.

Looking for solution how to rollback or sync data.