summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordeen1985 <damian.nowak@nokia.com>2020-12-28 11:11:33 +0100
committerAndreas Geissler <andreas-geissler@telekom.de>2021-01-08 18:24:00 +0000
commit63b19a9cebc862b55d05f330f6fccd84076d748b (patch)
treeb583362d7061d7cb1acd250dc86d4fcc79f125a2
parentb27e1561403ef5aadbd55ee3d286cdbfe4bb1b32 (diff)
[Add K8S site] Remove SO VNFAdapter manual version change V1->V2
Change-Id: I4ca90b654c150b1f28ddaeb442cafdf529f730c3 Signed-off-by: Damian Nowak <damian.nowak@nokia.com> Issue-ID: DOC-698 (cherry picked from commit b226ddffd6b38274eb2e397ac060afb767f0e098)
-rw-r--r--docs/guides/onap-operator/cloud_site/k8s/index.rst62
1 files changed, 1 insertions, 61 deletions
diff --git a/docs/guides/onap-operator/cloud_site/k8s/index.rst b/docs/guides/onap-operator/cloud_site/k8s/index.rst
index 2e8d489ba..0851b859e 100644
--- a/docs/guides/onap-operator/cloud_site/k8s/index.rst
+++ b/docs/guides/onap-operator/cloud_site/k8s/index.rst
@@ -1,6 +1,6 @@
.. This work is licensed under a Creative Commons Attribution 4.0
.. International License. http://creativecommons.org/licenses/by/4.0
-.. Copyright 2017 AT&T Intellectual Property. All rights reserved.
+.. Copyright 2017 AT&T Intellectual Property. All rights reserved. Modifications 2020 Nokia Networks
Adding a Kubernetes (K8S) Cloud Site to ONAP
@@ -50,66 +50,6 @@ Then modify the data in the MariaDB:
USE catalogdb
INSERT INTO cloud_sites(ID, REGION_ID, IDENTITY_SERVICE_ID, CLOUD_VERSION, CLLI, ORCHESTRATOR) values("K8S_Cloud_Region_Name", "K8S_Cloud_Region_Name", "DEFAULT_KEYSTONE", "2.5", "My_Complex", "multicloud");
-ONAP SO VNF Adapter Rest API endpoint version shall be set to version "v2"
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-in a unix terminal:
-
-to find the right config map name:
-
-::
-
- kubectl -n onap get configmap | grep so-so-bpmn-infra-app-configmap
-
-
-to edit and change the configmap:
-
-::
-
- kubectl -n onap edit configmap onap-so-so-bpmn-infra-app-configmap
-
-in the section "vnf", modify the rest endpoint:
-
-::
-
- vnf:
- endpoint: http://so-openstack-adapter.onap:8087/services/VnfAdapter
- rest:
- - endpoint: http://so-openstack-adapter.onap:8087/services/rest/v1/vnfs
- + endpoint: http://so-openstack-adapter.onap:8087/services/rest/v2/vnfs
- volume-groups:
- rest:
- endpoint: http://so-openstack-adapter.onapg:8087/services/rest/v1/volume-groups
-
-
-Having modified the configmap, it is necessary to delete the pod bpmn-infra in
-order it takes the modification into account.
-
-to find the right pod name:
-
-::
-
- kubectl get po -n onap |grep bpmn-infra
-
-
-You need to find the pod that is similar to the following pod id:
-
-"onap-so-so-bpmn-infra-79fdf6f9d5-t8qr4"
-
-
-to delete the pod:
-
-::
-
- kubectl -n onap delete onap-so-so-bpmn-infra-79fdf6f9d5-t8qr4
-
-
-Then, wait for the pod to restart. To check:
-
-::
-
- kubectl -n onap get po | grep so-so
-
STEP 2 : Declare the new cloud site in AAI
------------------------------------------