You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I tried to terminate instances using this command: chaosmonkey terminate my-chaosmonkey-app default
"my-chaosmonkey-app" is my application name
"default" is the account name
I got this error:
[57965] 2025/03/09 00:04:03 WARNING: eligible.Instances failed for InstanceGroup{app=my-chaosmonkey-app account=default region= stack= cluster=}: Name 'deployment my-chaosmonkey-app' does not have any labeled or unlabeled matches
[57965] 2025/03/09 00:04:03 No eligible instances in group, nothing to terminate: InstanceGroup{app=my-chaosmonkey-app account=default region= stack= cluster=}
Chaosmonkey is running on my macOS, cloud provider is Kubernetes, and the Spinnaker is managed by Halyard on docker.
Here are some information of the deployments:
The configuration of the monkey for the application is also valid:
The chaosmonkey.toml:
[chaosmonkey]
enabled = true
schedule_enabled = true
leashed = false
accounts = ["default","spinnakerk8s"]
region = "us-west-2"
start_hour = 9 # time during day when starts terminating
end_hour = 15 # time during day when stops terminating
# location of command Chaos Monkey uses for doing terminations
term_path = "./chaosmonkey-terminate.sh"
# cron file that Chaos Monkey writes to each day for scheduling kills
cron_path = "./cron.d/chaosmonkey-schedule"
[database]
host = "127.0.0.1"
name = "chaosmonkey"
user = "root"
encrypted_password = "root"
[spinnaker]
endpoint = "http://127.0.0.1:8084"
And information about my Spinnaker:
This is the application:
This is the clusters info:
This is the pipeline:
This is the Manifest configuration of my pipeline:
According to spinnaker/spinnaker#3671, it might be the name convention issue, so I re-configured my Manifest of the pipeline, and re-deployed the clusters, now they are showing below (the name has been changed from "deployment my-chosmonkey-app" to "my-chaosmonkey-app"):
I think this should match the "app-stack-detail" name convention, but when I execute the chaosmonkey eligible command below, I still can't get any available instances returned:
Issue Description
When I tried to terminate instances using this command:
chaosmonkey terminate my-chaosmonkey-app default
I got this error:
Chaosmonkey is running on my macOS, cloud provider is Kubernetes, and the Spinnaker is managed by Halyard on docker.
Here are some information of the deployments:
The configuration of the monkey for the application is also valid:
The chaosmonkey.toml:
And information about my Spinnaker:
This is the application:
This is the clusters info:
This is the pipeline:
This is the Manifest configuration of my pipeline:
I also find two similar issues:
but seems there is no resolution.
The text was updated successfully, but these errors were encountered: