chaosmonkey icon indicating copy to clipboard operation
chaosmonkey copied to clipboard

chaosmonkey can not kill kubernetes v2 resource in spinnaker

Open elvis-cai opened this issue 6 years ago • 6 comments

when we use Kubernetes Provider V2 (Manifest Based), chaosmonkey can not find resource to kill, Name 'ingress service-xxx' does not have any labeled or unlabeled matches. No eligible instances in group, nothing to terminate

some issue in here: https://github.com/spinnaker/spinnaker/issues/3929

example msg:

chaosmonkey config testclient
(*chaosmonkey.AppConfig)(0xc820332240)({
 Enabled: (bool) true,
 RegionsAreIndependent: (bool) true,
 MeanTimeBetweenKillsInWorkDays: (int) 2,
 MinTimeBetweenKillsInWorkDays: (int) 1,
 Grouping: (chaosmonkey.Group) cluster,
 Exceptions: ([]chaosmonkey.Exception) {
 },
 Whitelist: (*[]chaosmonkey.Exception)(<nil>)
})

error msg:

chaosmonkey terminate  testclient infra-k8s-hk`

[ 7452] 2019/07/30 07:38:42 WARNING: eligible.Instances failed for InstanceGroup{app=testclient account=infra-k8s-hk region= stack= cluster=}: Name 'deployment nginx' does not have any labeled or unlabeled matches

[ 7452] 2019/07/30 07:38:42 No eligible instances in group, nothing to terminate: InstanceGroup{app=testclient account=infra-k8s-hk region= stack= cluster=}

image

elvis-cai avatar Aug 06 '19 07:08 elvis-cai

could anyone have a look of this? This issue blocked us from using Chaos Monkey, and currently we use Chaoskube as an alternative.

tonyairwallex avatar Oct 07 '19 06:10 tonyairwallex

Thanks for reporting this.

We are not sure that we will be able to look at this anytime soon (this quarter). I have at least marked the issue as help wanted and if the community submits a PR, we will be happy to merge it in.

aplsek avatar Oct 07 '19 17:10 aplsek

Thank you for the response and look forward to further updates.

tonyairwallex avatar Oct 07 '19 23:10 tonyairwallex

Anyone got a solution on this one ?

satyak5 avatar May 31 '20 21:05 satyak5

hello,

has a solution been found for that issue?

gianniskap3 avatar Jan 18 '21 11:01 gianniskap3