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
1cc9e956
Commit
1cc9e956
authored
Dec 03, 2021
by
Catalin Irimie
Committed by
Marcel Amirault
Dec 03, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Provide k8s-specific docs for disabling Geo secondary proxying
parent
2cb2e671
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletion
+15
-1
doc/administration/geo/secondary_proxy/index.md
doc/administration/geo/secondary_proxy/index.md
+15
-1
No files found.
doc/administration/geo/secondary_proxy/index.md
View file @
1cc9e956
...
...
@@ -71,7 +71,7 @@ a single URL used by all Geo sites, including the primary.
## Disable Geo proxying
You can disable the secondary proxying on each Geo site, separately, by following these steps:
You can disable the secondary proxying on each Geo site, separately, by following these steps
with Omnibus-based packages
:
1.
SSH into each application node (serving user traffic directly) on your secondary Geo site
and add the following environment variable:
...
...
@@ -92,6 +92,16 @@ You can disable the secondary proxying on each Geo site, separately, by followin
gitlab-ctl reconfigure
```
In Kubernetes, you can use
`--set gitlab.webservice.extraEnv.GEO_SECONDARY_PROXY="0"`
,
or specify the following in your values file:
```
yaml
gitlab
:
webservice
:
extraEnv
:
GEO_SECONDARY_PROXY
:
"
0"
```
## Enable Geo proxying with Separate URLs
The ability to use proxying with separate URLs is still in development. You can follow the
...
...
@@ -105,6 +115,10 @@ SSH into one node running Rails on your primary Geo site and run:
sudo
gitlab-rails runner
"Feature.enable(:geo_secondary_proxy_separate_urls)"
```
In Kubernetes, you can run the same command in the toolbox pod. Refer to the
[
Kubernetes cheat sheet
](
../../troubleshooting/kubernetes_cheat_sheet.md#gitlab-specific-kubernetes-information
)
for details.
## Limitations
The asynchronous Geo replication can cause unexpected issues when secondary proxying is used, for accelerated
...
...
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