Netflix/chaosmonkey

chaosmonkey can not kill kubernetes v2 resource in spinnaker

Open

#60 aperta il 6 ago 2019

Vedi su GitHub
 (6 commenti) (0 reazioni) (0 assegnatari)Go (688 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (9318 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor