tanzukubernetescluster.go:319] "Condition indicates failure" logger="svc-tkg-domain-###-tkg-controller.tanzukubernetescluster-spec-controller.<namespace>.<Guest-cluster-name>" Condition="Gateway-Api-ReconcileFailed" Status="True"tanzukubernetescluster_controller.go:467] "Error while reconcilling cluster object requeuing for retry" err="fake error for quick requeuing" logger="svc-tkg-domain-###-tkg-controller.tanzukubernetescluster-spec-controller.<namespace>.<Guest-cluster-name>" cluster.name="<Guest-cluster-name>" message: |- kapp: Error: update customresourcedefinition/gatewayclasses.gateway.networking.k8s.io (apiextensions.k8s.io/v1) cluster: Updating resource customresourcedefinition/gatewayclasses.gateway.networking.k8s.io (apiextensions.k8s.io/v1) cluster: API server says: CustomResourceDefinition.apiextensions.k8s.io "gatewayclasses.gateway.networking.k8s.io" is invalid: status.storedVersions[0]: Invalid value: "v1": must appear in spec.versions (reason: Invalid)
Tanzu Kubernetes Release 1.27.x
The 'v1alpha1pre1' versioned `GatewayClass` is never shipped with any current or past releases of the GatewayApi. The first release of the GatewayApi starts with the version v1alpha1 itself.
The below fix should get the cluster back to a "Running/Ready" state.