aboutsummaryrefslogtreecommitdiffstats
path: root/blueprints/k8s-holmes-rules.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'blueprints/k8s-holmes-rules.yaml')
-rw-r--r--blueprints/k8s-holmes-rules.yaml23
1 files changed, 23 insertions, 0 deletions
diff --git a/blueprints/k8s-holmes-rules.yaml b/blueprints/k8s-holmes-rules.yaml
index 830db47..fd89fc2 100644
--- a/blueprints/k8s-holmes-rules.yaml
+++ b/blueprints/k8s-holmes-rules.yaml
@@ -47,6 +47,18 @@ inputs:
service_component_name_override:
type: string
default: "holmes-rule-mgmt"
+ dcae-analytics-holmes-rule-mgt_cpu_limit:
+ type: string
+ default: "250m"
+ dcae-analytics-holmes-rule-mgt_cpu_request:
+ type: string
+ default: "250m"
+ dcae-analytics-holmes-rule-mgt_memory_limit:
+ type: string
+ default: "1024Mi"
+ dcae-analytics-holmes-rule-mgt_memory_request:
+ type: string
+ default: "256Mi"
node_templates:
pgaasvm:
type: dcae.nodes.pgaas.database
@@ -86,6 +98,17 @@ node_templates:
streams_subscribes: {}
image: { get_input: hr_image }
#service_component_type: dcae-analytics-holmes-rule-management
+ resource_config:
+ limits:
+ cpu:
+ get_input: dcae-analytics-holmes-rule-mgt_cpu_limit
+ memory:
+ get_input: dcae-analytics-holmes-rule-mgt_memory_limit
+ requests:
+ cpu:
+ get_input: dcae-analytics-holmes-rule-mgt_cpu_request
+ memory:
+ get_input: dcae-analytics-holmes-rule-mgt_memory_request
relationships:
- type: cloudify.relationships.depends_on
target: pgaasvm