wjx8382 opened a new issue #356:
URL: https://github.com/apache/apisix-ingress-controller/issues/356


   ### Issue description
   When I try to test the connection on KubeSphere following the practice 
example:
   
https://apisix.apache.org/docs/ingress-controller/practices/proxy-the-httpbin-service-with-ingress
   ```
   # httpbin-ingress.yaml
   apiVersion: networking.k8s.io/v1beta1
   kind: Ingress
   metadata:
     name: httpserver-ingress
     annotations:
       kubernetes.io/ingress.class: apisix
   spec:
     rules:
       - host: local.httpbin.org
         http:
           paths:
             - backend:
                 serviceName: httpbin-85d57ddd75-wtmwh
                 servicePort: 80
               path: /
   ```
   
![image](https://user-images.githubusercontent.com/6300935/114163610-f87e4d80-995c-11eb-9af4-d9fb8a5bd857.png)
   
   When I access `httpbin` through the `NodePort` of `httpbin`, I can get a 
successful page(http://local.httpbin.org:30469/)
   But when accessing `httpbin` through `NodePort` of 
`apisix-ingress-controller`, display `error 404 page not 
found`(http://local.httpbin.org:30984/)
   Is it my configuration wrong?
   
   ### Environment
   
   * your apisix-ingress-controller version (0.4.0);
   * your Kubernetes cluster version (Client Version: version.Info{Major:"1", 
Minor:"16", GitVersion:"v1.16.7", 
GitCommit:"be3d344ed06bff7a4fc60656200a93c74f31f9a4", GitTreeState:"clean", 
BuildDate:"2020-02-11T19:34:02Z", GoVersion:"go1.13.6", Compiler:"gc", 
Platform:"linux/amd64"}
   Server Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.7", 
GitCommit:"be3d344ed06bff7a4fc60656200a93c74f31f9a4", GitTreeState:"clean", 
BuildDate:"2020-02-11T19:24:46Z", GoVersion:"go1.13.6", Compiler:"gc", 
Platform:"linux/amd64"});
   * if you run apisix-ingress-controller in Bare-metal environment, also show 
your OS version (Linux ks-allinone 3.10.0-862.el7.x86_64 #1 SMP Fri Apr 20 
16:44:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux).
   


-- 
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to