Using the NSX Advanced Load Balancer with vSphere Networking

If you use the vSphere networking stack for workload management, you can install and configure the NSX Advanced Load Balancer, also known as Avi Load Balancer, Essentials Edition, to support the Tanzu Kubernetes clusters.

For more information about how to install and configure the NSX Advanced Load Balancerthrough the vSphere Client, see the vSphere with Tanzu Configuration and Management documentation.

You can use the vSphere Automation APIs to deploy the Avi Controller on your vSphere Management network. You can upload the latest version of the NSX Advanced Load Balancer to a library item from your local file system or from a URL. For more information about how to achieve this task, see Upload an OVF or OVA Package from a Local File System to a Library Item. Then you can deploy the Controller VM on your vSphere Management network from the OVA template in the content library as described in Deploy a Virtual Machine or vApp from an OVF Template in a Content Library.

Create a LoadBalancers.AviConfigCreateSpec instance to configure the NSX Advanced Load Balancer settings:

Parameter Description
server / setServer(LoadBalancersTypes.Server server) The address of the Avi Controller that is used to configure virtual services.
username / setUsername(java.lang.String username) The administrator user name that is used for accessing the Controller VM of the NSX Advanced Load Balancer.
password / setPassword(char[] password) The password for the administrator user name.
certificate_authority_chain / setCertificateAuthorityChain(java.lang.String certificateAuthorityChain) The certificate in PEM format that is used by the Controller. You can use the certificate that you assigned during the configuration of the NSX Advanced Load Balancer.