-
Notifications
You must be signed in to change notification settings - Fork 341
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
request help: apisixGlobalRoute 创建失败 #2031
Comments
If you installed ingress-controller via their Helm chart, you have to manually install CRDs as mentioned here. Apply manifests from here. For example, to add ApisixGlobalRule, execute this: And after installing CRD you'll get another issue. |
Thanks a lot for helping,Here is the wrong content: https://apisix.apache.org/docs/ingress-controller/next/concepts/apisix_global_rule/#example |
Yep, I created a PR for that: #2032 |
Issue description
这是我从官网抄的配置文件,在我apply这个文件的时候,得到了如下报错:
error: unable to recognize "a.yaml": no matches for kind "ApisixGlobalRule" in version "apisix.apache.org/v2"
Environment
Git SHA: no-git-module
Go Version: go1.20.8
Building OS/Arch: linux/amd64
Running OS/Arch: linux/amd64
Server Version: version.Info{Major:"1", Minor:"24+", GitVersion:"v1.24.6-aliyun.1", GitCommit:"aec75b3b7aad2b964bb47d3ca2f64d609a358d40", GitTreeState:"clean", BuildDate:"2023-03-20T01:53:44Z", GoVersion:"go1.18.6", Compiler:"gc", Platform:"linux/amd64"}
WARNING: version difference between client (1.22) and server (1.24) exceeds the supported minor version skew of +/-1
The text was updated successfully, but these errors were encountered: