-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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/clickhouse] Fix: bind ipv6 and ipv4 by default #31200
base: main
Are you sure you want to change the base?
Conversation
34d62e9
to
af80ed4
Compare
This comment was marked as resolved.
This comment was marked as resolved.
I just accepted the invitation on behalf of @bitnami-bot and the job is running again. If everything is ok, a new commit should be added authored by the bot |
It seems there is still something wrong with the permission:
|
8606f09
to
af80ed4
Compare
hello I manage to fix the probleme by running the CI localy and push the change. |
The 403 error is still happening. Please check if the @bitnami-bot user appears as collaborator in your repository https://github.com/JulesdeCube/bitnami-charts and you don't have protection rule set for this branch |
5da4b15
to
7781421
Compare
This comment was marked as resolved.
This comment was marked as resolved.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @JulesdeCube
The 403 error was in our side, the invitation was not managed properly.
About your changes I think we should keep IPv4 by default. If we enable IPV6 by default, the containers won't start properly in those systems without IPv6 support. Users who need IPv6 could enable it changing the value defaultConfigurationOverrides
, setting the value extraOverrides
or adding -- --listen_host=::
to the args
value
bf8aa9c
to
b58c53a
Compare
Hello, I add I also properly test the new solution on a ipv4 only server. But still have some error on the CI:
|
Enable NOTE: The CI error was caused by a problem in our configuration. It is now working. |
75a2994
to
afd982a
Compare
I remove But i think that native ipv4 and ipv6 support must be the default behavior. Moreover this work on only ipv4 only stack |
8ff1ed4
to
58a437c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then please bump the chart version and fix the conflicts. I'll keep an eye on this to merge it
b5f5824
to
758589b
Compare
hello, I was wondering what is blocking this pr to be merge ? |
Modify `defaultConfigurationOverrides` to listen on ipv4 and ipv6 and replace the default launch args of the `setup.sh` to accept args Signed-off-by: Jules Lefebvre <[email protected]>
Increase clickhouse version number from 7.1.5 to 7.2.0 Signed-off-by: Jules Lefebvre <[email protected]>
85e615f
to
82c1069
Compare
Signed-off-by: Bitnami Containers <[email protected]>
Note
This PR is re-open of #31168 (see #31168 (comment))
Motivation
The current clickhouse helm chart don't support ipv6 only cluster.
Context
By default clickhouse bind localhost on ipv4 and ipv6 (see https://github.com/ClickHouse/ClickHouse/blob/master/programs/server/config.xml#L253).
The bitnami container override this behaviors and bind to any ipv4 by passing
-- --listen_host=0.0.0.0
toclickhouse-server
via theCMD
(see https://github.com/bitnami/containers/blob/main/bitnami/clickhouse/24/debian-12/Dockerfile#L60).this is easily override to listen on ivp6 by changing the container command to
/opt/bitnami/scripts/clickhouse/run.sh -- --listen_host="::"
.The helm chart use an hard coded script as it's entry with no possibility to pass/override argument to
clickhouse-server
. (see https://github.com/bitnami/charts/blob/main/bitnami/clickhouse/templates/scripts-configmap.yaml)Description of the change
this PR:
clickhouse-server
arguments.clickhouse-server
arguments.defaultConfigurationOverrides
to listen on ipv4 and ipv6Benefits
Add Support for ipv6 only cluster
Possible drawbacks
It's harder to change
listen_host
in the xml config file.Applicable issues
related with OneUptime/oneuptime#1348
Additional information
Checklist
Chart.yaml
according to semver. This is not necessary when the changes only affect README.md files.README.md
using readme-generator-for-helm