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

Enhancement: Implement Chaos Experiments for Secrets, Volumes, Services #4348

Open
see-quick opened this issue Feb 16, 2024 · 0 comments
Open

Comments

@see-quick
Copy link

Description

Introduce chaos experiments in Chaos Mesh to test resilience by deleting Kubernetes objects like Secrets, Volumes, Services, etc. This feature simulates accidental losses, enhancing fault tolerance and recovery strategies.

Motivation

  • Test application resilience and recovery from the loss of Kubernetes objects.
  • Validate fault tolerance against accidental or malicious deletions.

Proposed Functionality

  • Target Selection: Users can specify Kubernetes objects (e.g., Secrets, Volumes) for deletion.
  • Selective Deletion: Target objects by name or labels for precise testing.
  • Schedule Deletions: Support for timed, random, and periodic deletion events.
  • Safety Measures: Safeguards to prevent unintended critical deletions.
  • Recovery Testing: Assess automatic or manual recovery processes.

Use Cases

  1. Secrets Deletion: Evaluate application response to losing configuration secrets.
  2. Volumes Deletion: Test stateful application resilience by deleting persistent volumes.
  3. Services Disruption: Assess the impact on networking and service discovery with service deletions.

Open Questions

  • Ensuring safety and recovery in user environments during tests.
  • What mechanisms can be implemented to quickly restore deleted objects if needed?
  • Does Chaos Mesh want to support such functionality?

This proposal aims to broaden Chaos Mesh's capabilities for more comprehensive resilience testing by simulating the deletion of key Kubernetes components.

@g1eny0ung g1eny0ung added good first issue Good for newcomers and removed good first issue Good for newcomers labels Feb 20, 2024
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