[GitHub] [apisix-ingress-controller] tokers edited a comment on issue #356: request help: KubeSphere setup

2021-05-02 Thread GitBox


tokers edited a comment on issue #356:
URL: 
https://github.com/apache/apisix-ingress-controller/issues/356#issuecomment-830995674


   > But when I entry apisix pod request my http server is connect. see ...
   > 
   > ```
   > [root@k8smaster01 ~]# kubectl -n ws get pods -owide 
   > NAMEREADY   STATUSRESTARTS   
AGEIP NODE  NOMINATED NODE   READINESS GATES
   > apisix-gw-deployment-7bf998c895-ckprd   1/1 Running   0  
85d10.244.1.3 k8snode04
   > apisix-ingress-controller-fb9fc6579-prlzk   1/1 Running   0  
99m10.244.12.24   k8snode07
   > myhttp-794dc65cdc-ph2f9 1/1 Running   0  
136d   10.244.4.198   k8snode02
   > test-network-776895fdbd-8xb7p   1/1 Running   0  
54d10.244.3.75k8snode01
   > [root@k8smaster01 ~]# kubectl -n ws exec -it 
apisix-gw-deployment-7bf998c895-ckprd -- curl http://myhttp-svc:9527
   > Hello world ,The runtime os is [ linux ], Now member is [ 
myhttp-794dc65cdc-ph2f9 ] 
   > [root@k8smaster01 ~]# kubectl -n ws exec -it 
apisix-gw-deployment-7bf998c895-ckprd -- curl http://myhttp-svc:9527/dbsecurity
   > Hello world ,The runtime os is [ linux ], Now member is [ 
myhttp-794dc65cdc-ph2f9 ] 
   > [root@k8smaster01 ~]# ls
   > anaconda-ks.cfg  dd.txt  epel-release-latest-7.noarch.rpm  
sudo-1.9.5-3.el6.x86_64.rpm  test.sh  xengine-dev-configmap.yaml
   > [root@k8smaster01 ~]# kubectl -n ws exec -it 
apisix-gw-deployment-7bf998c895-ckprd -- curl http://10.244.4.198:9527
   > Hello world ,The runtime os is [ linux ], Now member is [ 
myhttp-794dc65cdc-ph2f9 ] 
   > [root@k8smaster01 ~]# 
   > ```
   > 
   > And apisix pod have some error log .
   > 
   > ```
   > 10.244.12.24 - - [02/May/2021:15:08:53 +0800] apisix-gw-lb:9080 "GET 
/apisix/admin/upstreams/fe7b69e0 HTTP/1.1" 404 39 0.002 "-" 
"Go-http-client/1.1" - - - "http://apisix-gw-lb";
   > 10.244.12.24 - - [02/May/2021:15:08:53 +0800] apisix-gw-lb:9080 "GET 
/apisix/admin/upstreams/4157840a HTTP/1.1" 404 39 0.001 "-" 
"Go-http-client/1.1" - - - "http://apisix-gw-lb";
   > 10.244.12.24 - - [02/May/2021:15:08:53 +0800] apisix-gw-lb:9080 "GET 
/apisix/admin/upstreams/313d7085 HTTP/1.1" 404 39 0.001 "-" 
"Go-http-client/1.1" - - - "http://apisix-gw-lb";
   > 10.244.12.24 - - [02/May/2021:15:11:53 +0800] apisix-gw-lb:9080 "GET 
/apisix/admin/upstreams/fe7b69e0 HTTP/1.1" 404 39 0.002 "-" 
"Go-http-client/1.1" - - - "http://apisix-gw-lb";
   > 10.244.12.24 - - [02/May/2021:15:11:53 +0800] apisix-gw-lb:9080 "GET 
/apisix/admin/upstreams/4157840a HTTP/1.1" 404 39 0.001 "-" 
"Go-http-client/1.1" - - - "http://apisix-gw-lb";
   > 10.244.12.24 - - [02/May/2021:15:11:53 +0800] apisix-gw-lb:9080 "GET 
/apisix/admin/upstreams/313d7085 HTTP/1.1" 404 39 0.001 "-" 
"Go-http-client/1.1" - - - "http://apisix-gw-lb";
   > 10.244.12.24 - - [02/May/2021:15:14:53 +0800] apisix-gw-lb:9080 "GET 
/apisix/admin/upstreams/fe7b69e0 HTTP/1.1" 404 39 0.002 "-" 
"Go-http-client/1.1" - - - "http://apisix-gw-lb";
   > 10.244.12.24 - - [02/May/2021:15:14:53 +0800] apisix-gw-lb:9080 "GET 
/apisix/admin/upstreams/4157840a HTTP/1.1" 404 39 0.001 "-" 
"Go-http-client/1.1" - - - "http://apisix-gw-lb";
   > 10.244.12.24 - - [02/May/2021:15:14:53 +0800] apisix-gw-lb:9080 "GET 
/apisix/admin/upstreams/313d7085 HTTP/1.1" 404 39 0.004 "-" 
"Go-http-client/1.1" - - - "http://apisix-gw-lb";
   > 10.244.12.24 - - [02/May/2021:15:17:53 +0800] apisix-gw-lb:9080 "GET 
/apisix/admin/upstreams/fe7b69e0 HTTP/1.1" 404 39 0.003 "-" 
"Go-http-client/1.1" - - - "http://apisix-gw-lb";
   > 10.244.12.24 - - [02/May/2021:15:17:53 +0800] apisix-gw-lb:9080 "GET 
/apisix/admin/upstreams/4157840a HTTP/1.1" 404 39 0.001 "-" 
"Go-http-client/1.1" - - - "http://apisix-gw-lb";
   > 10.244.12.24 - - [02/May/2021:15:17:53 +0800] apisix-gw-lb:9080 "GET 
/apisix/admin/upstreams/313d7085 HTTP/1.1" 404 39 0.001 "-" 
"Go-http-client/1.1" - - - "http://apisix-gw-lb
   > ```
   > 
   > my ApisixRoute :
   > 
   > ```yaml
   > apiVersion: apisix.apache.org/v1
   > kind: ApisixRoute
   > metadata:
   >   name: myhttp
   > spec:
   >   rules:
   >   - host: storm.myhttp.io
   > http:
   >   paths:
   >   - backend:
   >   serviceName: myhttp-svc
   >   servicePort: 9527
   > path: /*
   > ```
   > 
   > my server information:
   > 
   > ```
   > # deployment 
   > Name:   myhttp
   > Namespace:  ws
   > CreationTimestamp:  Thu, 19 Nov 2020 14:37:32 +0800
   > Labels: app=myhttp
   > Annotations:deployment.kubernetes.io/revision: 8
   > Selector:   app=myhttp
   > Replicas:   1 desired | 1 updated | 1 total | 1 available | 0 
unavailable
   > StrategyType:   RollingUpdate
   > MinReadySeconds:0
   > RollingUpdateStrategy:  25% max unavailable

[GitHub] [apisix-ingress-controller] tokers edited a comment on issue #356: request help: KubeSphere setup

2021-04-12 Thread GitBox


tokers edited a comment on issue #356:
URL: 
https://github.com/apache/apisix-ingress-controller/issues/356#issuecomment-818440741


   I found these routes were created by apisix-dashboard, just do not mix the 
use of apisix-ingress-controller and manual configurations from 
apisix-dashboard.
   
   Also, the route you pasted doesn't contain the one in the YAML 
configuration: 
   
   ```yaml
   # httpbin-route.yaml
   apiVersion: apisix.apache.org/v2alpha1
   kind: ApisixRoute
   metadata:
 name: httpserver-route
   spec:
 http:
 - name: rule1
   match:
 hosts:
 - local.httpbin.org
 paths:
 - /*
   backend:
 serviceName: httpbin-85d57ddd75-wtmwh
 servicePort: 80
   
   ```


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




[GitHub] [apisix-ingress-controller] tokers edited a comment on issue #356: request help: KubeSphere setup

2021-04-09 Thread GitBox


tokers edited a comment on issue #356:
URL: 
https://github.com/apache/apisix-ingress-controller/issues/356#issuecomment-817075481


   apisix-ingress-controller itself is not the proxy component but the 
controller to control the proxy plane (APISIX), you should access APISIX 
instead. By the way, did you install APISIX?


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