szhengli opened a new issue, #1991: URL: https://github.com/apache/apisix-ingress-controller/issues/1991
### Issue description because, the target server is outside of kubernetes cluster, first I try to create ExternalName type service and refer it in ingress object, it fails to sync with apsix. then . try the below, it can sync successfully. but fail to access http://local.httpbin.org/ui with "503 Service Temporarily Unavailable" error. apiVersion: v1 kind: Service metadata: name: uidemo spec: ports: - protocol: TCP port: 80 targetPort: 80 --- apiVersion: v1 kind: Endpoints metadata: name: uidemo labels: endpointslice.kubernetes.io/managed-by: staff subsets: - addresses: - ip: 192.168.3.150 ports: - name: web port: 80 protocol: TCP --- apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: httpbin-route spec: ingressClassName: apisix rules: - host: local.httpbin.org http: paths: - backend: service: name: uidemo port: number: 80 path: /ui pathType: Prefix - backend: service: name: httpbin port: number: 80 path: / pathType: Prefix ### Environment apache/apisix-ingress-controller:1.6.1 -- 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]
