diff options
author | Jack Lucas <jflucas@research.att.com> | 2020-02-03 18:21:29 -0500 |
---|---|---|
committer | Jack Lucas <jflucas@research.att.com> | 2020-02-07 13:07:09 -0500 |
commit | bad772074d0bfd4c4dcb7bdd2cbe9ca7246fc28e (patch) | |
tree | 5119178d7308c199ffdc12a5b8b1c4877a1c092b /reference_templates/DeploymentHandler-README.md | |
parent | 86685f86e7ee03a25f913da72de5105d92c1fbba (diff) |
Move k8s-bootstrap container to blueprints repo1.9.0
Cleanup of unnecessary input templates and other files
Use non-templatized blueprints instead of blueprint templates
Copy blueprints from blueprints/ directory into image
Move reference_templates to top-level directory
Issue-ID: DCAEGEN2-2041
Signed-off-by: Jack Lucas <jflucas@research.att.com>
Change-Id: Ib846a96a4995eb97383f63ff764705e6277a24b0
Diffstat (limited to 'reference_templates/DeploymentHandler-README.md')
-rw-r--r-- | reference_templates/DeploymentHandler-README.md | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/reference_templates/DeploymentHandler-README.md b/reference_templates/DeploymentHandler-README.md new file mode 100644 index 0000000..8b76890 --- /dev/null +++ b/reference_templates/DeploymentHandler-README.md @@ -0,0 +1,23 @@ +## Deployment Handler Installation Blueprint +[`DeploymentHandler.yaml`](./DeploymentHandler.yaml) is a Cloudify blueprint that can be used to deploy an instance of the DCAE Deployment Handler (DH) as a Docker container in the DCAE Docker environment. + +### Input parameters +Some deployment parameters can be controlled via inputs supplied to Cloudify at the time a deployment is created from the blueprint. +The table below describes the available input parameters. + +Parameter|Description|Required?|Default +---------|-----------|---------|------- +`location_id`|Location where DH is to be deployed; should point to a central site|Yes|None +`docker_host_override`|Registered service name of the Docker host where DH should be deployed|Yes|`platform_dockerhost` +`deployment_handler_image`|Fully qualified name of the Docker image to use for DH|Yes|Current stable version of image +`application_config`|Application-specific configuration parameters (see below)|No|`{}` +`host_log_root`|root directory for logs in the Docker host file system|Yes|`/opt/onap/log` + +### Application configuration +The DH has sensible defaults for its configuration. The `application_config` input can be used to supply additional configuration information to override defaults and/or to set values for optional parameters. The content of this input is a dictionary with parameter names as keys and parameter values as values. See the documentation for the DH for the available configuration parameters. + +### Additional configuration +`DeploymentHandler.yaml` relies on the DCAE Docker plugin to carry out the actual deployment. The plugin gathers information from the blueprint and the inputs and uses this information to make API calls to a Docker Engine running in the DCAE environment. + +Certain aspects of Docker behavior are controlled through inputs to the plugin's `create` operation. This includes mapping directories and files from the host file system into the Docker container's file system. It is also possible to pass environment variables to the container. The inputs to the `create` operation are specified inside the blueprint in the `interfaces` section of node definition for the deployment handler. + |