这是indexloc提供的服务,不要输入任何密码
Skip to content
This repository was archived by the owner on Mar 4, 2021. It is now read-only.
This repository was archived by the owner on Mar 4, 2021. It is now read-only.

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

@Cwwwwww

Description

@Cwwwwww
# 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions