...
This pages assumes that VIO4.0 is deployed successfully with Kubernetes. This will use OpenStack as the Cloud Provider.
VMware VIO 4.0 Kubernetes Architecture
...
a. Prerequisites -
...
Prerequisites
BlueShift Mgmt IP Address, username and password are needed to create Kubernetes cluster .
...
K8S Master and K8S Node instances should have a OpenStack Flavor attached as per the requirement below .
vCPU | 48 |
RAM | 96GB |
Storage | 256GB |
Steps to create a Kubernetes cluster
Follow the below steps 1
...
- 4
...
for
...
create 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 .
...
Step-1 - https://BLUESHIFT_MGMT_IP_ADDRESS/LOGIN
Step2
Step-
...
2 Create the Cloud Provider before creating a kubernetes cluster
Cloud Provider creation is prerequistie to Kubernetes cluster creation .VMware Integrated OpenStack with Kubernetes uses the cloud provider to create the infrastructure required to deploy all your Kubernetes clusters. VMware currently supports 2 options for infrastructure provider. VMware SDDC (vSphere + NSX + VSAN) or VIO (VMware Integrated OpenStack). When choosing the type of provider to create, consider the following:
- 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
Step-
...
3 Create the Kubernetes cluster
Step33.1 - Create the kubernetes cluster by clicking + NEW
3.2 - Click NEXT
43.2 3 - 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 .
3.3 4 - Select a Node Profile. If you have more than one node profiles, uncheck the box "Use default node profile" to see the list.
3.4 5 - Provide the Input for the Cluster as indicated in Example Data below
...
Cluster type: Exclusive Cluster
3.5 6 - Add Users and Groups for this cluster
...
3.6 7 - Click on FINISH and wait for few minutes for the kubernetes cluster to get created .
Step4. Verifying
Step-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 .
Step5. Step-5 How to get Kubernetes Host IP Address and login to Kubernetes Host .
...
5.8 - Once inside KUBERNETES_HOST_IP_ADDRESS (to be reviewed)
Step6. Step 6 Installing kubectl to manage Kubernetes cluster
...
sudo mv ./kubectl /usr/local/bin/kubectl
Step7. Step 7 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
Step8. Step 8 Installing Helm
8.1 - Download the helm using below command
...