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

[bitnami/mariadb-galera] Use the headless service as the gcomm address? #30673

Open
migs35323 opened this issue Nov 28, 2024 · 0 comments
Open

Comments

@migs35323
Copy link

Name and Version

bitnami/mariadb-galera

What is the problem this feature will solve?

When you create the galera cluster it will have a gcomm address hardcoded to the replicas at the deployment time.
when you add more replicas ou scale down, this address will be static.

What is the feature you are proposing to solve the problem?

i wanted to suggest for the gcomm address to be changed to the headless service, instead of hard-coding every replica (at the install) in the env ,
not sure if this is recommended, i'd like to hear some thoughts

in some installs i had changed to "gcomm://mariadb-galera-headless.namespace.svc.cluster.local"
querying the address return every instance and the galeras seem to work a little better when scaling up and down

I have no name!@mariadb-galera-0:/$ getent hosts mariadb-galera-headless.namespace.svc.cluster.local

10.42.2.121     mariadb-galera-headless.namespace.svc.cluster.local
10.42.3.251     mariadb-galera-headless.namespace.svc.cluster.local
10.42.1.18      mariadb-galera-headless.namespace.svc.cluster.local

What alternatives have you considered?

No response

@github-actions github-actions bot added the triage Triage is needed label Nov 28, 2024
@javsalgar javsalgar changed the title mariadb galera, use the headless service as the gcomm address? [bitnami/mariadb-galera] Use the headless service as the gcomm address? Nov 29, 2024
@github-actions github-actions bot removed the triage Triage is needed label Nov 29, 2024
@github-actions github-actions bot assigned jotamartos and unassigned javsalgar Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants