Versions Compared

Key

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

...

DCAE Platform in Dublin release supports new feature to deploy components via helm chart. This is enabled by integrating Helm Cloudify plugin into Cloudify Manager instance DCAE-Platform uses to deploy other required services. The cloudify plugin itself is under CCSDK project delivered part of Casablanca. For Dublin, this plugin has been integrated into DCAE ONAP deployment.  Any chart available under chart rep-url specified as configuration input can be deployed.


Dublin Scope

The helm plugin was intended to support deployment scenario of stand-alone application similar to capability offered under OOM.  With this plugin integration, any charts packaged under ONAP OOM can be deployed through DCAE platform in ONAP. This provides an opportunity for operators  to use a single orchestration through Cloudify for deploying both Helm and Toscal work flows if required. 

...

Code Block
languagebash
themeMidnight
kubectl edit svc -n kube-system tiller-deploy -o yaml
# Assign an unused nodeport available in cluster

Installation



#After update K8S svc definition should reflect the node port assigned
#verify node port assignment 

kubectl get svc --all-namespaces | grep tiller
kube-system   tiller-deploy             ClusterIP      10.43.218.97   <none>                                44134/TCP                       5d



Installation


  1. Modify the blueprint templates 


    Code Block
    languagebash
    themeMidnight
    kubectl exec -it -n onap <dcae-bootstrap pod> /bin
    Modify the blueprint templates 
    Code Block
    languagebash
    themeMidnight
    kubectl exec -it -n onap <dcae-bootstrap pod> /bin/bash
    cd blueprints
    ls k8s-helm.yaml k8s-helm-override.yaml
    # Helm Blueprint templates are available under this directory
    # Verify and update the blueprint parameters if required 
    # Create a corresponding input files 
    
    

    Note: Explanation of parameters are documented under CCSDK wiki page : Introduction of Helm Plugin.

  2. Validate and Upload the blueprint into CM


    Code Block
    languagebash
    themeMidnight
    cfy blueprints validate  
    cfy blueprints upload -b k8s-helm-test /blueprints/k8s-helm.yaml


  3. Deploy the blueprint


    Code Block
    languagebash
    themeMidnight
    cfy deployments create -b k8s-helm-test k8s-helm-test
    cfy executions start -d k8s-helm-test install


  4. Validation


    Code Block
    languagebash
    themeMidnight
    # Verify if new NS identified in blueprint configuration is created
    kubectl get ns
    
    # Verify if required component was deployed 
    kubectl get pods -n <ns specified>


Future Enhancement

  • Requires changing nodeport for tiller; since the deployment is done from bootstrap pod, clusterip/port must also be supportable 
  • Existing namespace cannot be used currently
  • Deployment error not being logged

...