From b8443f7ba224791c956fd772a21e930713b7bbe0 Mon Sep 17 00:00:00 2001 From: David Garcia Date: Thu, 24 Sep 2020 11:49:40 +0200 Subject: [PATCH] Feature request: Centralized VCA for KNFs Change-Id: I26e57b674c4482027595af1429379dc596c92776 Signed-off-by: David Garcia --- .../kubernetes_clusters_managed_by_vca.md | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 Release9/kubernetes_clusters_managed_by_vca.md 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. -- 2.25.1