set resource limit for tca 21/95621/3 5.0.1-ONAP
authorVijay Venkatesh Kumar <vv770d@att.com>
Thu, 12 Sep 2019 20:59:20 +0000 (20:59 +0000)
committerVijay Venkatesh Kumar <vv770d@att.com>
Fri, 13 Sep 2019 13:17:55 +0000 (13:17 +0000)
Change-Id: Ib17de286ffdbc7ed34f439eda848723c63e166d4
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Issue-ID: DCAEGEN2-1733

blueprints/k8s-tca.yaml-template

index 3038455..05ab72f 100644 (file)
@@ -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"]
 
-