Versions Compared

Key

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

...

vCPU48
RAM96GB
Storage 256GB 


Follow the steps 1 to

...

4 mentioned below for creating a Kubernetes cluster .

TOComplete 20171205 - Step

...

5 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 . 

...

  •   With an existing VMware Integrated OpenStack deployment, you can create an OpenStack provider. 
  •   Without an existing VMware Integrated OpenStack deployment, you can create an SDDC provider Im.


Step3 - Creating the Kubernetes cluster

Step3.1 - Create the kubernetes cluster by clicking + NEW


Step4 - Creating the Kubernetes cluster



4.1 3.2 - Click NEXT


4.2 - Select an Infrastructure Provider for creating the kubernetes

...

  • Provider name can be custom name given by user where as provider Type has to be openstack or sddc . 


43.3 - Select a Node Profile. If you have more than one node profiles, uncheck the box "Use default node profile" to see the list.


43.4 - Provide the Input for the Cluster as indicated in Example Data below 

...

Cluster type: Exclusive Cluster 



43.5 - Fill the details in User & Group page

                 

        

43.6 - Click on FINISH and wait for few minutes for the kubernetes cluster to get created .




Step5Step4. 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 .


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

65.1 - Login via console window  to  BLUESHIFT_MGMT_IP_ADDRESS . user name and password is same as used in step1 .

65.2 - Once logged into  BLUESHIFT_MGMT_IP_ADDRESS  session  use the command  "vkube  login --insecure" . use the user name and password same as in step1 .

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

65.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.

65.5 - Login to app-api docker using docker exec it app-api bash

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

65.7 - ssh to KUBERNETES_HOST_IP_ADDRESS using below command

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

65.8 - Once inside KUBERNETES_HOST_IP_ADDRESS (to be reviewed)

Step7Step6. Installing kubectl to manage Kubernetes cluster 

  TBC20171207   

76.1 - Download the kubectl using below command 

curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.7.0/bin/linux/amd64/kubectl

76.2 - Make the kubectl binary executable.

chmod +x ./kubectl

76.3 - Move the kubectl to PATH 

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

Step8Step7. Verifying that kubernetes config is good 

...

Kubernetes master is running at https://10.110.208.207:443/
dnsmasq is running at https://10.110.208.207:443//api/v1/namespaces/kube-system/services/dnsmasq/proxy
kubedns is running at https://10.110.208.207:443//api/v1/namespaces/kube-system/services/kubedns/proxy

Step9Step8. Installing Helm 

98.1 - Download the helm  using below command  

wget http://storage.googleapis.com/kubernetes-helm/helm-v2.3.0-linux-amd64.tar.gz

98.2 - Untar the  file

tar -zxvf helm-v2.3.0-linux-amd64.tar.gz

98.3 - Move the helm to /usr/local/bin

...