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 > > NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES > > apisix-gw-deployment-7bf998c895-ckprd 1/1 Running 0 85d 10.244.1.3 k8snode04 <none> <none> > > apisix-ingress-controller-fb9fc6579-prlzk 1/1 Running 0 99m 10.244.12.24 k8snode07 <none> <none> > > myhttp-794dc65cdc-ph2f9 1/1 Running 0 136d 10.244.4.198 k8snode02 <none> <none> > > test-network-776895fdbd-8xb7p 1/1 Running 0 54d 10.244.3.75 k8snode01 <none> <none> > > [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 > > field.cattle.io/ports: > > [[{"containerPort":9527,"dnsName":"myhttp","hostPort":0,"kind":"ClusterIP","name":"9527tcp02","protocol":"TCP","sourcePort":0}]] > > Service Account: apisix-view-serviceaccount > > Containers: > > myhttp: > > Image: registry.storm.io/ops/myhttp:v0.1 > > Port: 9527/TCP > > Host Port: 0/TCP > > Command: > > /test > > Limits: > > cpu: 500m > > memory: 512Mi > > Requests: > > cpu: 100m > > memory: 128Mi > > Environment: <none> > > Mounts: <none> > > Volumes: <none> > > Conditions: > > Type Status Reason > > ---- ------ ------ > > Progressing True NewReplicaSetAvailable > > Available True MinimumReplicasAvailable > > OldReplicaSets: <none> > > NewReplicaSet: myhttp-794dc65cdc (1/1 replicas created) > > Events: <none> > > > > ----------------------------- > > # svc > > Name: myhttp-svc > > Namespace: ws > > Labels: <none> > > Annotations: Selector: app=myhttp > > Type: ClusterIP > > IP: 10.1.186.3 > > Port: http 9527/TCP > > TargetPort: 9527/TCP > > Endpoints: 10.244.4.198:9527 > > Session Affinity: None > > Events: <none> > > ``` > > What is your problem? And if it's not related to this issue, please enroll your problem by creating another issue. Can't passbay the apisxi connecet the server. -- 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