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

Re-activating chaos-infra after INACTIVE state or disabling via UI or disconnecting via litmusctl disconnect #4789

Open
bitnahian opened this issue Jul 25, 2024 · 0 comments

Comments

@bitnahian
Copy link

Question

I have Litmus Operator running Litmus 3.5.0 in GKE. I would like to be able to deactivate a chaos-infrastructure and reactivate it on ad-hoc basis. Once I've installed the CRDs I can enable the infra.

However, I've found that disabling it once (either via the UI or using litmusctl disconnect chaos-infra), I can't create an environment with the same name as before - since the INFRA_ID and ACCESS_KEY is different even if the names are the same.

I thought it might be because the ids are managed separately in Mongo collections. So I decided to delete the CRDs from the chaos-infra in the cluster. This causes the chaos-infra to show up as INACTIVE. But when I re-apply the manifests again, it remains as INACTIVE and never turns ACTIVE again.

I would like to be able to save costs by turning off chaos-infra resources, but I always need to start a chaos-infra from scratch if I decided to disable it/delete the resources. Is there any way to re-activate a chaos infra after deleting the chaos-infra manifests?

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

1 participant