Antrea cluster doesnt show in NSX UI
search cancel

Antrea cluster doesnt show in NSX UI

book

Article ID: 439837

calendar_today

Updated On:

Products

VMware Container Networking with Antrea

Issue/Introduction

  • Antrea NSX integration doesn't show the cluster on the NSX UI. 
  • VKr 1.35.2, vSphere 9.0, VKS 3.6.2
  • NSX >> Inventory >> Containers >> Cluster >> Blank.

Environment

VCF 9

Cause

VKr1.34 and below used AntreaConfig.yaml, whereas VKr1.35.2 was implemented with AddonConfig.yaml.

Resolution

  • If the VKr1.35 and above AddonConfig has to be used for the Antrea NSX integration. 

    Sample AddonConfig yaml

apiVersion: addons.kubernetes.vmware.com/v1alpha1
kind: AddonConfig
metadata:
  name: cluster1-antrea
  namespace: workload-clusters
spec:
  addonConfigDefinitionRef:
    name: antrea.tanzu.vmware.com.2.5.1---vmware.2-tkg.1
    namespace: vmware-system-vks-public
  clusterName: cluster1
  values:
    antreaNSX:
      enable: true

  • If the VKr1.34 and below AntreaConfig has to be used for the Antrea NSX integration.

    Sample AntreaConfig yaml

#AntreaConfig.yaml
apiVersion: cni.tanzu.vmware.com/v1alpha1
kind: AntreaConfig
metadata:
name:tkgs-cluster-name-antrea-package #prefix required
namespace:tkgs-cluster-ns
spec:  
  antreaNSX:
    enable: true #false by default

https://techdocs.broadcom.com/us/en/vmware-cis/vcf/vsphere-supervisor-services-and-standalone-components/latest/managing-vsphere-kuberenetes-service-clusters-and-workloads/managing-networking-for-tkg-service-clusters/enable-the-antrea-nsx-adapter-for-a-tkg-service-cluster.html