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
b4b783e6
Commit
b4b783e6
authored
Aug 01, 2020
by
Craig Norris
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added direction to obtain gitlab-secrets.json from Consul
parent
3d1bf7a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
56 additions
and
0 deletions
+56
-0
doc/administration/reference_architectures/10k_users.md
doc/administration/reference_architectures/10k_users.md
+56
-0
No files found.
doc/administration/reference_architectures/10k_users.md
View file @
b4b783e6
...
...
@@ -227,6 +227,11 @@ The following IPs will be used as an example:
-
`10.6.0.12`
: Consul 2
-
`10.6.0.13`
: Consul 3
NOTE:
**Note:**
The configuration processes for the other servers in your reference architecture will
use the
`/etc/gitlab/gitlab-secrets.json`
file from your Consul server to connect
with the other servers.
To configure Consul:
1.
SSH into the server that will host Consul.
...
...
@@ -410,6 +415,10 @@ in the second step, do not supply the `EXTERNAL_URL` value.
# END user configuration
```
1.
Copy the
`/etc/gitlab/gitlab-secrets.json`
file from your Consul server, and replace
the file of the same name on this server. If that file is not on this server,
add the file from your Consul server to this server.
1.
[
Reconfigure GitLab
](
../restart_gitlab.md#omnibus-gitlab-reconfigure
)
for the changes to take effect.
<div
align=
"right"
>
...
...
@@ -471,6 +480,10 @@ in the second step, do not supply the `EXTERNAL_URL` value.
}
```
1.
Copy the
`/etc/gitlab/gitlab-secrets.json`
file from your Consul server, and replace
the file of the same name on this server. If that file is not on this server,
add the file from your Consul server to this server.
1.
[
Reconfigure GitLab
](
../restart_gitlab.md#omnibus-gitlab-reconfigure
)
for the changes to take effect.
Advanced
[
configuration options
](
https://docs.gitlab.com/omnibus/settings/database.html
)
...
...
@@ -627,6 +640,10 @@ The following IPs will be used as an example:
node_exporter
[
'listen_address'
]
=
'0.0.0.0:9100'
```
1.
Copy the
`/etc/gitlab/gitlab-secrets.json`
file from your Consul server, and replace
the file of the same name on this server. If that file is not on this server,
add the file from your Consul server to this server.
1.
[
Reconfigure Omnibus GitLab
](
../restart_gitlab.md#omnibus-gitlab-reconfigure
)
for the changes to take effect.
NOTE:
**Note:**
...
...
@@ -829,6 +846,10 @@ reconfigure a node and change its status from primary to replica and vice versa.
gitlab_rails
[
'auto_migrate'
]
=
false
```
1.
Copy the
`/etc/gitlab/gitlab-secrets.json`
file from your Consul server, and replace
the file of the same name on this server. If that file is not on this server,
add the file from your Consul server to this server.
1.
[
Reconfigure Omnibus GitLab
](
../restart_gitlab.md#omnibus-gitlab-reconfigure
)
for the changes to take effect.
NOTE:
**Note:**
...
...
@@ -889,6 +910,10 @@ Read more about [roles](https://docs.gitlab.com/omnibus/roles/).
gitlab_rails
[
'auto_migrate'
]
=
false
```
1.
Copy the
`/etc/gitlab/gitlab-secrets.json`
file from your Consul server, and replace
the file of the same name on this server. If that file is not on this server,
add the file from your Consul server to this server.
1.
[
Reconfigure Omnibus GitLab
](
../restart_gitlab.md#omnibus-gitlab-reconfigure
)
for the changes to take effect.
1.
Go through the steps again for all the other replica nodes, and
make sure to set up the IPs correctly.
...
...
@@ -1022,6 +1047,10 @@ To configure the Sentinel Cache server:
gitlab_rails
[
'auto_migrate'
]
=
false
```
1.
Copy the
`/etc/gitlab/gitlab-secrets.json`
file from your Consul server, and replace
the file of the same name on this server. If that file is not on this server,
add the file from your Consul server to this server.
1.
[
Reconfigure Omnibus GitLab
](
../restart_gitlab.md#omnibus-gitlab-reconfigure
)
for the changes to take effect.
1.
Go through the steps again for all the other Consul/Sentinel nodes, and
make sure you set up the correct IPs.
...
...
@@ -1092,6 +1121,10 @@ reconfigure a node and change its status from primary to replica and vice versa.
gitlab_rails
[
'auto_migrate'
]
=
false
```
1.
Copy the
`/etc/gitlab/gitlab-secrets.json`
file from your Consul server, and replace
the file of the same name on this server. If that file is not on this server,
add the file from your Consul server to this server.
1.
[
Reconfigure Omnibus GitLab
](
../restart_gitlab.md#omnibus-gitlab-reconfigure
)
for the changes to take effect.
NOTE:
**Note:**
...
...
@@ -1152,6 +1185,10 @@ Read more about [roles](https://docs.gitlab.com/omnibus/roles/).
gitlab_rails
[
'auto_migrate'
]
=
false
```
1.
Copy the
`/etc/gitlab/gitlab-secrets.json`
file from your Consul server, and replace
the file of the same name on this server. If that file is not on this server,
add the file from your Consul server to this server.
1.
[
Reconfigure Omnibus GitLab
](
../restart_gitlab.md#omnibus-gitlab-reconfigure
)
for the changes to take effect.
1.
Go through the steps again for all the other replica nodes, and
make sure to set up the IPs correctly.
...
...
@@ -1293,6 +1330,10 @@ To configure the Sentinel Queues server:
Only the primary GitLab application server should handle migrations.
1.
Copy the
`/etc/gitlab/gitlab-secrets.json`
file from your Consul server, and replace
the file of the same name on this server. If that file is not on this server,
add the file from your Consul server to this server.
1.
[
Reconfigure Omnibus GitLab
](
../restart_gitlab.md#omnibus-gitlab-reconfigure
)
for the changes to take effect.
1.
Go through the steps again for all the other Sentinel nodes, and
make sure you set up the correct IPs.
...
...
@@ -1438,6 +1479,10 @@ On each node:
https://gitlab.com/gitlab-org/charts/gitlab/blob/master/doc/advanced/external-gitaly/external-omnibus-gitaly.md#configure-omnibus-gitlab
-->
1.
Copy the
`/etc/gitlab/gitlab-secrets.json`
file from your Consul server, and replace
the file of the same name on this server. If that file is not on this server,
add the file from your Consul server to this server.
1.
Save the file and
[
reconfigure GitLab
](
../restart_gitlab.md#omnibus-gitlab-reconfigure
)
.
### Gitaly TLS support
...
...
@@ -1498,6 +1543,7 @@ To configure Gitaly with TLS:
```
1.
Delete
`gitaly['listen_addr']`
to allow only encrypted connections.
1.
Save the file and
[
reconfigure GitLab
](
../restart_gitlab.md#omnibus-gitlab-reconfigure
)
.
<div
align=
"right"
>
...
...
@@ -1653,6 +1699,11 @@ On each node perform the following:
1.
Download/install Omnibus GitLab using
**steps 1 and 2**
from
[
GitLab downloads
](
https://about.gitlab.com/install/
)
. Do not complete other
steps on the download page.
1.
Copy the
`/etc/gitlab/gitlab-secrets.json`
file from your Consul server, and replace
the file of the same name on this server. If that file is not on this server,
add the file from your Consul server to this server.
1.
Edit
`/etc/gitlab/gitlab.rb`
and use the following configuration.
To maintain uniformity of links across nodes, the
`external_url`
on the application server should point to the external URL that users will use
...
...
@@ -1851,6 +1902,11 @@ To configure the Monitoring node:
1.
[
Download/install
](
https://about.gitlab.com/install/
)
the Omnibus GitLab
package you want using
**steps 1 and 2**
from the GitLab downloads page.
Do not complete any other steps on the download page.
1.
Copy the
`/etc/gitlab/gitlab-secrets.json`
file from your Consul server, and replace
the file of the same name on this server. If that file is not on this server,
add the file from your Consul server to this server.
1.
Edit
`/etc/gitlab/gitlab.rb`
and add the contents:
```
ruby
...
...
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