diff options
author | Jack Lucas <jflucas@research.att.com> | 2020-04-20 13:25:47 -0400 |
---|---|---|
committer | Jack Lucas <jflucas@research.att.com> | 2020-04-29 17:14:22 -0400 |
commit | 05e95de3b9736160b4229232903e86706fb782e1 (patch) | |
tree | ef75fbbcbaaae247e82c27b5572e1c6ec68f4865 /k8s/README.md | |
parent | 09bcbb3faba0a92c1bdb5d9e1a1ee6826ef5fda2 (diff) |
Remove ContainerizedPlatformContainer from types
Also allow environment variables to specified via docker_config
Issue-ID: DCAEGEN2-1791
Issue-ID: DCAEGEN2-2215
Change-Id: If6b3b206856031d3c2aa3a5f787c1be30bdc4afd
Signed-off-by: Jack Lucas <jflucas@research.att.com>
Diffstat (limited to 'k8s/README.md')
-rw-r--r-- | k8s/README.md | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/k8s/README.md b/k8s/README.md index dfe9937..3fdbf1a 100644 --- a/k8s/README.md +++ b/k8s/README.md @@ -1,13 +1,13 @@ # ONAP DCAE Kubernetes Plugin for Cloudify -This directory contains a Cloudify plugin used to orchestrate the deployment of containerized DCAE platform and service components into a Kubernetes ("k8s") +This directory contains a Cloudify plugin used to orchestrate the deployment of containerized DCAE service components into a Kubernetes ("k8s") environment. This work is based on the [ONAP DCAE Docker plugin] (../docker). This plugin is *not* a generic Kubernetes plugin that exposes the full set of Kubernetes features. In fact, the plugin largely hides the fact that we're using Kubernetes from both component developers and blueprint authors. The Cloudify node type definitions are very similar to the Cloudify type definitions used in the ONAP DCAE Docker plugin. -For the node types `ContainerizedPlatformComponent`, `ContainerizedServiceComponent`, and `ContainerizedServiceComponentUsingDmaap`, this plugin +For the node types `ContainerizedServiceComponent` and `ContainerizedServiceComponentUsingDmaap`, this plugin creates the following Kubernetes entities: - A Kubernetes `Deployment` containing information about what containers to run and what volume to mount. @@ -108,12 +108,10 @@ mode | Readable, writeable: `ro`, `rw` #### `ports` -List of strings - Used to bind container ports to host ports. Each item is of the format: `<container port>:<host port>` or +List of strings - Used to bind container ports to host ports. Each item is of the format: `<container port>:<host port>` or <container port>/<protocol>:<host port>, where <protocol> can be "TCP", "tcp", "UDP", or "udp". If the first format is used, the protocol defaults to TCP. -Note that `ContainerizedPlatformComponent` has the property pair `host_port` and `container_port`. This pair will be merged with the input parameters ports. - ```yaml ports: - '8000:31000' @@ -251,7 +249,7 @@ To form the application configuration: This also applies to data router feeds. ## Additional Operations Supported by the Plugin -In addition to supporting the Cloudify `install` and `uninstall` workflows, the plugin provides two standalone operations that can be invoked using the Cloudify [`execute_operation` workflow](https://docs.cloudify.co/4.3.0/working_with/workflows/built-in-workflows/). The `dcae.nodes.ContainerizedApplication`, `dcae.nodes.ContainerizedPlatformComponent`, `dcae.nodes.ContainerizedServiceComponent`, and `dcae.nodes.ContainerizedServiceComponentUsingDmaap` node types support these operations. +In addition to supporting the Cloudify `install` and `uninstall` workflows, the plugin provides two standalone operations that can be invoked using the Cloudify [`execute_operation` workflow](https://docs.cloudify.co/4.3.0/working_with/workflows/built-in-workflows/). The `dcae.nodes.ContainerizedApplication`, `dcae.nodes.ContainerizedServiceComponent`, and `dcae.nodes.ContainerizedServiceComponentUsingDmaap` node types support these operations. Currently, there's no convenient high-level interface to trigger these operations, but they could potentially be exposed through some kind of dashboard. |