Configuring a TKGI API Load Balancer

Page last updated:

This topic describes how to configure an external load balancer for the TKGI API.

Overview

You must configure an external load balancer to make the TKGI API accessible from outside the network. This external load balancer forwards traffic to the TKGI API endpoint on ports 8443 and 9021. You can use any external load balancer for the TKGI API.

To set up an external load balancer for the TKGI API, do the following after you install the Tanzu Kubernetes Grid Integrated Edition tile:

  1. Retrieve the TKGI API Endpoint
  2. Configure an External Load Balancer

Prerequisites

Before configuring an external load balancer for the TKGI API, you must have the following:

  • The TKGI API certificate that you provided in the Tanzu Kubernetes Grid Integrated Edition tile > TKGI API > Certificate to secure the TKGI API.
  • The TKGI API hostname that you entered in the Tanzu Kubernetes Grid Integrated Edition tile > TKGI API > API Hostname (FQDN).

Step 1: Retrieve the TKGI API Endpoint

You need to retrieve the TKGI API endpoint to allow your organization to use the API to create, update, and delete Kubernetes clusters.

To retrieve the TKGI API endpoint, do the following:

  1. Navigate to the Ops Manager Installation Dashboard.
  2. Click the Tanzu Kubernetes Grid Integrated Edition tile.
  3. Click the Status tab and locate the TKGI API job. The IP address of the TKGI API job is the TKGI API endpoint.

Step 2: Configure an External Load Balancer

To set up an external load balancer for the TKGI API, configure the external load balancer to resolve to the domain name you entered in the Tanzu Kubernetes Grid Integrated Edition tile > TKGI API > API Hostname (FQDN) using the following information:

Next Installation Step

To set up Tanzu Kubernetes Grid Integrated Edition admin users who can create and manage Kubernetes clusters, follow the instructions in Setting Up Tanzu Kubernetes Grid Integrated Edition Admin Users on vSphere.


Please send any feedback you have to pks-feedback@pivotal.io.