...
- 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>
Any error on deployment will be reported in console. Additional logs can be found also under Cloudify Manager pod (under /var/log/cloudify/mg*work/logs)
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)
...