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 upk delete sts simple-cluster-rep0 : the sts will not be re-created #177
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I run a simple cluster. When I delete a statefulset.apps, it will not reappear.
Config
Noticeable parameters in my config :
M3-operator is v2.0.0
K8S is 1.15.3
The problem
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 !