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
8c72d757
Commit
8c72d757
authored
Jul 29, 2021
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab master
parents
e57e10c6
f98a5d04
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
46 additions
and
6 deletions
+46
-6
doc/administration/geo/setup/database.md
doc/administration/geo/setup/database.md
+20
-0
doc/administration/postgresql/replication_and_failover.md
doc/administration/postgresql/replication_and_failover.md
+5
-0
doc/administration/reference_architectures/10k_users.md
doc/administration/reference_architectures/10k_users.md
+4
-1
doc/administration/reference_architectures/25k_users.md
doc/administration/reference_architectures/25k_users.md
+4
-1
doc/administration/reference_architectures/3k_users.md
doc/administration/reference_architectures/3k_users.md
+4
-1
doc/administration/reference_architectures/50k_users.md
doc/administration/reference_architectures/50k_users.md
+4
-1
doc/administration/reference_architectures/5k_users.md
doc/administration/reference_architectures/5k_users.md
+4
-1
doc/api/freeze_periods.md
doc/api/freeze_periods.md
+1
-1
No files found.
doc/administration/geo/setup/database.md
View file @
8c72d757
...
...
@@ -571,6 +571,13 @@ Leader instance**:
patroni
[
'password'
]
=
'PATRONI_API_PASSWORD'
patroni
[
'replication_password'
]
=
'PLAIN_TEXT_POSTGRESQL_REPLICATION_PASSWORD'
# Add all patroni nodes to the allowlist
patroni
[
'allowlist'
]
=
%w[
127.0.0.1/32
PATRONI_PRIMARY1_IP/32 PATRONI_PRIMARY2_IP/32 PATRONI_PRIMARY3_IP/32
PATRONI_SECONDARY1_IP/32 PATRONI_SECONDARY2_IP/32 PATRONI_SECONDARY3_IP/32
]
# We list all secondary instances as they can all become a Standby Leader
postgresql
[
'md5_auth_cidr_addresses'
]
=
%w[
PATRONI_PRIMARY1_IP/32 PATRONI_PRIMARY2_IP/32 PATRONI_PRIMARY3_IP/32 PATRONI_PRIMARY_PGBOUNCER/32
...
...
@@ -725,6 +732,13 @@ For each Patroni instance on the secondary site:
# Any other instance that needs access to the database as per documentation
]
# Add patroni nodes to the allowlist
patroni
[
'allowlist'
]
=
%w[
127.0.0.1/32
PATRONI_SECONDARY1_IP/32 PATRONI_SECONDARY2_IP/32 PATRONI_SECONDARY3_IP/32
]
patroni
[
'standby_cluster'
][
'enable'
]
=
true
patroni
[
'standby_cluster'
][
'host'
]
=
'INTERNAL_LOAD_BALANCER_PRIMARY_IP'
patroni
[
'standby_cluster'
][
'port'
]
=
INTERNAL_LOAD_BALANCER_PRIMARY_PORT
...
...
@@ -903,6 +917,12 @@ For each Patroni instance on the secondary site for the tracking database:
# Any other instance that needs access to the database as per documentation
]
# Add patroni nodes to the allowlist
patroni
[
'allowlist'
]
=
%w[
127.0.0.1/32
PATRONI_TRACKINGDB1_IP/32 PATRONI_TRACKINGDB2_IP/32 PATRONI_TRACKINGDB3_IP/32
]
# Patroni configuration
patroni
[
'username'
]
=
'PATRONI_API_USERNAME'
patroni
[
'password'
]
=
'PATRONI_API_PASSWORD'
...
...
doc/administration/postgresql/replication_and_failover.md
View file @
8c72d757
...
...
@@ -257,6 +257,9 @@ patroni['postgresql']['max_replication_slots'] = X
# available database connections.
patroni
[
'postgresql'
][
'max_wal_senders'
]
=
X
+
1
# Replace XXX.XXX.XXX.XXX/YY with Network Addresses for your other patroni nodes
patroni
[
'allowlist'
]
=
%w(XXX.XXX.XXX.XXX/YY 127.0.0.1/32)
# Replace XXX.XXX.XXX.XXX/YY with Network Address
postgresql
[
'trust_auth_cidr_addresses'
]
=
%w(XXX.XXX.XXX.XXX/YY 127.0.0.1/32)
...
...
@@ -572,6 +575,7 @@ patroni['password'] = 'PATRONI_API_PASSWORD'
patroni
[
'postgresql'
][
'max_replication_slots'
]
=
6
patroni
[
'postgresql'
][
'max_wal_senders'
]
=
7
patroni
[
'allowlist'
]
=
=
%w(10.6.0.0/16 127.0.0.1/32)
postgresql
[
'trust_auth_cidr_addresses'
]
=
%w(10.6.0.0/16 127.0.0.1/32)
# Configure the Consul agent
...
...
@@ -664,6 +668,7 @@ patroni['password'] = 'PATRONI_API_PASSWORD'
# available database connections.
patroni
[
'postgresql'
][
'max_wal_senders'
]
=
7
patroni
[
'allowlist'
]
=
=
%w(10.6.0.0/16 127.0.0.1/32)
postgresql
[
'trust_auth_cidr_addresses'
]
=
%w(10.6.0.0/16 127.0.0.1/32)
consul
[
'configuration'
]
=
{
...
...
doc/administration/reference_architectures/10k_users.md
View file @
8c72d757
...
...
@@ -601,7 +601,10 @@ in the second step, do not supply the `EXTERNAL_URL` value.
patroni
[
'username'
]
=
'<patroni_api_username>'
patroni
[
'password'
]
=
'<patroni_api_password>'
# Replace XXX.XXX.XXX.XXX/YY with Network Address
# Replace 10.6.0.0/24 with Network Addresses for your other patroni nodes
patroni
[
'allowlist'
]
=
%w(10.6.0.0/24 127.0.0.1/32)
# Replace 10.6.0.0/24 with Network Address
postgresql
[
'trust_auth_cidr_addresses'
]
=
%w(10.6.0.0/24 127.0.0.1/32)
# Set the network addresses that the exporters will listen on for monitoring
...
...
doc/administration/reference_architectures/25k_users.md
View file @
8c72d757
...
...
@@ -603,7 +603,10 @@ in the second step, do not supply the `EXTERNAL_URL` value.
patroni
[
'username'
]
=
'<patroni_api_username>'
patroni
[
'password'
]
=
'<patroni_api_password>'
# Replace XXX.XXX.XXX.XXX/YY with Network Address
# Replace 10.6.0.0/24 with Network Addresses for your other patroni nodes
patroni
[
'allowlist'
]
=
%w(10.6.0.0/24 127.0.0.1/32)
# Replace 10.6.0.0/24 with Network Address
postgresql
[
'trust_auth_cidr_addresses'
]
=
%w(10.6.0.0/24 127.0.0.1/32)
# Set the network addresses that the exporters will listen on for monitoring
...
...
doc/administration/reference_architectures/3k_users.md
View file @
8c72d757
...
...
@@ -883,7 +883,10 @@ in the second step, do not supply the `EXTERNAL_URL` value.
patroni
[
'username'
]
=
'<patroni_api_username>'
patroni
[
'password'
]
=
'<patroni_api_password>'
# Replace XXX.XXX.XXX.XXX/YY with Network Address
# Replace 10.6.0.0/24 with Network Addresses for your other patroni nodes
patroni
[
'allowlist'
]
=
%w(10.6.0.0/24 127.0.0.1/32)
# Replace 10.6.0.0/24 with Network Address
postgresql
[
'trust_auth_cidr_addresses'
]
=
%w(10.6.0.0/24 127.0.0.1/32)
# Set the network addresses that the exporters will listen on for monitoring
...
...
doc/administration/reference_architectures/50k_users.md
View file @
8c72d757
...
...
@@ -611,7 +611,10 @@ in the second step, do not supply the `EXTERNAL_URL` value.
patroni
[
'username'
]
=
'<patroni_api_username>'
patroni
[
'password'
]
=
'<patroni_api_password>'
# Replace XXX.XXX.XXX.XXX/YY with Network Address
# Replace 10.6.0.0/24 with Network Addresses for your other patroni nodes
patroni
[
'allowlist'
]
=
%w(10.6.0.0/24 127.0.0.1/32)
# Replace 10.6.0.0/24 with Network Address
postgresql
[
'trust_auth_cidr_addresses'
]
=
%w(10.6.0.0/24 127.0.0.1/32)
# Set the network addresses that the exporters will listen on for monitoring
...
...
doc/administration/reference_architectures/5k_users.md
View file @
8c72d757
...
...
@@ -874,7 +874,10 @@ in the second step, do not supply the `EXTERNAL_URL` value.
patroni
[
'username'
]
=
'<patroni_api_username>'
patroni
[
'password'
]
=
'<patroni_api_password>'
# Replace XXX.XXX.XXX.XXX/YY with Network Address
# Replace 10.6.0.0/24 with Network Addresses for your other patroni nodes
patroni
[
'allowlist'
]
=
%w(10.6.0.0/24 127.0.0.1/32)
# Replace 10.6.0.0/24 with Network Address
postgresql
[
'trust_auth_cidr_addresses'
]
=
%w(10.6.0.0/24 127.0.0.1/32)
# Set the network addresses that the exporters will listen on for monitoring
...
...
doc/api/freeze_periods.md
View file @
8c72d757
...
...
@@ -122,7 +122,7 @@ Example response:
Update a Freeze Period for the given
`freeze_period_id`
.
```
plaintext
PUT /projects/:id/freeze_periods/:
tag_name
PUT /projects/:id/freeze_periods/:
freeze_period_id
```
| Attribute | Type | Required | Description |
...
...
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