Installation
- Standalone docker run command
docker run onap/org.onap.dcaegen2.collectors.restconfcollector
For the current release, RESTConf collector will be a DCAE component that can dynamically be deployed via Cloudify blueprint installation.
Steps to deploy are shown below
Enter the Bootstrap POD using kubectl
Note
For doing this, follow the below steps
First get the bootstrap pod name by running run this: kubectl get pods -n onap | grep bootstrap
Then login to bootstrap pod by running this: kubectl exec -it <bootstrap pod> bash -n onap
- Validate blueprint
Note
Verify that the version of the plugin used should match with “cfy plugins list” and use an explicit URL to the plugin YAML file if needed in the blueprint.
cfy blueprints validate /blueprints/k8s-restconf.yaml
- Upload validated blueprint
cfy blueprints upload -b restconfcollector /blueprints/k8s-restconf.yaml
- Create deployment
cfy deployments create -b restconfcollector restconfcollector
- Deploy blueprint
cfy executions start -d restconfcollector install
To undeploy restconfcollector, steps are shown below
- Uninstall running restconfcollector and delete deployment
cfy uninstall restconfcollector
- Delete blueprint
cfy blueprints delete restconfcollector