I am trying to install API Gateway with Consul using Helm in Terraform in AKS and getting below error -
unable to recognize “”: no matches for kind “GatewayClass” in version “gateway.networking.k8s.io/v1alpha2 ”, unable to recognize “”: no matches for kind “GatewayClassConfig” in version “api-gateway.consul.hashicorp.com/v1alpha1 ”]e[0m
Please help!
Hi @mdaslamansari what version of kubectl
are you using? I ask because the Consul API Gateway requires kubectl 1.21+. Here is a link to the requirements for Consul API Gateway.
Doing it through Terraform Enterprise and Helm…not using kubectl directly
Kubernetes version - 1.21.7
lkysow
March 10, 2022, 4:24pm
5
Hi, have you installed the gateway CRDs? (step 1 here: Consul API Gateway Usage | Consul by HashiCorp )
1 Like
Thanks…It is resolved now…