Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to verify the Statefulset (Persistent Storage) is really working. #274

Open
nk-gears opened this issue May 9, 2019 · 1 comment
Open

Comments

@nk-gears
Copy link

nk-gears commented May 9, 2019

Would like to know how to test in realtime whether the statefulset for the zookeeper and kafka are working.

This is what i did in GKE:

1.Deleted the PODS (zookeeper & kafka)
2. Recreated the pods by running the apply
3. I don't see the old topics which i created.

Am i missing something.?

Note : I also tried making the replica's to 0 instead of deleting the pods. Is this the right approach to test the statefulness using the the (pv/pvc) in Local and GKE.?

@solsson
Copy link
Contributor

solsson commented May 9, 2019

I'd really like to have an automated such test. The spec should be that you can delete everything but the namespace, and still get your topics back after re-apply. Upgrading from older releases is another matter.

If you lose persistence on scaling down to zero and then up again something is very flawed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants