Skip to content

Commit

Permalink
docs: Supplement FAQ for the error log 'no matches for kind "ApisixRo…
Browse files Browse the repository at this point in the history
…ute" in version "apisix.apache.org/v2beta1"' (#651)
  • Loading branch information
gxthrj committed Aug 28, 2021
1 parent 62b7590 commit 9ab367f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/en/latest/FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,15 @@ In such a case, you may need to apply these CRDs by yourself.
```shell
kubectl apply -k samples/deploy/crd/
```

### 8. Why apisix-ingress-controller reports similar errors when running: no matches for kind "ApisixRoute" in version "apisix.apache.org/v2beta1"

The version `v2beta1` is the newest version of resource `ApisixRoute`. You need to check if the CRD definition file is up to date.

```shell
kubectl get crd apisixroutes.apisix.apache.org -o jsonpath='{ .spec.versions[*].name }' -A
```

If you can not find `v2beta1` in `ApisixRoute` definition file. Please apply the latest version of `ApisixRoute`.

Ref to FAQ #7.

0 comments on commit 9ab367f

Please sign in to comment.