Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
I run a simple cluster. When I delete a statefulset.apps, it will not reappear.
Noticeable parameters in my config :
M3-operator is v2.0.0
K8S is 1.15.3
Before all, it works :
Then I remove sts simple-cluster-rep2; it works.
It works means :
Then I remove sts simple-cluster-rep0; it does not do what I expect.
What happened :
Playing a little more...
While sts rep1 and rep2 are up&running, I remove rep1
Everything works as expected :
Because removing rep1 did not fix it (and because I have no sensitive data yet in my cluster), I remove both rep1 and rep2. At that time, rep0 is still missing.
Guess what ? the operator re-created all. Now it's working again. But I have lost my data !
Edit : my data were on the disk and when m3 re-spawned, it found its data and was able to re-use them. No data loss. Only service lost while the cluster was re-spawning. Thanks M3 !