aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVijay Venkatesh Kumar <vv770d@att.com>2019-09-12 20:59:20 +0000
committerVijay Venkatesh Kumar <vv770d@att.com>2019-09-13 13:17:55 +0000
commit7fe8dbcfd53bd11bcb9b0b7fdb778af1b41aab1f (patch)
treebe63777a4c27c971529c18736c2b7690f52964d3
parent2c662f2a5fe630a6df4a7e78f37df45bd972e2d1 (diff)
set resource limit for tca5.0.1-ONAP
Change-Id: Ib17de286ffdbc7ed34f439eda848723c63e166d4 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-1733
-rw-r--r--blueprints/k8s-tca.yaml-template10
1 files changed, 7 insertions, 3 deletions
diff --git a/blueprints/k8s-tca.yaml-template b/blueprints/k8s-tca.yaml-template
index 3038455..05ab72f 100644
--- a/blueprints/k8s-tca.yaml-template
+++ b/blueprints/k8s-tca.yaml-template
@@ -1,7 +1,7 @@
#
# ============LICENSE_START====================================================
# =============================================================================
-# Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
+# Copyright (c) 2018-2019 AT&T Intellectual Property. All rights reserved.
# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -48,7 +48,7 @@ inputs:
default: dcae-redis.onap.svc.cluster.local:6379
tag_version:
type: string
- default: "{{ ONAPTEMPLATE_DOCKERREGURL_org_onap_dcaegen2_releases }}/onap/org.onap.dcaegen2.deployments.tca-cdap-container:1.0.0"
+ default: "{{ ONAPTEMPLATE_DOCKERREGURL_org_onap_dcaegen2_releases }}/onap/org.onap.dcaegen2.deployments.tca-cdap-container:1.1.2"
consul_host:
type: string
default: consul-server.onap.svc.cluster.local
@@ -79,6 +79,11 @@ node_templates:
get_input: tag_version
log_info:
log_directory: "/opt/app/TCAnalytics/logs"
+ resource_config:
+ limits:
+ cpu: '1'
+ requests:
+ cpu: '0.5'
application_config:
app_config:
appDescription: DCAE Analytics Threshold Crossing Alert Application
@@ -158,4 +163,3 @@ node_templates:
ports:
- concat: ["11011:", "0"]
-