Open
Description
Issue Description
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:
apiVersion: apps/v1
kind: Deployment
metadata:
name: my-chaosmonkey-app
namespace: default
spec:
replicas: 3
selector:
matchLabels:
app: my-chaosmonkey-app
template:
metadata:
labels:
app: my-chaosmonkey-app
spec:
containers:
- image: 'wen15th/my-chaosmonkey-app:v1'
name: my-chaosmonkey-app
ports:
- containerPort: 5000
I also find two similar issues:
Metadata
Metadata
Assignees
Labels
No labels