You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "nphariharan (via GitHub)" <gi...@apache.org> on 2024/01/09 11:54:57 UTC
[I] request help: Not able to hit kubernetes local service using ApisixRoute and ApisixUpstream [apisix-ingress-controller]
nphariharan opened a new issue, #2131:
URL: https://github.com/apache/apisix-ingress-controller/issues/2131
### Issue description
Issue description
Not able to hit kubernetes local service using ApisixRoute and ApisixUpstream. Getting the below error.
Error message in Apisix logs : **http_access_phase(): failed to set upstream: discovery dns is uninitialized, client: 127.0.0.1**
I am installing the apisix using the below link(through manifest files)
https://apisix.apache.org/docs/ingress-controller/tutorials/the-hard-way/
I added below extra configuration for service discovery in apisix-conf.yaml file.
apiVersion: v1
kind: ConfigMap
metadata:
name: apisix-conf
namespace: apisix
data:
config.yaml: |-
apisix:
discovery:
enabled: true
registry:
dns:
servers:
- "172.20.0.10:53"
Thanks,
Hariharan.
### Environment
Environment
your apisix-ingress-controller version (output of apisix-ingress-controller version --long): 1.6.0
your Kubernetes cluster version (output of kubectl version): 1.28.3
if you run apisix-ingress-controller in Bare-metal environment, also show your OS version (uname -a):
etcd - docker.io/bitnami/etcd:3.4.14-debian-10-r0
Apisix version - apache/apisix:2.15.0-alpine
--
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: notifications-unsubscribe@apisix.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] request help: Not able to hit kubernetes local service using ApisixRoute and ApisixUpstream [apisix-ingress-controller]
Posted by "Revolyssup (via GitHub)" <gi...@apache.org>.
Revolyssup closed issue #2131: request help: Not able to hit kubernetes local service using ApisixRoute and ApisixUpstream
URL: https://github.com/apache/apisix-ingress-controller/issues/2131
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] request help: Not able to hit kubernetes local service using ApisixRoute and ApisixUpstream [apisix-ingress-controller]
Posted by "Revolyssup (via GitHub)" <gi...@apache.org>.
Revolyssup commented on issue #2131:
URL: https://github.com/apache/apisix-ingress-controller/issues/2131#issuecomment-1888459575
This was answered here https://github.com/apache/apisix-ingress-controller/issues/2097#issuecomment-1876453987
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] request help: Not able to hit kubernetes local service using ApisixRoute and ApisixUpstream [apisix-ingress-controller]
Posted by "lakshya8066 (via GitHub)" <gi...@apache.org>.
lakshya8066 commented on issue #2131:
URL: https://github.com/apache/apisix-ingress-controller/issues/2131#issuecomment-1886250568
Are there any other logs?
You can change the log level to `debug` in the config.yaml to get more logs
```
nginx_config:
error_log_level: "debug"
```
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org