Skip to content

Commit 205a325

Browse files
feat(video): Self-hosting a production-ready PostgreSQL cluster
1 parent 21b6e66 commit 205a325

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

_posts/2024-12-07-potgresql-high-availability.md

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ Now that we have postgres certs configured, it's now time to configure patroni t
693693

694694
## Patroni
695695

696-
## Installing Patroni
696+
### Installing Patroni
697697

698698
```bash
699699
sudo apt install -y patroni
@@ -707,7 +707,7 @@ Make a dir for `patroni`
707707
sudo mkdir -p /etc/patroni/
708708
```
709709

710-
## Configuring Patroni
710+
### Configuring Patroni
711711

712712
Create a config file and edit
713713

@@ -905,7 +905,7 @@ tags:
905905

906906
```
907907

908-
## Patroni Certificates
908+
### Patroni Certificates
909909

910910
Let's also use a certificate for this, requires a pem
911911

@@ -1317,15 +1317,7 @@ DROP TABLE IF EXISTS nintendo_characters;
13171317

13181318
## Troubleshooting
13191319

1320-
Reset all data but certs and start
1321-
1322-
modifying the shared patroni config (if you make a mistake when bootstrapping or need to make changes later)
1323-
1324-
show config
1325-
1326-
```bash
1327-
sudo patronictl -c /etc/patroni/config.yml show-config
1328-
```
1320+
Reset all data but certs and start over
13291321

13301322
```bash
13311323
sudo systemctl stop patroni

0 commit comments

Comments
 (0)