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

Stop and restart same container currently not possible #4

Open
benbierens opened this issue May 11, 2023 · 2 comments
Open

Stop and restart same container currently not possible #4

benbierens opened this issue May 11, 2023 · 2 comments

Comments

@benbierens
Copy link
Contributor

We can BringOffline some nodes, and then BringOnline again on the same object... BUT!
The underlying containers will be disposed after BringOffline. And new instances will be created afterwards.

What if we want a test in which the same node goes dark for a while, then comes back? The container (+ its filesystem) will need to survive.

Investigate and implement a way to make this happen. Change the BringOnline/BringOffline terminology to more clearly reflect when a node and all of its state is being destroyed.

@veaceslavdoina
Copy link
Contributor

BringOnline/BringOffline is about testing framework actions?

When we run a Pod we can use Persistent Volumes to persist its data during restarts.
If BringOffline means deleting Deployment and BringOnline recreate it back, we may re-use previous Deployment PVC and mount it and data will be in place.

@veaceslavdoina
Copy link
Contributor

We can probably set Replicas = 0 and then return back to 1.

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