krkn-chaos / krkn

Chaos and resiliency testing tool for Kubernetes with a focus on improving performance under failure conditions. A CNCF sandbox project.
Apache License 2.0
291 stars 102 forks source link

Add ebs loss scenario #692

Open jtydlack opened 2 months ago

jtydlack commented 2 months ago

Resolves #678

pablomh commented 1 month ago

Is there any reason why this functionality shouldn't be implemented as a new scenario of aws_node_scenarios?

chaitanyaenr commented 1 month ago

Is there any reason why this functionality shouldn't be implemented as a new scenario of aws_node_scenarios?

Agree with @pablomh that we can make it as an additional action in the node-scenarios - https://github.com/krkn-chaos/krkn/blob/main/scenarios/openshift/aws_node_scenarios.yml where the parameters are similar for aws, gcp, azure - node name to target, volume id etc and we run the detach logic based on cloud_provider set ( aws, gcp etc. )