Coder Social home page Coder Social logo

Deprecate `MINIO_SERVER_URL` about minio HOT 8 CLOSED

ravindk89 avatar ravindk89 commented on June 10, 2024
Deprecate `MINIO_SERVER_URL`

from minio.

Comments (8)

allanrogerr avatar allanrogerr commented on June 10, 2024

@ravindk89 The env var MINIO_SERVER_URL is relevant in scenarios where the minio server and minio console are no longer colocated on a mutual localhost. This var enabled the minio console to communicate with the minio server. These scenarios are still functional and documented here: https://min.io/docs/minio/linux/administration/minio-console.html#configuration

If these scenarios were defined as invalid setups, then MINIO_SERVER_URL would no longer have any meaning.

Your thoughts?

from minio.

ravindk89 avatar ravindk89 commented on June 10, 2024

The MinIO Console connects to the MinIO Server using an IP address by default. For example, when the MinIO Server starts up, the server logs include a line API: https://<IP ADDRESS 1> https://<IP ADDRESS 2>. The MinIO Console defaults to connecting using <IP ADDRESS 1>.

So I think at some point this changed, and Console talks to Server w/o consideration of that.

If that is true, and we are no longer bound by issues of Console attempting to talk to Server over some other interface, then I think this doesn't matter anymore?

@harshavardhana we had spoken at least briefly about this, but I do want to be very careful in this. To my knowledge today, Console and Server comms are no longer bound by IP/TLS/Hostname-related barriers as they were when that doc was written

from minio.

allanrogerr avatar allanrogerr commented on June 10, 2024

It also looks like a valid MINIO_SERVER_URL is required to properly format a share URL; and not use private IP e.g. 127.0.0.1. Not sure where this is documented.

from minio.

harshavardhana avatar harshavardhana commented on June 10, 2024

It also looks like a valid MINIO_SERVER_URL is required to properly format a share URL; and not use private IP e.g. 127.0.0.1. Not sure where this is documented.

Not needed anymore

from minio.

allanrogerr avatar allanrogerr commented on June 10, 2024

Backlogged until discussion with wider team.

from minio.

harshavardhana avatar harshavardhana commented on June 10, 2024

minio/console#3319 this is the first PR

from minio.

harshavardhana avatar harshavardhana commented on June 10, 2024

This is mostly complete now; we can stop talking about MINIO_SERVER_URL since the latest release.

from minio.

ravindk89 avatar ravindk89 commented on June 10, 2024

Fantastic @harshavardhana - that's a great relief :)

from minio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.