diff --git a/examples/policy_triggers/service.yaml b/examples/policy_triggers/service.yaml index 8256b43c..0bba7f87 100644 --- a/examples/policy_triggers/service.yaml +++ b/examples/policy_triggers/service.yaml @@ -179,12 +179,14 @@ topology_template: properties: cpu_lower_bound: 10 adjustment: 1 + targets: [ openstack_vm ] - scale_up: type: radon.policies.scaling.ScaleUp properties: cpu_upper_bound: 90 adjustment: 1 + targets: [ openstack_vm ] - autoscale: type: radon.policies.scaling.AutoScale diff --git a/tests/integration/notify/service.yaml b/tests/integration/notify/service.yaml index f792eefa..4ca74c93 100644 --- a/tests/integration/notify/service.yaml +++ b/tests/integration/notify/service.yaml @@ -97,8 +97,10 @@ topology_template: type: radon.policies.scaling.ScaleDown properties: cpu_lower_bound: 10 + targets: [aws_lambda, configure_monitoring] - scale_up: type: radon.policies.scaling.ScaleUp properties: cpu_upper_bound: 90 + targets: [aws_lambda, configure_monitoring]