Repository navigation
Support ipv6 for server in ipv6-only kubernetes cluster - #7596
Conversation
|
Reopening PR #7589 |
|
In a dual-stack environment, both |
Do you mean that IPv4 is disabled, or that routing for IPv4 addresses are not assigned? |
IPv4 is disabled at the host level |
eradman
left a comment
There was a problem hiding this comment.
This does solve the problem when running single-stack IPv6
$ host redash.default.svc.mykube.lan
redash.default.svc.mykube.lan has IPv6 address fd00:f4:2::c
Tested on kubernetes using
---
apiVersion: v1
kind: Service
metadata:
name: redash
spec:
clusterIP: None
ports:
- port: 5000
targetPort: 5000
selector:
app: redash
ipFamilyPolicy: SingleStack
ipFamilies:
- IPv6Also confirmed that this is still compatible with IPv4.
Thank you @aldo-airtm!
|
@aldo-airtm please try rebasing this change and pushing agin |
Head branch was pushed to by a user without write access
@eradman Sorry it took a while, it's now rebased |
* master: (69 commits) Update Python version to 3.13 (getredash#7636) Update plotly.js to 3.3.1, react-pivottable to 0.11.0 (getredash#7634) Add charset option to RDS MySQL datasource (getredash#7616) Aggregate y value for same x (getredash#7631) fix(mysql): Change default charset to utf8mb4 (getredash#7615) Update packages for compatibility with setuptools 82 (getredash#7622) Snapshot: 26.02.0-dev chore: support ipv6 for server in docker (getredash#7596) Add impersonation option in trino datasource (getredash#7605) Fix Elasticsearch connector configuration key mismatch (getredash#7607) duckdb: Show catalog (database) where applicable (e.g. Motherduck) (getredash#7599) Snapshot: 26.01.0-dev Feature/catch notsupported exception (getredash#7573) Multi-org: format base path, not including protocol (getredash#7260) fix(destinations): Handle unicode characters in webhook notifications (getredash#7586) Persist updated values and apply saved dashboard parameters (getredash#7570) Add ibm-db package to enable DB2 as datasource: (getredash#7581) Snapshot: 25.12.0-dev PostgreSQL: allow connection parameters to be specified (getredash#7579) Add lineShape option for Line and Area charts (getredash#7582) ...
This reverts commit d2a7d87. IPv6 may be disabled in the kernel.
What type of PR is this?
Description
The listener address is hardcoded to IPv4-only (0.0.0.0) which breaks in an IPv6-only host. gunicorn supports the
[::]host as a dualstack wildcard, so that's what I'm changing here.How is this tested?
Built the docker image locally and started it