chaosblade-io / chaosblade

An easy to use and powerful chaos engineering experiment toolkit.(阿里巴巴开源的一款简单易用、功能强大的混沌实验注入工具)
https://chaosblade.io
Apache License 2.0
5.86k stars 934 forks source link

failed to execute command: ./blade create k8s node-disk burn #1047

Open keerde opened 2 weeks ago

keerde commented 2 weeks ago

Issue Description

The following problem was encountered while injecting node disk IO. How can I solve it

command: ./blade create k8s node-disk burn --names 194.168.0.2 --read --write result:{"code":63061,"success":false,"error":"getClient: k8s exec failed, err: unable to load in-cluster configuration, KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT must be defined"}

Describe what happened (or what feature you want)

Describe what you expected to happen

How to reproduce it (as minimally and precisely as possible)

Tell us your environment

Anything else we need to know?