Netflix/chaosmonkey

chaosmonkey can not kill kubernetes v2 resource in spinnaker

Open

#60 ouverte le 6 août 2019

Voir sur GitHub
 (6 commentaires) (0 réactions) (0 assignés)Go (688 forks)batch import
enhancementhelp wanted

Métriques du dépôt

Stars
 (9 318 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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

Guide contributeur