gitlab-org--gitlab-foss/doc/administration/geo/replication/usage.md

1.1 KiB

stage group info type
Enablement Geo To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments howto

Using a Geo Site (PREMIUM SELF)

After you set up the database replication and configure the Geo nodes, use your closest GitLab site as you would do with the primary one.

You can push directly to a secondary site (for both HTTP, SSH including Git LFS), and the request will be proxied to the primary site instead (introduced in GitLab Premium 11.3).

Example of the output you will see when pushing to a secondary site:

$ git push
remote:
remote: This request to a Geo secondary node will be forwarded to the
remote: Geo primary node:
remote:
remote:   ssh://git@primary.geo/user/repo.git
remote:
Everything up-to-date