CDS can be deployed to minikube just like all other ONAP components.
Install Kubernetes, kubectl and Helm clients according to instructions here.
Storage Class
In minikube mariadb-galera has problems to deploy because of persistence problems:
You can check which storageclass you'll need by using "kubectl get sc":
When deploying cds or other ONAP components needing mariadb-galera, override "global.persistence.storageClass" with correct storage class.
Deploy CDS
Run Helm commands on oom/kubernetes directory after charts are packages according to instructions here.
helm upgrade --install dev ./onap --namespace onap \ --set cds.enabled=true \ --set cds.cds-blueprints-processor.dmaapEnabled=false \ --set global.persistence.storageClass=standard
Deploy CDS with more overrides e.g. different image versions
helm upgrade --install dev ./onap --namespace onap \ --set cds.enabled=true \ --set cds.cds-blueprints-processor.dmaapEnabled=false \ --set global.persistence.storageClass=standard \ --set cds.cds-blueprints-processor.image=onap/ccsdk-blueprintsprocessor:0.7.0-STAGING-latest \ --set cds.cds-command-executor.image=onap/ccsdk-commandexecutor:0.7.0-STAGING-latest \ --set cds.cds-ui.image=onap/ccsdk-cds-ui-server:0.7.0-STAGING-latest \ --set global.pullPolicy=IfNotPresent
Normally Helm charts (e.g. image versions) should be kept completely in sync with related software version, but for CDS this has not been the case. This also leads to problems that CDS may not work in the Kubernetes (where is should be run). Developers, please test CDS daily in the Kubernetes and update OOM git repo for Helm charts changes.