Create VMs
For sites
Create two kubernetes clusters aka sites. Each site should have one master and at least three worker nodes with below config -
VCPUs | 4 |
---|---|
Disk | 20 GB |
RAM | 16 GB |
Configure Kubernetes Clusters
Prepare sites
Note that we are using "coredns" feature gate instead of "kube-dns".
Site 1 (Primary Site)
Follow steps from below link to install a kubernetes cluster with SDN-C using kubeadm, with four VMs created in above step -
https://wiki.onap.org/display/DW/Deploying+Kubernetes+Cluster+with+kubeadm
Site 2 (Secondary/Backup Site)
Follow steps from below link to install another kubernetes cluster with SDN-C using kubeadm, with four VMs created in above step -
https://wiki.onap.org/display/DW/Deploying+Kubernetes+Cluster+with+kubeadm
Before deploying SDN-C Cluster on secondary kubernetes cluster, configure the geographic site id for secondary site as below:
Configure geographic site id for secondary site (site 2) | vi kubernetes/common/mysql/values.yaml Change the following fields with the new value:
|