Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Support for provisioning ASD-based CNFs using an external K8s Manager
    • Instantiate and optionally overwrite the values of an application
    • Terminate an application and optionally remove all relevant Persistent Volume Claims and Persistent Volumes
    • Change application details using the change package function, which allows to change the deployment version of the CNF thru an upgrade or rollback (stretch goal)
  • Leverage and enhance SO capabilities and adding new capabilities for ASD- and Helm-based CNF orchestration
    • Orchestrator shall support the capability to use the deployment parameters from ASD for the application or CNF deployment. These deployment parameter values shall correspond to the parameters defined in the “lifecycleParameters” section(s) of the ASD.
    • Orchestrator shall support the capability to construct a values file from instance specific parameter values provided at deployment time, and default values supplied in the chart.
    • Orchestrator shall support the capability to perform a chart render into concrete K8S resource descriptions.
    • Container resource management for determining placement for CNF application on certain K8S cluster(s), orchestrator shall support the capability to parse the workload descriptors and extract those values.

...

  • Pre-Conditions
    • SDC accepts onboarding App packages, including ASD and DeploymentItems models, Helm Charts, Images and other artifacts, what allows to keep decomposition of Service instance
    • SO subscribes and receives package notifications from SDC
  • ASD-Based CNF LCM Orchestration
    • Based on the notifications, SO ASDC Controller queries for the App packages from SDC, and stores models and artifacts to SO Catalog Database
    • MACRO workflow in SO is used for orchestration
    • ASD supports multiple Helm Charts in  CNF packages. 
    • ASD instance will be decomposed to find its associated deployment item(s). 


ASD-Based App Package Type

...

Gliffy Diagram
macroId35667bf9-261a-4ae2-b40c-d8e94ab2b643
displayNameSO BPMN Infra - SO CNFM NBI Rest APIs
nameSO BPMN Infra - SO CNFM NBI Rest APIs
pagePin3

ASD LCM Operations

Create a CNF Identifier

In order for an application (CNF) to be eligible for instantiation, a CNF identifier must be created to identify the application service as a unique instance.

An AS instance supports multiple deployment items (helm charts). So, the AS instance id could be used for helm release names as the prefix.


Query AS Instance Identifiers

To list all AS instances, make a GET request to SO CNFM.

GET .../aslcm/v1/as_instances


Query an AS instance by Instance ID

To query a specific AS instance by its instance ID, make a GET request to SO CNFM.

GET .../aslcm/v1/as_instances/{asInstanceId}


Instantiate an AS
  • To instantiate an AS, make a poST request to SO CNFM. The target cluster name is included in the requrest parameter.

POST .../as_instances/{asInstanceId}/instantiate

  • if some of the parameters required for instantiation are complex and cannot fit into the additionalParams section of the JSON request body (TBD).





Helm Command Support

  • Helm Install
  • Helm Uninstall
  • Helm Upgrade

...