Commit 2b5b97fb authored by Suzanne Selhorn's avatar Suzanne Selhorn

Merge branch 'patch-192' into 'master'

Minor tweak to Registry migration details

See merge request gitlab-org/gitlab!37045
parents b2c592cd 288b1f18
...@@ -454,7 +454,7 @@ you can pull from the Container Registry, but you cannot push. ...@@ -454,7 +454,7 @@ you can pull from the Container Registry, but you cannot push.
aws s3 sync registry s3://mybucket aws s3 sync registry s3://mybucket
``` ```
1. For the changes to take effect, 1. To perform the final data sync,
[put the Container Registry in `read-only` mode](#performing-garbage-collection-without-downtime) and [put the Container Registry in `read-only` mode](#performing-garbage-collection-without-downtime) and
[reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure). [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
1. Sync any changes since the initial data load to your S3 bucket and delete files that exist in the destination bucket but not in the source: 1. Sync any changes since the initial data load to your S3 bucket and delete files that exist in the destination bucket but not in the source:
...@@ -467,7 +467,7 @@ you can pull from the Container Registry, but you cannot push. ...@@ -467,7 +467,7 @@ you can pull from the Container Registry, but you cannot push.
The `--delete` flag will delete files that exist in the destination but not in the source. The `--delete` flag will delete files that exist in the destination but not in the source.
Make sure not to swap the source and destination, or you will delete all data in the Registry. Make sure not to swap the source and destination, or you will delete all data in the Registry.
1. Configure your registry to use the S3 bucket for storage. 1. Configure your registry to [use the S3 bucket for storage](#use-object-storage).
1. For the changes to take effect, set the Registry back to `read-write` mode and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure). 1. For the changes to take effect, set the Registry back to `read-write` mode and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure).
### Disable redirect for storage driver ### Disable redirect for storage driver
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment