-
Notifications
You must be signed in to change notification settings - Fork 344
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
discuss: ApisixRoute change struct #248
Comments
The apiVersion: apisix.apache.org/v2alpha1
kind: ApisixRoute
metadata:
name: httpbin-route
spec:
http:
- priority: 10
name: rule1
match:
paths:
- "/a"
- "/bb*"
methods:
- GET
- POST
hosts:
- a.com
- aa.com
remote_addrs:
- 192.168.1.0/24
- 10.0.5.12
nginxVars:
- subject: "$remote_addr"
op: in
array:
- 127.0.0.1
- 10.0.5.11
backend:
serviceName: httpbin
servicePort: 8080
resolveGranularity: endpoint # by default is endpoint, optional value can be "service".
plugins:
- name: redirect
enable: true
config:
aaa: bbb
ccc: ddd The |
I think it might be a good idea to keep the |
Are |
I think it is more readable using upstream:
serviceName: xxx
servicePort: xxx |
Might as well. The route here is a verb. |
Yep. |
What about backend? Just like Ingress. |
Well, I think anyone who uses Linux is familiar with "*"; Also, I think we don't need to consider the extensibility now, it depends on Apache APISIX's iteration and if so, just use a new version of |
Agreee |
We need a field to specify whether to use |
We always use Cluster Service, why we need this field? |
I mean is to give users the ability to choose whether to automatically register the pod IP. |
What is automatically register pod ip? What can we get from it? |
I mean to give users a choice, use clusterip or POD IP |
Got it. |
Will the routing rules under Ingress be the same as the standard version of Apisix? |
Sure~. |
Is there any progress on Apisix-Route? |
@pioneer-hash See #262 for more details. |
No description provided.
The text was updated successfully, but these errors were encountered: