Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ingress correctly map the path but resolve incorrect Pod IP Address #7582

Closed
yukihonhk opened this issue Sep 2, 2021 · 11 comments
Closed

Ingress correctly map the path but resolve incorrect Pod IP Address #7582

yukihonhk opened this issue Sep 2, 2021 · 11 comments
Assignees
Labels
kind/support Categorizes issue or PR as a support question. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. needs-priority needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.

Comments

@yukihonhk
Copy link

NGINX Ingress controller version: 0.30

Kubernetes version (use kubectl version): AKS 1.21

Environment: PROD

  • Cloud provider or hardware configuration: Azure

  • OS (e.g. from /etc/os-release): Ubuntu 18.04.5

  • Kernel (e.g. uname -a): No resolver when using external auth #51~18.04.1-Ubuntu

  • Install tools:

    • Please mention how/where was clsuter created like kubeadm/kops/minikube/kind etc.
  • Basic cluster related info:

    • kubectl version 1.21
    • kubectl get nodes -o wide
      NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME
      aks-nodepool1-46409549-vmss000000 Ready agent 45d v1.21.1 10.155.130.4 Ubuntu 18.04.5 LTS 5.4.0-1049-azure containerd://1.4.4+azure
      aks-nodepool1-46409549-vmss000001 Ready agent 45d v1.21.1 10.155.130.115 Ubuntu 18.04.5 LTS 5.4.0-1049-azure containerd://1.4.4+azure
      aks-userpool1-46409549-vmss000000 Ready agent 45d v1.21.1 10.155.130.226 Ubuntu 18.04.5 LTS 5.4.0-1049-azure containerd://1.4.4+azure
  • How was the ingress-nginx-controller installed:

    • If helm was used then please show output of helm ls -A

    • NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
      internal-ingress ingress-basic 1 2021-08-23 15:45:01.3973482 +0800 CST deployed ingress-nginx-3.36.0 0.30.0

    • If helm was used then please show output of helm -n <ingresscontrollernamepspace> get values <helmreleasename>
      USER-SUPPLIED VALUES:
      controller:
      admissionWebhooks:
      patch:
      nodeSelector:
      beta.kubernetes.io/os: linux
      nodeSelector:
      beta.kubernetes.io/os: linux
      replicaCount: 2
      service:
      annotations:
      service.beta.kubernetes.io/azure-load-balancer-internal: "true"
      loadBalancerIP: 10.155.131.254
      defaultBackend:
      nodeSelector:
      beta.kubernetes.io/os: linux
      PS C:\windows\system32>

    • If helm was not used, then please explain how the ingress-nginx-controller was installed or copy/paste the command used to install the controller below

    • if you have more than one instance of the ingress-nginx-controller installed in the same cluster, please provide details for all the instances

  • Current State of the controller:

    • kubectl -n <ingresscontrollernamespace> get all -A -o wide
    • kubectl -n <ingresscontrollernamespace> describe po <ingresscontrollerpodname>
    • kubectl -n <ingresscontrollernamespace> describe svc <ingresscontrollerservicename>
  • Current state of ingress object, if applicable:

    • kubectl -n <appnnamespace> get all,ing -o wide
    • kubectl -n <appnamespace> describe ing <ingressname>
    • If applicable, then, your complete and exact curl/grpcurl command (redacted if required) and the reponse to the curl/grpcurl command with the -v flag
  • Others:

    • Any other related information like ;
      • copy/paste of the snippet (if applicable)
      • kubectl describe ... of any custom configmap(s) created and in use
      • Any other related information that may help

What happened:

What you expected to happen:
504 gateway timeout and the Ingress correctly map the path but resolve incorrect Pod IP Address

Ingress correctly map the path but resolve incorrect Pod IP Address
How to reproduce it:
cannot reproduce

Anything else we need to know:

/kind bug

@yukihonhk yukihonhk added the kind/bug Categorizes issue or PR as related to a bug. label Sep 2, 2021
@k8s-ci-robot k8s-ci-robot added the needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. label Sep 2, 2021
@k8s-ci-robot
Copy link
Contributor

@yukihonhk: 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. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@longwuyuan
Copy link
Contributor

/remove-kind bug
/kind support
@yukihonhk please provide the information requested in the template in case you still need someone to analyse the config a and logs related to the problem. ALso suggest please install the latest release of the Ingress-NGINX controller as there are many changes and bug fixes you are missing

@k8s-ci-robot k8s-ci-robot added kind/support Categorizes issue or PR as a support question. and removed kind/bug Categorizes issue or PR as related to a bug. labels Sep 5, 2021
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Dec 4, 2021
@kundan2707
Copy link
Contributor

/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Dec 4, 2021
@kundan2707
Copy link
Contributor

@yukihonhk friendly ping
please provide detail information to work on

@kundan2707
Copy link
Contributor

/assign

@kundan2707
Copy link
Contributor

@yukihonhk if issue does not exits further and everything is fiine then you can close issue

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 6, 2022
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels May 6, 2022
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Reopen this issue or PR with /reopen
  • Mark this issue or PR as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/close

@k8s-ci-robot
Copy link
Contributor

@k8s-triage-robot: Closing this issue.

In response to this:

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Reopen this issue or PR with /reopen
  • Mark this issue or PR as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/support Categorizes issue or PR as a support question. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. needs-priority needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.
Projects
None yet
Development

No branches or pull requests

5 participants