From 7fe8dbcfd53bd11bcb9b0b7fdb778af1b41aab1f Mon Sep 17 00:00:00 2001 From: Vijay Venkatesh Kumar Date: Thu, 12 Sep 2019 20:59:20 +0000 Subject: set resource limit for tca Change-Id: Ib17de286ffdbc7ed34f439eda848723c63e166d4 Signed-off-by: Vijay Venkatesh Kumar Issue-ID: DCAEGEN2-1733 --- blueprints/k8s-tca.yaml-template | 10 +++++++--- 1 file 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"] - -- cgit 1.2.3-korg