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 SVCs not supported (missing [ ]) #991

Closed
Frankkkkk opened this issue Jun 11, 2020 · 11 comments
Closed

IPv6 SVCs not supported (missing [ ]) #991

Frankkkkk opened this issue Jun 11, 2020 · 11 comments
Labels
enhancement Pull requests for new features/feature enhancements proposal An issue that proposes a feature request

Comments

@Frankkkkk
Copy link

Frankkkkk commented Jun 11, 2020

Describe the bug on IPv6 kubernetes clusters (and thus SVCs with IPv6 addresses), the nginx configuration for the ingress is wrongly generated and thus doesn't work

To Reproduce Steps to reproduce the behavior:

Get an IPv6 only kubernetes cluster. And create an ingress pointing to a IPv6 svc. For example: $ kl get svc NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE kubernetes ClusterIP 2001:1600:aaa:bbb:ffff::1 <none> 443/TCP 3d4h

Then create a simple ingress: yaml apiVersion: networking.k8s.io/v1beta1 kind: Ingress metadata: name: test spec: rules: - host: foo.bar.com http: paths: - path: / backend: serviceName: kubernetes servicePort: 443

This generates a wrong nginx configuration ``` upstream default-simple-fanout-example-foo.bar.com-kubernetes-443 { --- snip --- server 2001:1600 max_fails=1 fail_timeout=10s max_conns=0;
}

**Expected behavior** The IPv6 should not be truncated and enclosed in brackets: server [2001:1600:aaa:bbb:ffff::1] max_fails=1 fail_timeout=10s max_conns=0;
```

Your environment * Version of the Ingress Controller: GitCommit=7d341058 * Version of Kubernetes: v1.17.6 * Using NGINX or NGINX Plus: NGINX

Aha! Link: https://nginx.aha.io/features/IC-104

@pleshakov
Copy link
Contributor

Hi @Frankkkkk

We don't support IPv6 in the Ingress Controller, unfortunately. I can't share any ETA.

I suggest leaving this issue open. We'll use it to track this feature.

@pleshakov pleshakov added the proposal An issue that proposes a feature request label Jun 11, 2020
@github-actions
Copy link

github-actions bot commented Mar 9, 2021

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the stale Pull requests/issues with no activity label Mar 9, 2021
@Frankkkkk
Copy link
Author

Still present :-)

@github-actions github-actions bot removed the stale Pull requests/issues with no activity label Mar 10, 2021
@github-actions
Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the stale Pull requests/issues with no activity label May 10, 2021
@Frankkkkk
Copy link
Author

Still present :-)

@github-actions github-actions bot removed the stale Pull requests/issues with no activity label May 11, 2021
@brianehlert brianehlert added the enhancement Pull requests for new features/feature enhancements label Jul 2, 2021
@github-actions
Copy link

github-actions bot commented Sep 1, 2021

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the stale Pull requests/issues with no activity label Sep 1, 2021
@Frankkkkk
Copy link
Author

/unstale

@brianehlert brianehlert removed the stale Pull requests/issues with no activity label Sep 1, 2021
@brianehlert
Copy link
Collaborator

Thanks @Frankkkkk. IPv6 support is something I have added to our roadmap.

@centromere
Copy link
Contributor

Hi @brianehlert. Is this still on the road map now that #2361 is available?

@brianehlert
Copy link
Collaborator

PR 2361 is not yet available in Main, therefore it is still on the roadmap ;-)
It does address this particular bug.

@lucacome
Copy link
Member

Fixed in #2576

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Pull requests for new features/feature enhancements proposal An issue that proposes a feature request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants