Skip to content

charts/redpanda: Add address config to allow listen on ::, instead of 0.0.0.0 - #1788

Open
baryluk wants to merge 1 commit into
redpanda-data:mainfrom
baryluk:wbaryluk/use-ipv6-address
Open

charts/redpanda: Add address config to allow listen on ::, instead of 0.0.0.0#1788
baryluk wants to merge 1 commit into
redpanda-data:mainfrom
baryluk:wbaryluk/use-ipv6-address

Conversation

@baryluk

@baryluk baryluk commented Aug 31, 2026

Copy link
Copy Markdown

In some kubernetes deployments, the in-cluster traffic is only possible using
IPv6, with no in-cluster IPv4 available. Currently redpanda starts, but operator
cannot reach it, nor the brokers can reach each other.

Set to address: "::", to use IPv6

redpanda-data/helm-charts#169

@CLAassistant

CLAassistant commented Aug 31, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@secpanda

secpanda commented Aug 31, 2026

Copy link
Copy Markdown

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@baryluk
baryluk force-pushed the wbaryluk/use-ipv6-address branch from 454dc0f to 281d788 Compare August 31, 2026 16:09
@baryluk

baryluk commented Aug 31, 2026

Copy link
Copy Markdown
Author

Please note that this is still a draftish, as this is not the only way to do it.

  • Option 1. Instead of use_ipv6, remove the use prefix.
  • Option 2. Instead of 0.0.0.0 / ::, allow just specificity address explicitly.
  • Option 3. Put it somewhere else

I did preliminary tests locally of the chart, but some things do fail, in unittests, but I do not know why would they fail.

So would be nice to run with official CI workflow to confirm.

@chrisseto

Copy link
Copy Markdown
Contributor

My vote is for:

Option 2. Instead of 0.0.0.0 / ::, allow just specificity address explicitly.

Slap Address *string json:"address,omitempty" onto ListenerConfig and ExternalListener and default it to 0.0.0.0 if not specified.

@baryluk
baryluk force-pushed the wbaryluk/use-ipv6-address branch from 281d788 to 2a146a9 Compare September 1, 2026 09:50
@baryluk baryluk changed the title charts/redpanda: Add use_ipv6 to listen on ::, instead of 0.0.0.0 charts/redpanda: Add listenAddress to allow listen on ::, instead of 0.0.0.0 Sep 1, 2026
@baryluk

baryluk commented Sep 1, 2026

Copy link
Copy Markdown
Author

My vote is for:

Option 2. Instead of 0.0.0.0 / ::, allow just specificity address explicitly.

Slap Address *string json:"address,omitempty" onto ListenerConfig and ExternalListener and default it to 0.0.0.0 if not specified.

Done. used ListenAddress *string json:"listenAddress,omitempty", to be fully clear.

@baryluk
baryluk force-pushed the wbaryluk/use-ipv6-address branch from 2a146a9 to 3dcc386 Compare September 1, 2026 09:53
@baryluk
baryluk marked this pull request as ready for review September 1, 2026 09:55
@chrisseto

Copy link
Copy Markdown
Contributor

Done. used ListenAddress *string json:"listenAddress,omitempty", to be fully clear.

Sorry to nit pick but please stick with Address. ListenAddress is redundant with the parent struct's name (Listeners / ListenerConfig). It also clashes as Port is not ListenPort.

For additional clarity you can add a null value to values.yaml and document the purpose of the field.

@baryluk baryluk changed the title charts/redpanda: Add listenAddress to allow listen on ::, instead of 0.0.0.0 charts/redpanda: Add address config to allow listen on ::, instead of 0.0.0.0 Sep 1, 2026
@baryluk
baryluk force-pushed the wbaryluk/use-ipv6-address branch from 3dcc386 to 5b79234 Compare September 1, 2026 14:19
@baryluk

baryluk commented Sep 1, 2026

Copy link
Copy Markdown
Author

Done. used ListenAddress *string json:"listenAddress,omitempty", to be fully clear.

Sorry to nit pick but please stick with Address. ListenAddress is redundant with the parent struct's name (Listeners / ListenerConfig). It also clashes as Port is not ListenPort.

Fair enough. Done.

For additional clarity you can add a null value to values.yaml and document the purpose of the field.

Done.

Also included the .changes/unreleased/charts-redpanda-Added-20260901-142100.yaml

@baryluk
baryluk force-pushed the wbaryluk/use-ipv6-address branch from 5b79234 to e2440b8 Compare September 1, 2026 14:26
In some kubernetes deployments, the in-cluster traffic is only possible using
IPv6, with no in-cluster IPv4 available. Currently redpanda starts, but operator
cannot reach it, nor the brokers can reach each other.

Set to `address: "::"`, to use IPv6

redpanda-data/helm-charts#169
@baryluk
baryluk force-pushed the wbaryluk/use-ipv6-address branch from e2440b8 to 4979629 Compare September 1, 2026 14:29
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

Successfully merging this pull request may close these issues.

4 participants