Resolve error: no matches for kind “Gateway” in version “gateway.networking.k8s.io/v1beta1”
Feb 10, 2025
Hello, I’m writing this story just to share the best way to solve this problem:
no matches for kind "Gateway" in version "gateway.networking.k8s.io/v1beta1"It’s obvious, but when I had this problem, I couldn’t find any article to solve it. It’s very simple: you just need to install the Gateway CRD with this command:
kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.2.0/standard-install.yamlThe standard release channel includes all resources that have graduated to GA or beta, including GatewayClass, Gateway, HTTPRoute, and ReferenceGrant.
Ref: https://gateway-api.sigs.k8s.io/guides/#installing-gateway-api
