Netflix/chaosmonkey

chaosmonkey can not kill kubernetes v2 resource in spinnaker

Open

#60 建立於 2019年8月6日

在 GitHub 查看
 (6 留言) (0 反應) (0 負責人)Go (9,318 star) (688 fork)batch import
enhancementhelp wanted

描述

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

貢獻者指南