Merge "Improve security release notes"
[dcaegen2.git] / docs / sections / services / restconf / installation.rst
1 Installation
2 ============
3
4 Standalone  docker run command 
5    .. code-block:: bash
6
7             docker run onap/org.onap.dcaegen2.collectors.restconfcollector
8
9 For Dublin release, RESTConf collector will be a DCAE component that can dynamically be deployed via Cloudify blueprint installation.
10
11
12 Steps to deploy are shown below
13
14 - Enter the Bootstrap POD using kubectl
15
16 - Transfer blueprint component file in DCAE bootstrap POD under /blueprints directory. Blueprint can be found in
17      https://git.onap.org/dcaegen2/collectors/restconf/tree/dpo/blueprints/k8s-rcc-policy.yaml-template?h=dublin
18
19 - Validate blueprint
20     .. code-block:: bash
21         
22         cfy blueprints validate /blueprints/k8s-rcc-policy.yaml
23 - Upload validated blueprint
24     .. code-block:: bash
25         
26
27         cfy blueprints upload -b restconfcollector /blueprints/k8s-rcc-policy.yaml
28 - Create deployment
29     .. code-block:: bash
30         
31
32         cfy deployments create -b restconfcollector restconfcollector
33 - Deploy blueprint
34     .. code-block:: bash
35         
36
37         cfy executions start -d restconfcollector install
38
39 To undeploy restconfcollector, steps are shown below
40
41 - Uninstall running restconfcollector and delete deployment
42     .. code-block:: bash
43         
44
45         cfy uninstall restconfcollector
46 - Delete blueprint
47     .. code-block:: bash
48         
49
50         cfy blueprints delete restconfcollector