Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This should result in each of the components getting deployed, and the output of helm list should be:


$ helm list
NAME REVISION UPDATED STATUS CHART APP VERSION NAMESPACE
dev 1 Tue Dec 17 19:40:14 2019 DEPLOYED onap-5.0.0 El Alto onap
dev-aaf 1 Tue Dec 17 19:40:15 2019 DEPLOYED aaf-5.0.0 onap
dev-consul 1 Tue Dec 17 19:40:17 2019 DEPLOYED consul-5.0.0 onap
dev-dcae 1 Thu Dec 19 20:03:51 2019 DEPLOYED dcaegen2-6.0.0 onap
dev-dmaap 1 Tue Dec 17 19:40:19 2019 DEPLOYED dmaap-5.0.0 onap
dev-msb 1 Tue Dec 17 19:46:06 2019 DEPLOYED msb-5.0.0 onap
dev-multicloud 1 Tue Dec 17 19:46:08 2019 DEPLOYED multicloud-5.0.0 onap
dev-policy 1 Tue Dec 17 19:46:10 2019 DEPLOYED policy-5.0.0 onap

Then dcaegen2 can be deployed (installed) using the techniques described in other sections.

helm deploy is tricky!

If you want to deploy dcaegen2 using helm deploy, it is possible but there is a trick.   We observed that under the covers, helm deploy calls helm upgrade with a generated overrides file.  In order for the sub-component settings to be included in this generated overrides file, they must be indented under the dcaegen2 section of any overrides file you specify on the command line.  For example the dcaegen2 section of the overrides file, dcae_component_deploy.yaml looks like this:

dcaegen2:
  enabled: true
  dcae-bootstrap:
    enabled: false
  dcae-cloudify-manager:
    enabled: true
  dcae-config-binding-service:
    enabled: true
  dcae-healthcheck:
    enabled: false
  dcae-redis:
    enabled: false
  dcae-servicechange-handler:
    enabled: false
  dcae-inventory-api:
    enabled: true
  dcae-deployment-handler:
    enabled: true
  dcae-policy-handler:
    enabled: false
  dcae-dashboard:
    enabled: true

and can be referenced with the helm deploy command, such as:

helm deploy dev local/onap --namespace onap -f ~/dcae_component_deploy.yaml

Alternatively, use helm install

Use a helm override file (-f option to helm install) for managing dcae components.  e.g.

helm install --debug local/dcaegen2 --name dev-dcae --namespace onap -f ~/dcae_frankfurt.yaml --timeout 900

File ~/dcae_frankfurt.yaml has the following contents:

dcae-bootstrap:
  enabled: true
dcae-cloudify-manager:
  enabled: true
dcae-config-binding-service:
  enabled: true
dcae-healthcheck:
  enabled: true
dcae-redis:
  enabled: true
dcae-servicechange-handler:
  enabled: false
dcae-inventory-api:
  enabled: true
dcae-deployment-handler:
  enabled: true
dcae-policy-handler:
  enabled: true
dcae-dashboard:
  enabled: false

In this example, most dcae components will be deployed, but dcae-service-change-handler and dcae-dashboard would not be deployed because their enabled flag is false.

The resulting deployment should look similar to this:

Image Added