mirror of
https://github.com/minio/docs.git
synced 2025-07-28 19:42:10 +03:00
Updates for MinIO RELEASE.2023-04-07T05-28-58Z (#823)
- Adds new environment variable for ILM expiration workers - Adds new metrics for locks - Adds keyrotate batch job type - Adds info about batch replicate from remote to local Closes #806 Staged: http://192.241.195.202:9000/staging/minio-2023-04-07/administration/batch-framework.html
This commit is contained in:
@ -40,6 +40,9 @@ The MinIO Batch Framework supports the following job types:
|
||||
* - ``replicate``
|
||||
- Perform a one-time replication procedure from one MinIO location to another MinIO location.
|
||||
|
||||
* - ``keyrotate``
|
||||
- Perform a one-time process to cycle the :ref:`sse-s3 or sse-kms <minio-sse-data-encryption>` cryptographic keys on objects.
|
||||
|
||||
MinIO Batch CLI
|
||||
---------------
|
||||
|
||||
@ -84,10 +87,16 @@ Job Types
|
||||
Replicate
|
||||
~~~~~~~~~
|
||||
|
||||
Use the ``replicate`` job type to create a batch job that replicates objects from the local MinIO deployment to another MinIO location.
|
||||
Use the ``replicate`` job type to create a batch job that replicates objects from one MinIO deployment to another MinIO location.
|
||||
At least one of the deployment locations, either the source or the target, must be ``local``.
|
||||
The definition file can limit the replication by bucket, prefix, and/or filters to only replicate certain objects.
|
||||
|
||||
For example, you can use a batch job to perform a one-time replication sync of objects from ``minio-alpha/invoices/`` to ``minio-baker/invoices``.
|
||||
.. versionchanged:: MinIO RELEASE.2023-04-07T05-28-58Z
|
||||
|
||||
You can replicate from a remote MinIO deployment to the local deployment that runs the batch job.
|
||||
|
||||
For example, you can use a batch job to perform a one-time replication sync to push objects from a bucket on a local deployment at ``minio-local/invoices/`` to a bucket on a remote deployment at ``minio-remote/invoices``.
|
||||
You can also pull objects from the remote deployment at ``minio-remote/invoices`` to the local deployment at ``minio-local/invoices``.
|
||||
|
||||
The advantages of Batch Replication over :mc:`mc mirror` include:
|
||||
|
||||
@ -106,4 +115,22 @@ Sample YAML Description File for a ``replicate`` Job Type
|
||||
Create a basic ``replicate`` job definition file you can edit with :mc:`mc batch generate`.
|
||||
|
||||
.. literalinclude:: /includes/code/replicate.yaml
|
||||
:language: yaml
|
||||
:language: yaml
|
||||
|
||||
Key Rotate
|
||||
~~~~~~~~~~
|
||||
|
||||
.. versionadded:: MinIO RELEASE.2023-04-07T05-28-58Z
|
||||
|
||||
Use the ``keyrotate`` job type to create a batch job that cycles the :ref:`sse-s3 or sse-kms keys <minio-sse-data-encryption>` for encrypted objects.
|
||||
|
||||
The YAML configuration supports filters to restrict key rotation to a specific set of objects by creation date, tags, metadata, or kms key.
|
||||
You can also define retry attempts or set a notification endpoint and token.
|
||||
|
||||
Sample YAML Description File for a ``keyrotate`` Job Type
|
||||
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
|
||||
Create a basic ``keyrotate`` job definition file you can edit with :mc:`mc batch generate`.
|
||||
|
||||
.. literalinclude:: /includes/code/replicate.yaml
|
||||
:language: yaml
|
||||
|
Reference in New Issue
Block a user