blob: d475ef7a0018d1db012dd258e6b47c83554ff62b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
Installation
============
Standalone docker run command
.. code-block:: bash
docker run onap/org.onap.dcaegen2.collectors.restconfcollector
For Dublin 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
- Transfer blueprint component file in DCAE bootstrap POD under /blueprints directory. Blueprint can be found in
https://git.onap.org/dcaegen2/collectors/restconf/tree/dpo/blueprints/k8s-rcc-policy.yaml-template?h=dublin
- Validate blueprint
.. code-block:: bash
cfy blueprints validate /blueprints/k8s-rcc-policy.yaml
- Upload validated blueprint
.. code-block:: bash
cfy blueprints upload -b restconfcollector /blueprints/k8s-rcc-policy.yaml
- Create deployment
.. code-block:: bash
cfy deployments create -b restconfcollector restconfcollector
- Deploy blueprint
.. code-block:: bash
cfy executions start -d restconfcollector install
To undeploy restconfcollector, steps are shown below
- Uninstall running restconfcollector and delete deployment
.. code-block:: bash
cfy uninstall restconfcollector
- Delete blueprint
.. code-block:: bash
cfy blueprints delete restconfcollector
|