Skip to content

No matches for kind in version

kubectl couldn’t map the manifest’s apiVersion and kind to anything the API server serves.

Terminal window
kubectl api-resources | grep -i ingress # which groups and versions serve this kind
kubectl api-versions | grep networking
Cause Fix
The API version was removed in a Kubernetes upgrade Move to the served version (the Kubernetes deprecation guide lists the replacement for each), and check that fields haven’t changed
A CRD isn’t installed (kind: Certificate, kind: HTTPRoute) Install the operator or CRDs first. In Helm or Argo CD, order CRDs before the resources that use them
The CRD is installed at a different version Use a version the CRD serves: kubectl get crd <name> -o jsonpath='{.spec.versions[*].name}'

Find removed APIs before an upgrade rather than after: scan manifests and charts with a tool like pluto, and check the API server’s apiserver_requested_deprecated_apis metric for live usage.

Read next: Upgrades.