Add new Floating IPs (FIPs) to TKGi
search cancel

Add new Floating IPs (FIPs) to TKGi

book

Article ID: 367430

calendar_today

Updated On:

Products

VMware Tanzu Kubernetes Grid Integrated (TKGi)

Issue/Introduction

Floating IPs (FIPs) in TKGi are assigned to Kubernetes Load Balancer services in the clusters, including the Kubernetes Master IP(s) for each of them. Also IP addresses from the Floating IP Pool are used for SNAT IP addresses whenever a Namespace is created (NAT mode).

There may be situation where you'd like to expand the existing FIP Pool due to IP exhaustion or any other reason.

In this article, we'll explore two approaches to achieve this.

Resolution

Floating IPs (FIPs) are configured in TKGi through the OpsMan TKGi tile > Networking > Floating IP Pool ID

The Floating IP Pool ID has to be initially configured on NSX following the steps described in TKGi Docs.

There are two options to expand the availability of FIPs:

  1. You can apply to your clusters a network-profile with additional FIP Pools from NSX. This method is valid as well for TKGi-MC environments.
    The procedure is described in TKGi Docs network-profiles. Then, you can update your cluster with the new network-profile following the steps in Update the Cluster with a Modified Network Profile 

  2. You can add a new IP Range to the existing FIP Pool in NSX.
    Note: This method will not work if you are running TKGi-MC prior to the following versions 1.20.0, 1.17.6, 1.18.5, 1.19.2 due to the this known issue Wrong cluster Floating IP pools after TKGI upgrade with Management Console in PNAT mode

    Go to NSX-T GUI > Search the FIP ID you have configured in the TKGi tile > Select it from IP Pools > Click Edit



    Click on Add > Input the new IP Range and CIDR > Click Save



    More details can be found in the official NSX Documentation