1 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
2 .. http://creativecommons.org/licenses/by/4.0
3 .. _restconf-installation:
9 Standalone docker run command
12 docker run onap/org.onap.dcaegen2.collectors.restconfcollector
14 For the current release, RESTConf collector will be a DCAE component that can dynamically be deployed via Cloudify blueprint installation.
17 Steps to deploy are shown below
19 - Enter the Bootstrap POD using kubectl
22 For doing this, follow the below steps
24 * First get the bootstrap pod name by running run this: kubectl get pods -n onap | grep bootstrap
25 * Then login to bootstrap pod by running this: kubectl exec -it <bootstrap pod> bash -n onap
29 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.
33 cfy blueprints validate /blueprints/k8s-restconf.yaml
34 - Upload validated blueprint
38 cfy blueprints upload -b restconfcollector /blueprints/k8s-restconf.yaml
43 cfy deployments create -b restconfcollector restconfcollector
48 cfy executions start -d restconfcollector install
50 To undeploy restconfcollector, steps are shown below
52 - Uninstall running restconfcollector and delete deployment
56 cfy uninstall restconfcollector
61 cfy blueprints delete restconfcollector