本实验将实现使用chaosblade工具对k8s集群下的某pod中的container增加CPU或内存负载,以作为故障测试。
实验环境:
1. 在k8s集群中部署Guestbook application
https://github.com/cloudnativeapp/guestbook?spm=5176.2020520152.0.0.7c5f16ddH8myx6
这里部署v1版本做混沌测试对象。
2.安装chaosblade-operator最新版本,作为实现测试的工具,建议helm安装
GitHub - chaosblade-io/chaosblade-operator: chaosblade operator for kubernetes experiments
3.安装Kubernetes Dashboard。因为本实验是CPU负载测试,需要使用Kubernetes Dashboard来可视化容器中的CPU变化。



被折叠的 条评论
为什么被折叠?



