./blade create k8s node-cpu fullload --names 10.4.40.2 --cpu-percent 80 --kubeconfig ~/.kube/config
{"code":800,"success":false,"error":"chaosblades.chaosblade.io "0f72aa65539dd0d8" not found","result":{"uid":"0f72aa65539dd0d8","success":false,"error":"chaosblades.chaosblade.io "0f72aa65539dd0d8" not found","statuses":[{"id":"0f72aa65539dd0d8","state":"Error","kind":"","error":"chaosblades.chaosblade.io "0f72aa65539dd0d8" not found","success":false}]}}
kubectl get crd
NAME AGE chaosblades.chaosblade.io 12h
kubectl get pod -n kube-system | grep chaos
chaosblade-operator-bb5b8dbdb-st82z 1/1 Running 0 12h chaosblade-tool-2hkn6 1/1 Running 0 12h chaosblade-tool-2pv7b 1/1 Running 0 12h chaosblade-tool-2zhj2 1/1 Running 0 12h chaosblade-tool-49t7h 1/1 Running 0 12h chaosblade-tool-4b4hk 1/1 Running 0 12h chaosblade-tool-4qmnm 1/1 Running 0 12h
kubectl version
Client Version: version.Info{Major:"1", Minor:"10+", GitVersion:"v1.10.5-tke.9", GitCommit:"f6932ae218b12bd9a21538a30fb88318b90efa22", GitTreeState:"clean", BuildDate:"2019-08-29T07:52:29Z", GoVersion:"go1.12.8", Compiler:"gc", Platform:"linux/amd64"} Server Version: version.Info{Major:"1", Minor:"10+", GitVersion:"v1.10.5-tke.4", GitCommit:"dfd21a56c282a100bf92bddc04fddc7dee6beb0d", GitTreeState:"clean", BuildDate:"2019-03-21T02:41:07Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}
原提问者GitHub用户kulallwang
与chaosblade io/chaosblad -operator #11相关
尝试在kube apiserver上设置CustomResourceSubresources功能门:
--feature-gates=CustomResourceSubresources=true
原回答者GitHub用户jianxingzhe
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。
阿里云拥有国内全面的云原生产品技术以及大规模的云原生应用实践,通过全面容器化、核心技术互联网化、应用 Serverless 化三大范式,助力制造业企业高效上云,实现系统稳定、应用敏捷智能。拥抱云原生,让创新无处不在。