Hi,
It seems that your ApisixRoute definition was wrong, serviceName and
servicePort should be set as a whole in the backends. You may try the
following snippet.
httpbin-route.yaml
apiVersion: apisix.apache.org/v2beta2
kind: ApisixRoute
metadata:
name: httpserver-route
spec:
http:
- name: rule1
match:
hosts:
- local.httpbin.org
paths:
- /*
backends:
- serviceName: httpbin
servicePort: 80
Chao Zhang
https://github.com/tokers
On October 29, 2021 at 03:54:05, Rupinder Singh ([email protected]) wrote:
httpbin-route.yaml apiVersion: apisix.apache.org/v2beta2 kind: ApisixRoute
metadata: name: httpserver-route spec: http: - name: rule1 match:
hosts: - local.httpbin.org paths: - /*
backends: - serviceName: httpbin - servicePort: 80