From: David Garcia Date: Thu, 24 Sep 2020 09:49:40 +0000 (+0200) Subject: Feature request: Centralized VCA for KNFs X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F51%2F9751%2F4;p=osm%2FFeatures.git Feature request: Centralized VCA for KNFs Change-Id: I26e57b674c4482027595af1429379dc596c92776 Signed-off-by: David Garcia --- diff --git a/Release9/kubernetes_clusters_managed_by_vca.md b/Release9/kubernetes_clusters_managed_by_vca.md new file mode 100644 index 0000000..8f4e1c5 --- /dev/null +++ b/Release9/kubernetes_clusters_managed_by_vca.md @@ -0,0 +1,38 @@ +# Centralized VCA for KNFs # + +## Proposer ## +- David García + +## Type ## +**Feature** + +## Target MDG/TF ## +N2VC, LCM (minimal changes) + +## Description ## + +Make the VCA aware of the added k8sclusters in OSM, rather than bootstrap juju controllers to the k8sclusters + +### Implementation + +Current workflow: + +1. NBI gets a request to add a k8s cluster (osmclient: `osm k8scluster-add`) +2. LCM handles the request + 2.1. Initializes helm-charm in the k8scluster + 2.2. Initializes juju-bundle in the k8scluster + 2.2.1. Use the k8s credentials to bootstrap a juju controller to the k8scluster + 2.2.2. Store the juju controller credentials in mongodb + +Proposed workflow: + +1. NBI gets a request to add a k8s cluster (osmclient: `osm k8scluster-add`) (no change) +2. LCM handles the request + 2.1. Initializes helm-charm in the k8scluster (no change) + 2.2. Initializes juju-bundle in the k8scluster + 2.2.1. Use the k8s credentials to **add the k8s cluster as another cloud in the VCA** + + +## Demo or definition of done ## + +This feature is considered complete when any k8scluster added to OSM is added as a cloud to the VCA, and the juju-bundles kdus are deployed to the k8scluster successfully.