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
Fallback to non-loopback IF addresses for Domain IPs #6918
Conversation
When MINIO_PUBLIC_IPS is not specified and no endpoints are passed as arguments, fallback to the address of non loop-back interfaces. This is useful so users can avoid setting MINIO_PUBLIC_IPS in docker or orchestration scripts, ince users naturally setup an internal network that connects all instances.
Codecov Report
@@ Coverage Diff @@
## master #6918 +/- ##
==========================================
+ Coverage 52.22% 52.24% +0.02%
==========================================
Files 270 270
Lines 42627 42636 +9
==========================================
+ Hits 22260 22275 +15
+ Misses 18399 18395 -4
+ Partials 1968 1966 -2
Continue to review full report at Codecov.
|
Mint Automation
|
This can be done simply by
Should simplify overall reproducing steps. |
When MINIO_PUBLIC_IPS is not specified and no endpoints are passed as arguments, fallback to the address of non loop-back interfaces. This is useful so users can avoid setting MINIO_PUBLIC_IPS in docker or orchestration scripts, ince users naturally setup an internal network that connects all instances.
When MINIO_PUBLIC_IPS is not specified and no endpoints are passed as arguments, fallback to the address of non loop-back interfaces. This is useful so users can avoid setting MINIO_PUBLIC_IPS in docker or orchestration scripts, ince users naturally setup an internal network that connects all instances.
Description
When MINIO_PUBLIC_IPS is not specified and no endpoints are passed
as arguments, fallback to the address of non loop-back interfaces.
This is useful so users can avoid setting MINIO_PUBLIC_IPS in docker
or orchestration scripts, ince users naturally setup an internal
network that connects all instances.
Motivation and Context
Fixes #6862
Regression
No
How Has This Been Tested?
Run the following docker-compose script, also ensure that MINIO_PUBLIC_IPS is not set there,
docker-compose up
Two nodes will be created, setup mc to connect to both nodes, create one bucket on the first node and checks if it can be found in the second node.
Types of changes
Checklist:
mint
PR # here: )