- 3 Gitaly nodes (high CPU, high memory, fast storage)
- 1 GitLab server
You will need the IP/host address for each node.
1.`POSTGRESQL_SERVER_ADDRESS`: the IP/host address of the PostgreSQL server
1.`PRAEFECT_SERVER_ADDRESS`: the IP/host address of the Praefect server
1.`GITALY_SERVER_ADDRESS`: the IP/host address of each Gitaly node
1.`PRAEFECT_HOST`: the IP/host address of the Praefect server
1.`GITALY_HOST`: the IP/host address of each Gitaly server
1.`GITLAB_HOST`: the IP/host address of the GitLab server
If you are using a cloud provider, you can look up the addresses for each server through your cloud provider's management console.
If you are using Google Cloud Platform, SoftLayer, or any other vendor that provides a virtual private cloud (VPC) you can use the private addresses for each cloud instance (corresponds to “internal address” for Google Cloud Platform) for `PRAEFECT_HOST`, `GITALY_HOST`, and `GITLAB_HOST`.
#### Secrets
...
...
@@ -183,14 +189,18 @@ application server, or a Gitaly node.
1. Configure **Praefect** to listen on network interfaces by editing
`/etc/gitlab/gitlab.rb`:
You will need to replace:
-`PRAEFECT_HOST` with the IP address or hostname of the Praefect node
```ruby
# Make Praefect accept connections on all network interfaces.
# Use firewalls to restrict access to this address/port.
praefect['listen_addr']='0.0.0.0:2305'
praefect['listen_addr']='PRAEFECT_HOST:2305'
# Enable Prometheus metrics access to Praefect. You must use firewalls