kubernetes / ingress-nginx

Ingress NGINX Controller for Kubernetes
https://kubernetes.github.io/ingress-nginx/
Apache License 2.0
17.33k stars 8.22k forks source link

port 8441 which is enabled nginx ingress deployment and service is not accessible when we hit from upstream #9998

Closed arunlakshmananl closed 3 weeks ago

arunlakshmananl commented 1 year ago

What happened:

I enabled the tcp port 8440 in nginx ingress controller deployment and service and try to consume from upstream system using hostname which mapped into ingress load balancer ip. but i am getting connection timed error. Request is not even coming to ingress pods since in ingress pod logs its not showing up

What you expected to happen:

connection should happen fine and request form upstream has to process without any issues

NGINX Ingress controller version (exec into the pod and run nginx-ingress-controller --version.): 1.3.0

Kubernetes version (use kubectl version): 1.24.9

Environment: Prod

How to reproduce this issue: try to add one extra port in ingress controller deployment and svc and try to access pods vai ingress controller using newly added port

k8s-ci-robot commented 1 year ago

This issue is currently awaiting triage.

If Ingress contributors determines this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
longwuyuan commented 1 year ago

/remove-kind bug

longwuyuan commented 1 year ago

/kind support

arunlakshmananl commented 1 year ago
  • nginx-ingress-controller

Please edit your issue description and format it for markdown. It makes it eaasier --> teied but after saving its still the same Helm values does not show the tcp port key:values so how was the tcp port exposure configured --> TCP port configured in nginx ingress deployment and service which is running in default namespace Its not clear if the LB has the tcp port in Azure firewall - yes its configrued Its not clear how you tried to access the port. Copy paste the command and output like curl -v and its response
root@flink-eupgonline-secure-64497f847-gb6gm:/# curl -k http://10.0.128.120:8441 curl: (28) Failed to connect to 10.0.128.120 port 8441: Connection timed out root@flink-eupgonline-secure-64497f847-gb6gm:/#

The version of controller in use seems too old. You might want to the update to the latest supported foe your K8S version and update - earlier i was using 1.0.0 and now i upgraded nginx ingress to v1.3.0 since i am using AKS - 1.24.9 which is supported as well

longwuyuan commented 1 year ago

I think its better if yo ucome discuss this on kubernetes.slack.com because there are less resources for support issues here and there are lots of users and engineers in slack. You can register at slack.k8s.io if required.

/kind support

github-actions[bot] commented 1 year ago

This is stale, but we won't close it automatically, just bare in mind the maintainers may be busy with other tasks and will reach your issue ASAP. If you have any question or request to prioritize this, please reach #ingress-nginx-dev on Kubernetes Slack.

longwuyuan commented 3 weeks ago

TCP/UDP forwarding is being deprecated so there is no action item for the project on this issue.

/close

k8s-ci-robot commented 3 weeks ago

@longwuyuan: Closing this issue.

In response to [this](https://github.com/kubernetes/ingress-nginx/issues/9998#issuecomment-2345846275): >TCP/UDP forwarding is being deprecated so there is no action item for the project on this issue. > >/close Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes-sigs/prow](https://github.com/kubernetes-sigs/prow/issues/new?title=Prow%20issue:) repository.