Feature request: Centralized VCA for KNFs
[osm/Features.git] / Release9 / kubernetes_clusters_managed_by_vca.md
1 # Centralized VCA for KNFs #
2
3 ## Proposer ##
4 - David GarcĂ­a
5
6 ## Type ##
7 **Feature**
8
9 ## Target MDG/TF ##
10 N2VC, LCM (minimal changes)
11
12 ## Description ##
13
14 Make the VCA aware of the added k8sclusters in OSM, rather than bootstrap juju controllers to the k8sclusters
15
16 ### Implementation
17
18 Current workflow:
19
20 1. NBI gets a request to add a k8s cluster (osmclient: `osm k8scluster-add`)
21 2. LCM handles the request
22     2.1. Initializes helm-charm in the k8scluster
23     2.2. Initializes juju-bundle in the k8scluster
24         2.2.1. Use the k8s credentials to bootstrap a juju controller to the k8scluster
25         2.2.2. Store the juju controller credentials in mongodb
26
27 Proposed workflow:
28
29 1. NBI gets a request to add a k8s cluster (osmclient: `osm k8scluster-add`) (no change)
30 2. LCM handles the request
31     2.1. Initializes helm-charm in the k8scluster (no change)
32     2.2. Initializes juju-bundle in the k8scluster
33         2.2.1. Use the k8s credentials to **add the k8s cluster as another cloud in the VCA**
34
35
36 ## Demo or definition of done ##
37
38 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.