Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
69735a1d
Commit
69735a1d
authored
Jan 18, 2018
by
Valery Sizov
Committed by
Nick Thomas
Jan 18, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Docs for [Geo] Docker Registry replication
parent
9ef1d2a7
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
36 additions
and
3 deletions
+36
-3
changelogs/unreleased-ee/docker_registry_geo.yml
changelogs/unreleased-ee/docker_registry_geo.yml
+5
-0
doc/gitlab-geo/README.md
doc/gitlab-geo/README.md
+7
-3
doc/gitlab-geo/docker_registry.md
doc/gitlab-geo/docker_registry.md
+20
-0
doc/gitlab-geo/faq.md
doc/gitlab-geo/faq.md
+4
-0
No files found.
changelogs/unreleased-ee/docker_registry_geo.yml
0 → 100644
View file @
69735a1d
---
title
:
Geo - add documentation about using shared a S3 bucket with GitLab Container Registry
merge_request
:
author
:
type
:
other
doc/gitlab-geo/README.md
View file @
69735a1d
...
@@ -190,14 +190,18 @@ Read through the [Geo High Availability documentation](ha.md).
...
@@ -190,14 +190,18 @@ Read through the [Geo High Availability documentation](ha.md).
When you have object storage enabled, please consult the
When you have object storage enabled, please consult the
[Geo with Object Storage](object_storage.md) documentation.
[Geo with Object Storage](object_storage.md) documentation.
## Replicating the Container Registry
Read how to [replicate the Container Registry](docker_registry.md).
## Current limitations
## Current limitations
- You cannot push code to secondary nodes
- You cannot push code to secondary nodes
- The primary node has to be online for OAuth login to happen (existing
- The primary node has to be online for OAuth login to happen (existing
sessions and Git are not affected)
sessions and Git are not affected)
- It works for repos, wikis, issues, and merge requests
- It works for repos, wikis, issues, and merge requests
- It does not work for job logs, artifacts, Docker images of the Container
- It does not work for job logs, artifacts,
GitLab Pages, and
Docker images of the Container
Registry
, and GitLab Pages
Registry
(by default, but you can configure it separately, see [replicate the Container Registry](docker_registry.md) for details)
- It does not work for attachments uploaded before GitLab 9.0 because they will
- It does not work for attachments uploaded before GitLab 9.0 because they will
not present in the uploads table, until
not present in the uploads table, until
[#29249](https://gitlab.com/gitlab-org/gitlab-ce/issues/29240) is fixed.
[#29249](https://gitlab.com/gitlab-org/gitlab-ce/issues/29240) is fixed.
...
...
doc/gitlab-geo/docker_registry.md
0 → 100644
View file @
69735a1d
# Docker Registry for a secondary node
You can setup a
[
Docker Registry
](
https://docs.docker.com/registry/
)
on your
secondary Geo node that mirrors the one on the primary Geo node.
## Storage support
CAUTION:
**Warning:**
If you use
[
local storage
](
../administration/container_registry.md#container-registry-storage-driver
)
for the Container Registry you
**cannot**
replicate it to the secondary Geo node.
Docker Registry currently supports a few types of storages. If you choose a
distributed storage (
`azure`
,
`gcs`
,
`s3`
,
`swift`
, or
`oss`
) for your Docker
Registry on a primary Geo node, you can use the same storage for a secondary
Docker Registry as well. For more information, read the
[
Load balancing considerations
](
https://docs.docker.com/registry/deploying/#load-balancing-considerations
)
when deploying the Registry, and how to setup the storage driver for GitLab's
integrated
[
Container Registry
](
../administration/container_registry.md#container-registry-storage-driver
)
.
[
ee
]:
https://about.gitlab.com/gitlab-ee/
doc/gitlab-geo/faq.md
View file @
69735a1d
...
@@ -34,3 +34,7 @@ connectivity between your nodes, your hardware, etc.
...
@@ -34,3 +34,7 @@ connectivity between your nodes, your hardware, etc.
We send the clone url from the primary server to any secondaries, so it
We send the clone url from the primary server to any secondaries, so it
doesn't matter. If primary is running on port
`2200`
, clone url will reflect
doesn't matter. If primary is running on port
`2200`
, clone url will reflect
that.
that.
## Is this possible to set up a Docker Registry for a secondary node that mirrors the one on a primary node?
Yes. See
[
Docker Registry for a secondary Geo node
](
docker_registry.md
)
.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment