diff options
Diffstat (limited to 'blueprints/k8s-tcagen2-clampnode.yaml')
-rw-r--r-- | blueprints/k8s-tcagen2-clampnode.yaml | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/blueprints/k8s-tcagen2-clampnode.yaml b/blueprints/k8s-tcagen2-clampnode.yaml index 0f13c53..82335d5 100644 --- a/blueprints/k8s-tcagen2-clampnode.yaml +++ b/blueprints/k8s-tcagen2-clampnode.yaml @@ -1,6 +1,6 @@ # ============LICENSE_START==================================================== # ============================================================================= -# Copyright (C) 2019-2020 AT&T Intellectual Property. All rights reserved. +# Copyright (C) 2019-2021 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. @@ -62,6 +62,19 @@ inputs: policy_id: type: string default: "onap.restart.tca" + cpu_limit: + type: string + default: "2000m" + cpu_request: + type: string + default: "1000m" + memory_limit: + type: string + default: "2048Mi" + memory_request: + type: string + default: "1024Mi" + node_templates: docker.tca: type: dcae.nodes.ContainerizedServiceComponent @@ -123,6 +136,17 @@ node_templates: type: http image: get_input: tag_version + resource_config: + limits: + cpu: + get_input: cpu_limit + memory: + get_input: memory_limit + requests: + cpu: + get_input: cpu_request + memory: + get_input: memory_request log_info: log_directory: get_input: log_directory |