Commit 1cc9e956 authored by Catalin Irimie's avatar Catalin Irimie Committed by Marcel Amirault

Provide k8s-specific docs for disabling Geo secondary proxying

parent 2cb2e671
......@@ -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
......
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