Versions Compared

Key

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

...

  1. 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 loggedSupport Tiller clusterIP/port as option instead of nodeport aloneĀ for tiller.
  • Support deployment on existing names spaces
  • Logging enhancements (deployment errors if any to be captured also)