radondb-mysql-kubernetes
radondb-mysql-kubernetes copied to clipboard
feat(e2e): add podchaos api and test cases
What type of PR is this?
/enhancement
Which issue(s) this PR fixes?
Fixes #682
What this PR does?
Summary:
Chaos Mesh is a cloud native Chaos Engineering platform that orchestrates chaos on Kubernetes Chaos documents.
.Chaos mesh use CRD defnine many types of fault and provide detailed of parameter description.So wei can mainly focus on life cycle of CRD instead of focus on basic implements of specific faults.
The details of this implements as follows:
- introduce chaos mesh api into e2e
- programming API according to definition of faults
- programming test case
apis:
- [x] podkill
- [x] containerkill
- [x] podfailure
Special notes for your reviewer?
ci检查未通过,提交代码前执行:
go fmt ./...
go vet ./...
import 规范参考 https://github.com/radondb/radondb-mysql-kubernetes/pull/693#discussion_r970212681
建议补充成功注入后的资源信息,例如mysql节点,podchaos。