[skpi ci] Add how to contribute in chaos README (#8096)

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
This commit is contained in:
zhuwenxing 2021-09-16 18:07:49 +08:00 committed by GitHub
parent 10ca86ef79
commit 690a360439
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,4 +63,12 @@ still in planning
### Todo
* pod_failure
* container_kill
* network attack
* network attack
## How to contribute
* Get familiar with chaos engineering and [Chaos Mesh](https://chaos-mesh.org)
* Design chaos scenarios, preferring to pick from todo list
* Generate yaml file for your chaos scenarios. You can create a chaos experiment in chaos-dashboard, then download the yaml file of it.
* Add yaml file to chaos_objects dir and rename it as `chaos_${component_name}_${chaos_type}.yaml`. Make sure `kubectl apply -f ${your_chaos_yaml_file}` can take effect
* Add testcase in `testcases.yaml`. You should figure out the expectation of milvus during the chaos
* Run your added testcase according to `Manually` above and check whether it as your expectation