sumeng001 commented on issue #730:
URL:
https://github.com/apache/apisix-ingress-controller/issues/730#issuecomment-956200482
I took apisix.apache.org/v2beta1 to make apisix.apache.org/v2beta2
Could that be the problem?
httpbin-route.yaml
**_apiVersion: apisix.apache.org/v2beta1_**
kind: ApisixRoute
metadata:
name: httpserver-route
spec:
http:
name: rule1
match:
hosts:
local.httpbin.org
paths:
/*
backend:
serviceName: "httpbin"
servicePort: 80
**_apiVersion: apisix.apache.org/v2beta2_**
kind: ApisixRoute
metadata:
annotations:
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"apisix.apache.org/v2beta1","kind":"ApisixRoute","metadata":{"annotations":{},"name":"httpserver-route","namespace":"default"},"spec":{"http":[{"backend":{"serviceName":"httpbin","servicePort":80},"match":{"hosts":["local.httpbin.org"],"paths":["/*"]},"name":"rule1"}]}}
creationTimestamp: "2021-11-01T12:29:20Z"
generation: 1
name: httpserver-route
namespace: default
resourceVersion: "1107435"
uid: 0208e39e-0b77-4b78-a4ae-baa0ad10317d
spec:
http:
- match:
hosts:
- local.httpbin.org
paths:
- /*
name: rule1
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]