chaos-mesh / chaos-mesh

A Chaos Engineering Platform for Kubernetes.
https://chaos-mesh.org
Apache License 2.0
6.72k stars 832 forks source link

Should chaos mesh support predefined functions #2228

Open fewdan opened 3 years ago

fewdan commented 3 years ago

Feature Request

Is your feature request related to a problem? Please describe:

Should chaos mesh support predefined functions?

Describe the feature you'd like:

I don't know how to name this module. My thought is whether we can define a chaos in advance on the dashboard, and then wait to run it when we want to run it. Similar to the archive logic, it is equivalent to storing some chaos yaml files in advance.

STRRL commented 3 years ago

What's the difference between "archive" and "predefined chaos"?

fewdan commented 3 years ago

What's the difference between "archive" and "predefined chaos"?

@STRRL For "archive", chaos needs to be run (even if it is killed immediately), while "predefined chaos" just defines a yaml and waits for subsequent runs.