chaosblade-io / chaosblade

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

operator invokes daemonset no set uid #995

Open binbin0325 opened 10 months ago

binbin0325 commented 10 months ago

Issue Description

Type: bug report

Describe what happened (or what feature you want)

operator invokes daemonset no set uid, causes daemonset to automatically generate a uid when it receives a create instruction,because the uid is not passed during destroy, the fault is cleared by the model not by uid. This causes the uid that daemonset automatically generates when it receives the create instruction to be destroyed again in the timed sleep process.

code : https://github.com/chaosblade-io/chaosblade-operator/blob/master/exec/model/executor_nsexec.go#L134

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?

binbin0325 commented 10 months ago

I'll fix it.