Versions Compared

Key

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

This page captures the information and steps to deploy ONAP using OOM on VIO 4.1 with Kubernetes.

...

 OOM Software Requirements

Release

Kubernetes

Helm

Kubectl

Docker

Amsterdam1.7.x2.3.x1.7.x1.12.x
Beijing/Master1.8.52.7.x1.8.51.12.x

Minimum Hardware Configuration:

 OOM Hardware Requirements

RAM

HD

vCores

Ports

128 GB160 GB160.0.0.0/0 (All Open)

Procedure:

Step 1: Login to VMware Intergrated OpenStack 4.1 with Kubernetes

...

  1. Go to Clusters and click on Deploy New Cluster.




  2. If you have a JSON File with all the configurations, then click on Choose File and upload the JSON.
    Otherwise, click Next.




  3. Select an Infrastructure Provider, it shows a list of all the Cloud Providers you have added.
    Select the one on which you want to deploy your Kubernetes Cluster. 
    Click Next.




  4. Select an Infrastructure Node Profile, it is the configuration using which your Kubernetes Cluster will be deployed.
    If you want to use the default profile, click on the checkbox of Use default node profile.
    (You can also add your own profiles from the Cloud Provider section and then select the one on which you want to deploy your Kubernetes Cluster from the list.)
    Click Next.


     



  5. Now, we need to add Cluster Data.
    Give the Cluster Name, Number of Master Nodes, Number of Worker Nodes, DNS Servers and Cluster Type (Shared or Exclusive).
    (In an exclusive cluster, multi-tenancy is not supported. In a shared cluster, multi-tenancy is supported and enforced by the Kubernetes namespace.)
    Click Next.




  6. Now, we need to add Users & Groups for this cluster.
    Select the Users and Group from the list, or we can provide additional users and groups if they are not created.
    Click Next.





  7. Now, check the Kubernetes Cluster Deployment Summary and verify the information.
    If you wish to download the JSON of your configurations, click on Download Cluster JSON.
    Click Finish to start the deployment of Kubernetes Cluster.






  8. The deployment of Kubernetes Cluster takes some time as compared to Cloud Provider.
    Please be patient while the Cluster is being deployed. Once deployed, the state of cluster will change from CREATING to READY.



    During the deployment process, the cluster state will be CREATING.




    After the successful deployment process, the cluster state will be ACTIVE.



    During the deployment process if there is an error, the cluster state will be changed to ERROR.



    Meanwhile, you can login to your VMware Integrated OpenStack Horizon and check if the correct number of instance have been deployed or not. If they are there then the deployment is in progress,
    if you don't see these instance after 5 mins then there is a possiblity that the deployment has faced some error.




    If you want to delete your cluster, the cluster state will be changed to DELETING.



...

  1. SSH into the VMware Integrated OpenStack with Kubernetes.

  2. Once you are logged into VMware Integrated OpenStack with Kubernetes, use the following command with the same username and password used during SSH:

    #vkube  login --insecure

     


  3. Get the list of all the clusters along with their Cluster ID, use the following command:

    #vkube cluster list --insecure

    Make a note of the Cluster ID of the cluster you want to access or know more about.

  4. Get the detailed information about the nodes running on a particular cluster, use the following command:

    #vkube cluster show <Cluster ID> --insecure

    Make a note of the IP of the Master and Worker Nodes.

  5. Get a list of all the docker containers running in background.

    #docker ps -a

     


  6. Get an interactive shell of the docker conatiner container with the name app-api.

    #docker exec -it <Container ID or Name> /bin/bash

    After this command, you'll get a shell of a running container.

  7. Once we are inside a running container, change the directory and go the cluster location using the following command:

    #cd /var/lib/vrc/terraform/<ClusterID>

     


  8. Once you are into the correct directory, use the following command to SSH into the Kubernetes Master or Worker Node depending on the IP Address:

    #ssh -i private.key -F ssh-bastion.conf ubuntu@Kubernetes_Host_IP_Address

  9. Once you are inside the Kubernetes Nodes, you can deploy ONAP, or troubleshoot an error as per your requirements.

...


Step 5: Deploy ONAP

Log in to the Master Node (as described in the steps above) and then follow the steps for ONAP Deployment.
The detailed documentation for the ONAP Deployment can be found on GitHub and ONAP Docs.

...