Versions Compared

Key

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

Create ONAP deployment

Log into the manager. Select Local Blueprints. You will find the onap buleprint. Click the Deploy button to create a deployment.

...

Click the Deploy button to create a deployment.

Inputdescriptiondefault value
Deployment nameThe unique name for this deploymentN/A
tiller-server-ipThe IP address of K8s masterN/A
tiller-server-portThe NodePort of tiller deploymentN/A
chart-repo-url The URL of helm repohttps://nexus.onap.org/content/sites/oom-helm-staging
chart-version The helm chart version2.0.0
namespace The K8s namespace to deploy onaponap
stable-repo-url
The URL for stable repository 
https://kubernetes-charts.storage.googleapis.com


One deployment represent one ONAP instance. The manager is able to manage multiple ONAP instances.

...

In the deployment, there are several workflows. We will use install, upgrade, rollback and Uninstall to manage the life-cycle of ONAP.

Here is one record demo.

View file
nameTOSCA_OOM_demo.mp4
height250

Install

Execute the install workflow, it will deploy all the ONAP helm charts into target K8s cluster.

Image Added

User can check deployment status in "Deployment Executions"

Image Added

Here it shows the install workflow complete.

Results:

Image Added

Upgrade

The upgrade workflow is for individual components. So we should provide node_instance_id to identify the component. User can get node_instance_id  from "Nodes" section.

Image Added


Inputdescriptiondefault value
node_instance_idThe unique id of onap componentN/A
chartRepoThe URL of helm repoN/A
chartVersion The helm chart versionN/A
config_json 

The JSON format config overwrite. This method is suitable for small amount config change.

Leave it empty, if use config_url.

N/A
config_url 

The URL of the overwrite config file.

This method is suitable for large amount config change.

Leave it empty, if use config_json.

N/A
config_format if use config_url, please provide the type of file. json or yaml json


Image Added




Rollback

The Rollback workflow can rolls back an ONAP component to a previous revision.

Inputdescriptiondefault value
node_instance_idThe unique id of onap componentN/A
revision

revision (version) number of onap component. User can find it in "helm-history"

Image Added

N/A


Image Added

Uninstall

The Uninstall workflow will delete all the helm deployment form K8s cluster.

Image Added