Netflix / SimianArmy

Tools for keeping your cloud operating in top form. Chaos Monkey is a resiliency tool that helps applications tolerate random instance failures.
Apache License 2.0
7.98k stars 1.13k forks source link

Can chaos monkey terminate instance not in default namespace? #346

Open Cwwwwww opened 5 years ago

Cwwwwww commented 5 years ago
# kubectl get pods -n chaos
NAME                                 READY   STATUS    RESTARTS   AGE
testforcw-test-test1530-v000-m8nhm   1/1     Running   0          122m

# chaosmonkey eligible testforcw chaos-account --cluster=testforcw-test-test1530 --region=chaos
testforcw-test-test1530-v000-m8nhm

# chaosmonkey terminate testforcw chaos-account --cluster=testforcw-test-test1530 --region=chaos
[ 8222] 2019/06/13 17:39:49 Picked: {testforcw chaos-account chaos test testforcw-test-test1530 testforcw-test-test1530-v000 testforcw-test-test1530-v000-m8nhm kubernetes}

but I still get error: "Failed to delete pod testforcw-test-test1530-v000-m8nhm in default" and the pod was not terminated and restart

does anyone have any ideal about this problem?