[GitHub] [apisix-ingress-controller] sober-wang commented on issue #356: request help: KubeSphere setup
sober-wang commented on issue #356: URL: https://github.com/apache/apisix-ingress-controller/issues/356#issuecomment-831100552 > > > > 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 u
[GitHub] [apisix-ingress-controller] sober-wang commented on issue #356: request help: KubeSphere setup
sober-wang commented on issue #356: URL: https://github.com/apache/apisix-ingress-controller/issues/356#issuecomment-830765132 But when I entry apisix pod request my http server is connect. see ... ``` [root@k8smaster01 ~]# kubectl -n ws get pods -owide NAMEREADY STATUSRESTARTS AGE IP NODE NOMINATED NODE READINESS GATES apisix-gw-deployment-7bf998c895-ckprd 1/1 Running 0 85d 10.244.1.3 k8snode04 apisix-ingress-controller-fb9fc6579-prlzk 1/1 Running 0 99m 10.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 54d 10.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, 25% max surge Pod Template: Labels: app=myhttp Annotations: cattle.io/timestamp: 2020-11-27T09:33:34Z