Skip to content

Allow custom bind address for memberlist#2121

Merged
fedepaol merged 1 commit intometallb:mainfrom
Rablet:custom-bindaddr
Oct 16, 2023
Merged

Allow custom bind address for memberlist#2121
fedepaol merged 1 commit intometallb:mainfrom
Rablet:custom-bindaddr

Conversation

@Rablet
Copy link
Contributor

@Rablet Rablet commented Oct 15, 2023

The bind address for memberlist is currently always set to the pod's IP address:
- name: METALLB_ML_BIND_ADDR valueFrom: fieldRef: fieldPath: status.podIP
This PR allows this to be customised.

In my scenario I wanted it to listen to a different address as the speaker pods were connecting to each other via a VIP which didn't work unless I changed the bind address.

The current behaviour is kept as the default behaviour, but it can be overridden using the new speaker.memberlist.mlBindAddrOverride configuration in values.yaml.

@fedepaol
Copy link
Member

@Rablet need to update the helm docs, please run inv helm-docs and repush (and squash the commits, please!)
Thanks!

Signed-off-by: Robin <hi@rablet.dev>
@Rablet
Copy link
Contributor Author

Rablet commented Oct 16, 2023

I believe I have done this now - please let me know if this is not the case!

@fedepaol
Copy link
Member

thanks!

@fedepaol fedepaol enabled auto-merge October 16, 2023 11:37
@fedepaol fedepaol added this pull request to the merge queue Oct 16, 2023
Merged via the queue into metallb:main with commit ac85098 Oct 16, 2023
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.

2 participants