Add HV-VES helm installation guide 71/125071/3
authorTomasz Wrobel <tomasz.wrobel@nokia.com>
Mon, 18 Oct 2021 12:16:14 +0000 (14:16 +0200)
committerTomasz Wrobel <tomasz.wrobel@nokia.com>
Wed, 20 Oct 2021 06:31:34 +0000 (08:31 +0200)
Issue-ID: DCAEGEN2-2630
Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com>
Change-Id: Ib7c7306c2180f8ca5c64394354ba5852e1bb2844

docs/sections/services/ves-hv/index.rst
docs/sections/services/ves-hv/installation-helm.rst [new file with mode: 0644]

index 6f849dc..ec0623b 100644 (file)
@@ -32,6 +32,7 @@ High Volume VES Collector overview and functions
     repositories
     deployment
     installation
+    installation-helm
     run-time-configuration
     HV-VES Offered APIs <../../apis/ves-hv/index>
     authorization
diff --git a/docs/sections/services/ves-hv/installation-helm.rst b/docs/sections/services/ves-hv/installation-helm.rst
new file mode 100644 (file)
index 0000000..b9bf6da
--- /dev/null
@@ -0,0 +1,83 @@
+.. This work is licensed under a Creative Commons Attribution 4.0 International License.\r
+.. http://creativecommons.org/licenses/by/4.0\r
+.. _hv-ves-installation-helm:\r
+\r
+HV-VES Helm Installation\r
+========================\r
+Starting from ONAP/Honolulu release, HV-VES is installed with a DCAEGEN2-Services Helm charts. \r
+HV-VES application is configured by default to use TLS/SSL encryption on TCP connection.\r
+\r
+Disable TLS security - Helm based deployment\r
+--------------------------------------------\r
+\r
+\r
+The default behavior can be changed by upgrading dcaegen2-services deployment with custom values:\r
+    .. code-block:: bash\r
+\r
+        helm -n <namespace> upgrade <DEPLOYMENT_PREFIX>-dcaegen2-services --reuse-values --values <path to values> <path to dcaegen2-services helm charts>\r
+\r
+For example:\r
+    .. code-block:: bash\r
+\r
+        helm -n onap upgrade dev-dcaegen2-services --reuse-values --values new-config.yaml oom/kubernetes/dcaegen2-services\r
+\r
+Where the contents of ``new-config.yaml`` file is:\r
+    .. code-block:: bash\r
+\r
+        dcae-hv-ves-collector:\r
+          applicationConfig:\r
+            security.sslDisable: true\r
+\r
+For small changes like this, it is also possible to inline the new value:\r
+    .. code-block:: bash\r
+\r
+        helm -n onap upgrade dev-dcaegen2-services --reuse-values --set dcae-hv-ves-collector.applicationConfig.security.sslDisable="true" oom/kubernetes/dcaegen2-services\r
+\r
+After the upgrade, the security.sslDisable property should be changed and visible inside dev-dcae-ves-collector-application-config-configmap Config-Map.\r
+It can be verified by running:\r
+    .. code-block:: bash\r
+\r
+        kubectl -n onap get cm <config map name> -o yaml\r
+\r
+For HV-VES Collector:\r
+    .. code-block:: bash\r
+\r
+        kubectl -n onap get cm dev-dcae-hv-ves-collector-application-config-configmap -o yaml\r
+\r
+\r
+For apply new configuration by HV-VES Collector the application restart might be necessary. It could be done by HV-VES helm reinstallation:\r
+    .. code-block:: bash\r
+\r
+        helm -n onap upgrade dev-dcaegen2-services --reuse-values --set dcae-hv-ves-collector.enabled="false" oom/kubernetes/dcaegen2-services\r
+        helm -n onap upgrade dev-dcaegen2-services --reuse-values --set dcae-hv-ves-collector.enabled="true" oom/kubernetes/dcaegen2-services\r
+\r
+\r
+Using external TLS certificates obtained using CMP v2 protocol\r
+--------------------------------------------------------------\r
+\r
+In order to use the X.509 certificates obtained from the CMP v2 server (so called "operator`s certificates"), refer to the following description:\r
+\r
+:ref:`Enabling TLS with external x.509 certificates <external-tls-helm>`\r
+\r
+Example values for HV-VES Collector:\r
+    .. code-block:: bash\r
+\r
+        global:\r
+          cmpv2Enabled: true\r
+        dcae-ves-collector:\r
+          useCmpv2Certificates: true\r
+          certificates:\r
+          - mountPath: /etc/ves-hv/ssl/external\r
+            commonName: dcae-hv-ves-collector\r
+            dnsNames:\r
+              - dcae-hv-ves-collector\r
+              - hv-ves-collector\r
+              - hv-ves\r
+            keystore:\r
+              outputType:\r
+                - jks\r
+              passwordSecretRef:\r
+                name: hv-ves-cmpv2-keystore-password\r
+                key: password\r
+                create: true\r
+\r