开发者社区 > 云原生 > 正文

将故障注入k8s时,将报告未找到chaosblades.chaosblade.io\“0f72aa6

./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

展开
收起
码字王 2023-06-12 17:15:12 99 0
1 条回答
写回答
取消 提交回答
  • 与chaosblade io/chaosblad -operator #11相关

    尝试在kube apiserver上设置CustomResourceSubresources功能门:

    --feature-gates=CustomResourceSubresources=true

    原回答者GitHub用户jianxingzhe

    2023-06-12 17:35:18
    赞同 展开评论 打赏

阿里云拥有国内全面的云原生产品技术以及大规模的云原生应用实践,通过全面容器化、核心技术互联网化、应用 Serverless 化三大范式,助力制造业企业高效上云,实现系统稳定、应用敏捷智能。拥抱云原生,让创新无处不在。

相关产品

  • 容器服务Kubernetes版
  • 相关电子书

    更多
    ACK 云原生弹性方案—云原生时代的加速器 立即下载
    ACK集群类型选择最佳实践 立即下载
    企业运维之云原生和Kubernetes 实战 立即下载

    相关镜像