X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=k8s%2Fk8s-node-type.yaml;h=f63f82288262ed7eb83ccbd4e13692e77c5d3474;hb=c5964da80a46e45dac50832c5d2cd83077d26736;hp=a6f155929bb82c9a2976eb2816657ad868b506fc;hpb=861fc4a4f2a036a3ff8c4974abcdd5c793858bcb;p=dcaegen2%2Fplatform%2Fplugins.git diff --git a/k8s/k8s-node-type.yaml b/k8s/k8s-node-type.yaml index a6f1559..f63f822 100644 --- a/k8s/k8s-node-type.yaml +++ b/k8s/k8s-node-type.yaml @@ -1,5 +1,5 @@ # ================================================================================ -# Copyright (c) 2017-2018 AT&T Intellectual Property. All rights reserved. +# Copyright (c) 2017-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. @@ -19,13 +19,13 @@ tosca_definitions_version: cloudify_dsl_1_3 imports: - - http://www.getcloudify.org/spec/cloudify/3.4/types.yaml + - http://www.getcloudify.org/spec/cloudify/4.2/types.yaml plugins: k8s: executor: 'central_deployment_agent' package_name: k8splugin - package_version: 1.4.5 + package_version: 1.4.6 data_types: @@ -119,6 +119,14 @@ node_types: like healthcheck definitions for the Docker component. Health checks are optional. + resource_config: + default: {} + description: > + This is used to specify the cpu and memory request and limit for container. + Please specify "requests" property and/or a "limits" property, with subproproperties + for cpu and memory. (https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/) + + log_info: type: dcae.types.LoggingInfo description: >