...
- Modify the blueprint templates
Code Block language bash theme Midnight 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.
- Validate and Upload the blueprint into CM
Code Block language bash theme Midnight cfy blueprints validate cfy blueprints upload -b k8s-helm-test /blueprints/k8s-helm.yaml
- Deploy the blueprint
Code Block language bash theme Midnight cfy deployments create -b k8s-helm-test k8s-helm-test cfy executions start -d k8s-helm-test install
- Validation
Code Block language bash theme Midnight # 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
- Support 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)
- 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