MinIO SERVER RELEASE.2024-01-05T22-17-24Z - added new metrics to github.com/minio/minio for later sync MinIO SERVER RELEASE.2024-01-28T22-35-53Z - MinIO preallocates memory, mc update compresses binary in transit MinIO SERVER RELEASE.2024-02-06T21-36-22Z - MinIO adds condition key for restricting STS AssumeRoleWithWebIdentity duration at policy level Closes #1124 , Partially addresses #1116 Partially Addresses #1105 --------- Co-authored-by: Daryl White <53910321+djwfyi@users.noreply.github.com>
2.9 KiB
mc admin update
minio
Table of Contents
mc admin update
Description
The mc admin update
command updates all MinIO servers
in the deployment. The command also supports using a private mirror
server for environments where the deployment does not have public
internet access.
After running the command, a prompt displays to confirm the update.
Type y
and [ENTER]
to confirm and proceed with
the update. You may need to use sudo
if your user does not
have write permissions for the path where mc
is
installed.
Use mc admin
on MinIO Deployments Only
Considerations
Updates are Non-Disruptive
mc admin update
updates the binary and restarts all MinIO servers in the deployment
simultaneously. MinIO operations are atomic and strictly consistent and
as such the restart process is non-disruptive to applications.
MinIO strongly recommends only performing simultaneous upgrade-and-restart procedures. Do not perform "rolling" (that is, one node at a time) upgrade procedures.
Examples
Use mc admin update
to update each minio
server process in the
MinIO deployment:
mc admin update ALIAS
Replace ALIAS <mc admin update ALIAS>
with the alias <mc alias>
of
the MinIO deployment.
After running the command, answer yes to the prompt to confirm and process the update.
Syntax
mc admin update
has the following syntax:
mc admin update ALIAS \
[MIRROR_URL] \
[--yes]
mc admin update
supports the following arguments:
ALIAS
The alias <mc alias>
of the MinIO deployment to
update.
If the specified ALIAS
corresponds to a distributed
MinIO deployment, mc admin update
updates all MinIO servers
in the deployment at the same time.
Use mc alias list
to
review the configured aliases and their corresponding MinIO deployment
endpoints.
MIRROR_URL
The mirror URL of the minio
server binary to use for
updating MinIO servers in the ~mc admin update ALIAS
deployment.
--yes, -y
Pass this flag to confirm the update and bypass the confirmation prompt.
Behavior
Binary Compression
RELEASE.2024-01-28T22-35-53Z
mc admin update
compresses the binary before sending to all nodes in the deployment.
This feature does not apply to systemctl managed deployments <minio-upgrade-systemctl>
.