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

Ipv6 issue with NGINX Ingress Controller 1.7.0 #1682

Closed
etavene opened this issue Jun 18, 2021 · 3 comments
Closed

Ipv6 issue with NGINX Ingress Controller 1.7.0 #1682

etavene opened this issue Jun 18, 2021 · 3 comments

Comments

@etavene
Copy link

etavene commented Jun 18, 2021

Describe the bug
The nginx ingress functionality is not working as expected with ipv6 only k8 cluster. The issue is intermittent, some times in a fresh deployment nginx is responding to any http/https queries but in other deployments the same config doesnt respond. Is ipv6 fully supported with nginx? Any inputs are appreciated. Where as in a ipv4 only setup's, we dont see any errors any time with respect to nginx.

To Reproduce
Steps to reproduce the behavior:

In a non working scenario, the request is getting forward to nginx, but some how the conection are reset. But in other deployments the same config working is fine sometimes. Not able to find the reason for this inconsistent behaviour.

curl -6 -k -v https://testserver.com either not responding or getting connection refused errors.

image

note: The nginx ingress pod IP ends with 1e8c
host Ip is 1212:60

Expected behavior
consistent behaviour with ipv6

Your environment

  • Version of the Ingress Controller - release version or a specific commit

  • nginx version: nginx/1.17.10
    built by gcc 8.3.0 (Debian 8.3.0-6)
    built with OpenSSL 1.1.1d 10 Sep 2019
    TLS SNI support enabled

  • Version of Kubernetes
    Client Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.3"

  • Kubernetes platform -kubespray

  • Using NGINX
    Nginx image verison - nginx/nginx-ingress:1.7.0

My virtual server config is

apiVersion: k8s.nginx.org/v1
kind: VirtualServer
metadata:
name: web-app-vs
annotations:
nginx.org/rewrites: "rewrite=/"
spec:
host: testserver.com
tls:
secret: server-secret
redirect:
enable: true
code: 301
basedOn: scheme
upstreams:

  • name: web-app
    service: web-app-svc
    port: 80
    routes:
  • path: /
    action:
    pass: web-app

The nginx-ingress is running as a daemon-set in a single node, using hostports 80 and 443

@github-actions
Copy link

Hi @etavene thanks for reporting!

Be sure to check out the docs while you wait for a human to take a look at this 🙂

Cheers!

@etavene etavene changed the title Ipv6 issue with nginx 1.7 Ipv6 issue with NGINX Ingress Controller 1.7.0 Jun 18, 2021
@pleshakov
Copy link
Contributor

Hi @etavene

Unfortunately, while NGINX support ipv6, the Ingress Controller doesn't support it yet - the IC doesn't configure NGINX with proper ipv6 configuration. Here is an issue to track the status of the feature -- #991

@tomasohaodha
Copy link
Contributor

Closing this issue as we have another one tracking same #991.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants