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
a02b4ff3
Commit
a02b4ff3
authored
Oct 07, 2021
by
Anton Smith
Committed by
Marcel Amirault
Oct 07, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add external_url config to Sidekiq nodes
parent
c4361eec
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
38 additions
and
5 deletions
+38
-5
doc/administration/reference_architectures/10k_users.md
doc/administration/reference_architectures/10k_users.md
+5
-1
doc/administration/reference_architectures/25k_users.md
doc/administration/reference_architectures/25k_users.md
+5
-1
doc/administration/reference_architectures/3k_users.md
doc/administration/reference_architectures/3k_users.md
+5
-1
doc/administration/reference_architectures/50k_users.md
doc/administration/reference_architectures/50k_users.md
+5
-1
doc/administration/reference_architectures/5k_users.md
doc/administration/reference_architectures/5k_users.md
+5
-1
doc/administration/sidekiq.md
doc/administration/sidekiq.md
+13
-0
No files found.
doc/administration/reference_architectures/10k_users.md
View file @
a02b4ff3
...
...
@@ -1604,7 +1604,7 @@ To configure the Sidekiq nodes, on each one:
1.
[
Download and install
](
https://about.gitlab.com/install/
)
the Omnibus GitLab
package of your choice. Be sure to follow _only_ installation steps 1 and 2
on the page.
1.
Open
`/etc/gitlab/gitlab.rb`
with your editor
:
1.
Create or edit
`/etc/gitlab/gitlab.rb`
and use the following configuration
:
```
ruby
# Avoid running unnecessary services on the Sidekiq server
...
...
@@ -1619,6 +1619,10 @@ To configure the Sidekiq nodes, on each one:
gitlab_exporter
[
'enable'
]
=
false
nginx
[
'enable'
]
=
false
# External URL
## This should match the URL of the external load balancer
external_url
'https://gitlab.example.com'
# Redis
## Redis connection details
## First cluster that will host the cache
...
...
doc/administration/reference_architectures/25k_users.md
View file @
a02b4ff3
...
...
@@ -1610,7 +1610,7 @@ To configure the Sidekiq nodes, on each one:
1.
[
Download and install
](
https://about.gitlab.com/install/
)
the Omnibus GitLab
package of your choice. Be sure to follow _only_ installation steps 1 and 2
on the page.
1.
Open
`/etc/gitlab/gitlab.rb`
with your editor
:
1.
Create or edit
`/etc/gitlab/gitlab.rb`
and use the following configuration
:
```
ruby
# Avoid running unnecessary services on the Sidekiq server
...
...
@@ -1625,6 +1625,10 @@ To configure the Sidekiq nodes, on each one:
gitlab_exporter
[
'enable'
]
=
false
nginx
[
'enable'
]
=
false
# External URL
## This should match the URL of the external load balancer
external_url
'https://gitlab.example.com'
# Redis
## Redis connection details
## First cluster that will host the cache
...
...
doc/administration/reference_architectures/3k_users.md
View file @
a02b4ff3
...
...
@@ -1565,7 +1565,7 @@ To configure the Sidekiq nodes, one each one:
1.
[
Download and install
](
https://about.gitlab.com/install/
)
the Omnibus GitLab
package of your choice. Be sure to follow _only_ installation steps 1 and 2
on the page.
1.
Open
`/etc/gitlab/gitlab.rb`
with your editor
:
1.
Create or edit
`/etc/gitlab/gitlab.rb`
and use the following configuration
:
```
ruby
# Avoid running unnecessary services on the Sidekiq server
...
...
@@ -1580,6 +1580,10 @@ To configure the Sidekiq nodes, one each one:
gitlab_exporter
[
'enable'
]
=
false
nginx
[
'enable'
]
=
false
# External URL
## This should match the URL of the external load balancer
external_url
'https://gitlab.example.com'
# Redis
redis
[
'master_name'
]
=
'gitlab-redis'
...
...
doc/administration/reference_architectures/50k_users.md
View file @
a02b4ff3
...
...
@@ -1617,7 +1617,7 @@ To configure the Sidekiq nodes, on each one:
1.
[
Download and install
](
https://about.gitlab.com/install/
)
the Omnibus GitLab
package of your choice. Be sure to follow _only_ installation steps 1 and 2
on the page.
1.
Open
`/etc/gitlab/gitlab.rb`
with your editor
:
1.
Create or edit
`/etc/gitlab/gitlab.rb`
and use the following configuration
:
```
ruby
# Avoid running unnecessary services on the Sidekiq server
...
...
@@ -1632,6 +1632,10 @@ To configure the Sidekiq nodes, on each one:
gitlab_exporter
[
'enable'
]
=
false
nginx
[
'enable'
]
=
false
# External URL
## This should match the URL of the external load balancer
external_url
'https://gitlab.example.com'
# Redis
## Redis connection details
## First cluster that will host the cache
...
...
doc/administration/reference_architectures/5k_users.md
View file @
a02b4ff3
...
...
@@ -1555,7 +1555,7 @@ To configure the Sidekiq nodes, one each one:
1.
[
Download and install
](
https://about.gitlab.com/install/
)
the Omnibus GitLab
package of your choice. Be sure to follow _only_ installation steps 1 and 2
on the page.
1.
Open
`/etc/gitlab/gitlab.rb`
with your editor
:
1.
Create or edit
`/etc/gitlab/gitlab.rb`
and use the following configuration
:
```
ruby
# Avoid running unnecessary services on the Sidekiq server
...
...
@@ -1570,6 +1570,10 @@ To configure the Sidekiq nodes, one each one:
gitlab_exporter
[
'enable'
]
=
false
nginx
[
'enable'
]
=
false
# External URL
## This should match the URL of the external load balancer
external_url
'https://gitlab.example.com'
# Redis
## Must be the same in every sentinel node
redis
[
'master_name'
]
=
'gitlab-redis'
...
...
doc/administration/sidekiq.md
View file @
a02b4ff3
...
...
@@ -104,6 +104,16 @@ you want using steps 1 and 2 from the GitLab downloads page.
You must also copy the
`registry.key`
file to each Sidekiq node.
1.
Define the
`external_url`
. To maintain uniformity of links across nodes, the
`external_url`
on the Sidekiq server should point to the external URL that users
will use to access GitLab. This will either be the
`external_url`
set on your
application server or the URL of a external load balancer which will route traffic
to the GitLab application server:
```
ruby
external_url
'https://gitlab.example.com'
```
1.
Run
`gitlab-ctl reconfigure`
.
You will need to restart the Sidekiq nodes after an update has occurred and database
...
...
@@ -194,6 +204,9 @@ gitlab_rails['monitoring_whitelist'] = ['10.10.1.42', '127.0.0.1']
# Container Registry URL for cleanup jobs
registry_external_url
'https://registry.example.com'
gitlab_rails
[
'registry_api_url'
]
=
"https://registry.example.com"
# External URL (this should match the URL used to access your GitLab instance)
external_url
'https://gitlab.example.com'
```
## Further reading
...
...
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