Skip to content
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: How to define apisixroute with multiple apisix-controller #2329

Closed
towtooth opened this issue Nov 26, 2024 · 2 comments
Closed

Comments

@towtooth
Copy link

Issue description

I'm running multiple apisix ingress controller on the same k8s cluster, and I want different apisix ingress controller to read different apisixroute object, in a form similar to ingress-class.
Could you please let me know how to configure it?

Environment

  • your apisix-ingress-controller version (output of apisix-ingress-controller version --long):
    Version: 1.6.0 Git SHA: no-git-module Go Version: go1.19.4 Building OS/Arch: linux/amd64 Running OS/Arch: linux/amd64
  • your Kubernetes cluster version (output of kubectl version):
    Client Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.0", GitCommit:"c2b5237ccd9c0f1d600d3072634ca66cefdf272f", GitTreeState:"clean", BuildDate:"2021-08-04T18:03:20Z", GoVersion:"go1.16.6", Compiler:"gc", Platform:"linux/amd64"} Server Version: version.Info{Major:"1", Minor:"24+", GitVersion:"v1.24.6-aliyun.1", GitCommit:"be2c483aa02d6189c93f0b4ca6420c1d37d5c55c", GitTreeState:"clean", BuildDate:"2022-11-16T04:06:26Z", 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
  • if you run apisix-ingress-controller in Bare-metal environment, also show your OS version (uname -a):
@sereneshikari
Copy link

I don't think this is currently possible. However, if your ApisixRoutes are in different namespaces, say namespaceA and namespaceB, then you can configure one ingress controller to look only at namespaceA and the other only at namespaceB.

@towtooth
Copy link
Author

I don't think this is currently possible. However, if your ApisixRoutes are in different namespaces, say namespaceA and namespaceB, then you can configure one ingress controller to look only at namespaceA and the other only at namespaceB.

thanks for reply,unfortunately my svcs are in the default namespace

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants