Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 25 Next »

This page captures all information and steps that are needed for deploying ONAP via  OOM using /on  VIO 4.0 Kubernetes .

Assumption .This pages assumes that user have VIO4.0 with kubernetes deployed with cloud provider as openstack successfully .

a. prerequisite  - 

     a.1 User should have the Kubernetes Mgmt IP Address  , user name and password ready to be able to create Kubernetes cluster .

     a.2  K8S Master and K8S Node instances should have Flavor attached as per the requirement below .


vCPU48
RAM96GB
Storage 256GB 


 Step1 to Step3 are needed for creating a kubernetes cluster .

TOComplete 20171205 - Step 4 onwards are needed for getting the Kubernetes Host IP so that user can login to Kubernetes Host and ONAP using  OOM can be deployed ..

TODO 20171205 -  steps that needs to be done prior to git Clone of OOM . 

    1 :  https://KUBNERTES_IP_ADDRESS/LOGIN




2 -  Create the Kubernetes cluster by clicking +NEW 





 3.1 .  click NEXT




 3.2 . Select an Infrastructure Provider .Choose between the options available 


3.3 . Select a Node Profile  . Default Node Profile can be modified to have the desired  flavor for the  cluster . 



3.4  . Provide the Cluster Data 



 3.5  create the user and Group 

 3.6 click on finish 


4. Verifying the VIO Kubernetes Cluster . If everything in step 3.1 to step 3.6 has been done successfully .The Summary information for the cluster will be filled as given in the example below .



   


 5. How to get Kubernetes Host IP Address and login to Kubernetes Host  . 

      5.1    Login Via Putty to  KUBNERTES_IP_ADDRESS . user name and password is same as used in step1 .

      5.2    once logged into Putty session  use the command  "vkube  login --insecure" . use the user name and password same as in step1 .

      5.3     get the list of clusters using command  "vkube cluster list --insecure" . make a note of cluster Id in the output of the command 

      5.4     get the cluster node details using command "vkube cluster show <cluster Id > --insecure "  .make note of worker ip address .Worker IP Address KUBERNETES_HOST_IP.

      5.5     login to app-api docker using docker exec it app-api bash

      5.6     once inside the app-api docker go to /var/lib/vrc/terraform/<cluserId>

      5.7     ssh -i private.key -F ssh.bastion.conf ubuntu@KUBERNETES_HOST_IP_ADDRESS .  

      5.8      once inside KUBERNETES_HOST_IP_ADDRESS 


 6. Installing Kubectl  to manage Kubernetes cluster using kubectl  


       6.1  download the kubectl using below command on the worker Node .  

              curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl

       6.2    Make the kubectl binary executable.

              chmod +x ./kubectMove the binary in to your PATH.

      6.3     Move the kubectl to PATH 

                          sudo mv ./kubectl /usr/local/bin/kubectl


 

  • No labels