Antrea AddonConfig stuck in Unknown status on VKS 3.6.0
search cancel

Antrea AddonConfig stuck in Unknown status on VKS 3.6.0

book

Article ID: 437167

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

  • In vSphere Kubernetes Service (VKS) 3.6.0, users may observe that the Antrea AddonConfig remains in an "Unknown" status.

kubectl get addonconfigs
NAMESPACE,NAME,ADDONCONFIGDEFINITION,CLUSTER,READY,AGE
<NAMESPACE>,<cLUSTER-NAME>-antrea,,,Unknown,

  • The repository contains only AddonConfigDefinitions for Antrea v2.5.1.

kubectl get addonconfigdefinitions.addons.kubernetes.vmware.com -A | grep antrea
NAMESPACE                      NAME   
vmware-system-vks-public  antrea.tanzu.vmware.com.2.5.1---vmware.1-tkg.1             

Environment

  • vSphere Kubernetes Service (VKS) 3.6.0
  • VMware Cloud Foundation (VCF) 9.0.2
  • Tanzu Kubernetes Runtime (TKR) version below 1.35
  • Antrea CNI version below 2.5.1

Cause

The New Addon Framework in VKS 3.6.0 requires a matching AddonConfigDefinition in the Supervisor repository to reconcile settings.

VKS 3.6.0 only includes definitions for Antrea v2.5.1.

Resolution

  • Deploy workload clusters using TKR v1.35.0 or later.
    This version utilizes Antrea 2.5.1, which matches the available AddonConfigDefinition in the VKS 3.6.0 environment.
  • For TKR below 1.35, please use AntreaConfig instead of AddonConfig following Enable the Antrea-NSX Adapter for a VKS Cluster.