summaryrefslogtreecommitdiffstats
path: root/k8s/k8s-node-type.yaml
diff options
context:
space:
mode:
authorJack Lucas <jflucas@research.att.com>2019-07-03 11:13:25 -0400
committerJack Lucas <jflucas@research.att.com>2019-07-17 10:07:18 -0400
commit91f452a988c05fc901a5b4ca0ac76eefb6be3a3c (patch)
tree9e7da92ec82b42da5bfe07ec497ac507187a6a62 /k8s/k8s-node-type.yaml
parent9c094d0581c46d3d107facdc55cb2cc7a1d9f765 (diff)
Move DR subscriber creation before container start5.0.2-ONAP5.0.1-ONAPelalto
Also update Kubernetes client library version Fix bug that allowed generating a too-long k8s deployment name. Issue-ID: DCAEGEN2-1651 Issue-ID: DCAEGEN2-1653 Issue-ID: DCAEGEN2-1667 Change-Id: Ied859073fb01d8623278cf9e58c1dcc26fed1712 Signed-off-by: Jack Lucas <jflucas@research.att.com>
Diffstat (limited to 'k8s/k8s-node-type.yaml')
-rw-r--r--k8s/k8s-node-type.yaml17
1 files changed, 7 insertions, 10 deletions
diff --git a/k8s/k8s-node-type.yaml b/k8s/k8s-node-type.yaml
index c32d834..86fdb2e 100644
--- a/k8s/k8s-node-type.yaml
+++ b/k8s/k8s-node-type.yaml
@@ -22,7 +22,7 @@ plugins:
k8s:
executor: 'central_deployment_agent'
package_name: k8splugin
- package_version: 1.5.0
+ package_version: 1.6.0
data_types:
@@ -94,7 +94,7 @@ data_types:
node_types:
dcae.nodes.ContainerizedComponent:
- # Bese type for all containerized components
+ # Base type for all containerized components
# Captures common properties and interfaces
derived_from: cloudify.nodes.Root
properties:
@@ -112,7 +112,7 @@ node_types:
docker_config:
default: {}
description: >
- This is what is the auxilary portion of the component spec that contains things
+ Copied from the auxiliary portion of the component spec that contains things
like healthcheck definitions for the Docker component. Health checks are
optional.
@@ -202,9 +202,9 @@ node_types:
type: string
description: >
Manually override and set the name for this Docker container node. If this
- is set, then the name will not be auto-generated. Platform services are the
- specific use cases for using this parameter because they have static
- names for example the CDAP broker.
+ is set, then the name will not be auto-generated. Using this feature provides
+ a service component with a fixed name that's known in advance, but care must be taken
+ to avoid attempting to deploy two components with the same name.
default: Null
interfaces:
@@ -278,11 +278,8 @@ node_types:
interfaces:
cloudify.interfaces.lifecycle:
create:
- # Generate service component name and populate config into Consul
+ # Generate service component name, populate config into Consul, set up runtime properties for DMaaP plugin
implementation: k8s.k8splugin.create_for_components_with_streams
- start:
- # Create Docker container and start
- implementation: k8s.k8splugin.create_and_start_container_for_components_with_streams
# ContainerizedPlatformComponent is intended for DCAE platform services. Unlike the components,
# platform services have well-known names and well-known ports.