Part#5 Deploying vSphere Supervisor cluster for VKS with VDS (Foundation load balancer) VCF9.0.1

Deploying vSphere Supervisor cluster for VKS with VDS (Foundation load balancer) VCF9.0.1


In this article I will discuss about deploying vSphere supervisor with the option of VDS with Foundation load balancer. If you use vSphere Distributed Switch (VDS) network, you must configure a load balancer to support the network connectivity to workloads from client networks and to load balance traffic between Kubernetes Clusters. The supported load balancer types are Avi Load Balancer, HAProxy and Foundation Load Balancer.VCF 9 introduces VDSbased Supervisor networking with a builtin Foundation LB for lightweight scenarios, reducing moving parts for a lab/POC.
I have selected vSphere Distributed Switch (VDS) with the Foundation Load Balancer to minimize footprint while enabling Supervisor controlplane and service VIPs.

Overview of Foundation Load Balancer:

Foundation LB is designed for baseline Supervisor use cases; it is not a featureparity replacement for NSX Advanced Load Balancer. The Foundation Load Balancer (FLB) is embedded in vCenter which is available when you enable a Supervisor with the VLAN Networking model and provides Layer 4 load-balancing services Choose accordingly if you need advanced L7 features. 
Foundation Load balancer supports 2 types of configuration.
1.  Two Arm Configuration
2. One Arm Configuration

In the lab one arm Configuration is used to simplifies VIP delivery for Supervisor API and related services.

Supervisor Enablement:

 
In vCenter, enable Workload Management and choose VDS networking.


Cluster Deployment:

Here cluster deployment is done due to lab space constraints and one cluster only. Give the supervisor name. Choose Cluster Deployment and enable control plane high-availability




Configure Control Plane Storage policy:

Select the storage Policy. For the sake of simplicity I have selected VSAN default storage policy for simplicity. You can create your own Storage policy




Configure Management Network:

Give the IPs of Management Network, Workload network and L3 routing configuration for Supervisor Cluster.





Configure Load balancer Topology:

With a one arm topology, Only one interface is connected to the Workload/Namespace Network.
No multiple subnets, no multi-arm routing, All VIPs (Supervisor API VIP + optional service VIPs are announced on the same VLAN.

I have selected One Arm for the sake of simplicity due to nested lab.




Configure management and Virtual Server Network:

Configure Control Plane size and API Server DNS name:

I have selected small size it varies based on environment. 



Review settings 



You will see the Supervisor start configuring.





Faced the following issue where Kubernetes Node agent gets stuck for hours.




Troubleshooting steps:

To resolve this issue i performed the following.
1. Manual downloaded the vsphere-wcp-depot-embeded from vcenter and moved it to each esx host and then installed the offline vib




2. Validation of VIB installation




3. Restarted WCP service from vCenter



after service restart the issue got resolved and Supervisor status and Host Config status showed running. 




Verification:

Login to Supervisor Cluster:

kubectl.exe vsphere login --server=172.16.30.201 --insecure-skip-tls-verify




Enjoy using VKS !!!

Lessons learnt: 

1. Pick the simplest FLB topology that fits: onearm is fastest to deploy; twoarm adds segmentation but increases routing/VLAN planning.

















Comments

Popular posts from this blog

Replacing a vSphere 7.x Machine SSL certificate with a Custom Certificate Authority and Integration with NSX-T

Part#2: Preparing Hosts For Commissioning in VCF9.0.1 and Fixing FQDN/SAN & Certificate Mismatches during VCF Management domain installation