Skip to content

Commit 4d5e9a5

Browse files
authored
(WIP) Major v16 tutorial edits (#1040)
* feat: add rediraffe sphinx extension and discourse redirects for each page * fix broken urls and update custom wordlist * fix spelling errors * polish explanation landing page and toctree * Updated tutorial content and outputs for v16 * Added related link to Charmhub * Added small clarification to password management guide * Replace mentions of 16/edge with 16/stable * fix styling issues with juju status outputs * misc. small fixes * updated data-integrator section * update 14/stable status outputs to avoid confusion * apply review comments
1 parent 085ae08 commit 4d5e9a5

20 files changed

+470
-371
lines changed

docs/explanation/interfaces-and-endpoints.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Adding a relation is accomplished with `juju relate` (or `juju integrate` for Ju
1616

1717
```text
1818
# Deploy Charmed PostgreSQL cluster with 3 nodes
19-
juju deploy postgresql -n 3 --channel 16/edge
19+
juju deploy postgresql -n 3 --channel 16/stable
2020
2121
# Deploy the relevant application charms
2222
juju deploy mycharm

docs/explanation/units.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ It is recommended to use 3+ units cluster size in production (due to [Raft conse
1313

1414
All SQL transactions have to be confirmed by all Sync Standby unit(s) before Primary unit commit transaction to the client. Therefore, high-performance and high-availability is a trade-off between "sync standby" and "replica" unit count in the cluster.
1515

16-
Starting from revision 561, all Charmed PostgreSQL units are configured as Sync Standby members by default. It provides better guarantees for the data survival when two of three units gone simultaneously. Users can re-configure the necessary synchronous units count using Juju config option '[synchronous_node_count](https://charmhub.io/postgresql/configurations?channel=16/edge)'.
16+
Starting from revision 561, all Charmed PostgreSQL units are configured as Sync Standby members by default. It provides better guarantees for the data survival when two of three units gone simultaneously. Users can re-configure the necessary synchronous units count using Juju config option '[synchronous_node_count](https://charmhub.io/postgresql/configurations?channel=16/stable)'.
1717

1818
## Primary
1919

@@ -26,7 +26,7 @@ Model Controller Cloud/Region Version SLA Timestamp
2626
postgresql lxd localhost/localhost 3.6.5 unsupported 13:04:15+02:00
2727
2828
App Version Status Scale Charm Channel Rev Exposed Message
29-
postgresql 14.15 active 3 postgresql 14/stable 553 no
29+
postgresql 16.9 active 3 postgresql 16/stable 843 no
3030
3131
Unit Workload Agent Machine Public address Ports Message
3232
postgresql/0* active idle 0 10.189.210.53 5432/tcp Primary <<<<<<<<<<<<<<

docs/how-to/deploy/aws-ec2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ welcome aws-us-east-1 aws/us-east-1 3.5.4 unsupported 13:33:05+02:00
129129
130130
App Version Status Scale Charm Channel Rev Exposed Message
131131
data-integrator active 1 data-integrator latest/stable 41 no
132-
postgresql 14.12 active 1 postgresql 14/stable 468 no
132+
postgresql 16.9 active 1 postgresql 16/stable 843 no
133133
134134
Unit Workload Agent Machine Public address Ports Message
135135
data-integrator/0* active idle 1 50.19.16.57

docs/how-to/deploy/azure.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ welcome azure azure/centralus 3.6-rc1.1 unsupported 12:56:16+02:00
182182
183183
App Version Status Scale Charm Channel Rev Exposed Message
184184
data-integrator active 1 data-integrator latest/stable 41 no
185-
postgresql 14.12 active 1 postgresql 14/stable 468 no
185+
postgresql 16.9 active 1 postgresql 16/stable 843 no
186186
187187
Unit Workload Agent Machine Public address Ports Message
188188
data-integrator/0* active idle 1 172.170.35.131
@@ -256,7 +256,7 @@ welcome azure azure/centralus 3.6-rc1.1 unsupported 13:11:26+02:00
256256
257257
App Version Status Scale Charm Channel Rev Exposed Message
258258
data-integrator active 1 data-integrator latest/stable 41 no
259-
postgresql 14.12 active 1 postgresql 14/stable 468 yes
259+
postgresql 16.9 active 1 postgresql 16/stable 843 yes
260260
261261
Unit Workload Agent Machine Public address Ports Message
262262
data-integrator/0* active idle 1 172.170.35.131

docs/how-to/deploy/gce.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ welcome gce google/us-east1 3.5.4 unsupported 23:24:05+02:00
142142
143143
App Version Status Scale Charm Channel Rev Exposed Message
144144
data-integrator active 1 data-integrator latest/stable 41 no
145-
postgresql 14.12 active 1 postgresql 14/stable 468 no
145+
postgresql 16.9 active 1 postgresql 16/stable 843 no
146146
147147
Unit Workload Agent Machine Public address Ports Message
148148
data-integrator/0* active idle 1 34.73.238.173

docs/how-to/deploy/juju-spaces.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ peers 2 10.10.10.0/24
2727

2828
The space `alpha` is default and cannot be removed. To deploy Charmed PostgreSQL Operator using the spaces:
2929
```text
30-
juju deploy postgresql --channel 16/edge \
30+
juju deploy postgresql --channel 16/stable \
3131
--constraints spaces=client,peers \
3232
--bind "database-peers=peers database=client"
3333
```

docs/how-to/deploy/juju-storage.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Charmed PostgreSQL uses the [Juju storage](https://documentation.ubuntu.com/juju/3.6/reference/storage/) abstraction to utilise data volume provided by different [clouds](https://documentation.ubuntu.com/juju/3.6/reference/cloud/#cloud) while keeping the same UI/UX for end users.
44

5-
[Charmed PostgreSQL 16](https://charmhub.io/postgresql?channel=16/edge) supports multiple storage types: `archive`, `data`, `logs` and `temp`.
5+
[Charmed PostgreSQL 16](https://charmhub.io/postgresql?channel=16/stable) supports multiple storage types: `archive`, `data`, `logs` and `temp`.
66

77
The [legacy PostgreSQL charm](/explanation/legacy-charm) in track [`latest`](https://charmhub.io/postgresql?channel=latest/stable)" does **not** support the Juju storage abstraction.
88

@@ -83,7 +83,7 @@ Charmed PostgreSQL 16 uses Juju user secrets to handle credentials:
8383
8484
# Re-deploy new app re-using old storage and old credentials
8585
> juju deploy postgresql \
86-
--channel 16/edge \
86+
--channel 16/stable \
8787
--attach-storage pgdata/5 \
8888
--config system-users=newsecret54321id
8989
@@ -99,8 +99,8 @@ Prepare the test data to restore later:
9999
> juju add-model teststorage
100100
101101
# Deploy the new postgresql to dump storage with credentials
102-
> juju deploy postgresql --channel 16/edge --storage pgdata=5Gcompleted
103-
Deployed "postgresql" from charm-hub charm "postgresql", revision 613 in channel 16/edge on [email protected]/stable
102+
> juju deploy postgresql --channel 16/stable --storage pgdata=5Gcompleted
103+
Deployed "postgresql" from charm-hub charm "postgresql", revision 613 in channel 16/stable on [email protected]/stable
104104
105105
# Wait for deployment completed:
106106
> juju status
@@ -177,10 +177,10 @@ secret:d09vcn1oie738j7af4ng
177177
178178
# Re-deploy app with old storage and old passwords
179179
> juju deploy postgresql \
180-
--channel 16/edge \
180+
--channel 16/stable \
181181
--attach-storage pgdata/0 \
182182
--config system-users=d09vcn1oie738j7af4ng
183-
Deployed "postgresql" from charm-hub charm "postgresql", revision 613 in channel 16/edge on [email protected]/stable
183+
Deployed "postgresql" from charm-hub charm "postgresql", revision 613 in channel 16/stable on [email protected]/stable
184184
185185
# Grant new application access to manually created Juju User secret
186186
> juju grant-secret mypgpass postgresql

docs/how-to/deploy/maas.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ Model Controller Cloud/Region Version SLA Timestamp
121121
postgresql maas-controller maas-cloud/default 3.1.8 unsupported 12:50:26+02:00
122122
123123
App Version Status Scale Charm Channel Rev Exposed Message
124-
postgresql 14.10 active 1 postgresql 14/stable 363 no Primary
124+
postgresql 16.9 active 1 postgresql 16/stable 843 no Primary
125125
126126
Unit Workload Agent Machine Public address Ports Message
127127
postgresql/0* active idle 0 10.10.10.5 5432/tcp Primary

docs/how-to/deploy/multi-az.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Model Controller Cloud/Region Version SLA Timestamp
4848
mymodel gce google/us-east1 3.5.4 unsupported 00:16:52+02:00
4949
5050
App Version Status Scale Charm Channel Rev Exposed Message
51-
postgresql 14.12 active 3 postgresql 14/stable 468 no
51+
postgresql 16.9 active 3 postgresql 16/stable 843 no
5252
5353
Unit Workload Agent Machine Public address Ports Message
5454
postgresql/0 active idle 0 34.148.44.51 5432/tcp
@@ -93,7 +93,7 @@ Model Controller Cloud/Region Version SLA Timestamp
9393
mymodel gce google/us-east1 3.5.4 unsupported 00:25:14+02:00
9494
9595
App Version Status Scale Charm Channel Rev Exposed Message
96-
postgresql 14.12 active 2/3 postgresql 14/stable 468 no
96+
postgresql 16.9 active 2/3 postgresql 16/stable 843 no
9797
9898
Unit Workload Agent Machine Public address Ports Message
9999
postgresql/0 active idle 0 34.148.44.51 5432/tcp
@@ -122,7 +122,7 @@ Model Controller Cloud/Region Version SLA Timestamp
122122
mymodel gce google/us-east1 3.5.4 unsupported 00:30:09+02:00
123123
124124
App Version Status Scale Charm Channel Rev Exposed Message
125-
postgresql 14.12 active 2 postgresql 14/stable 468 no
125+
postgresql 16.9 active 2 postgresql 16/stable 843 no
126126
127127
Unit Workload Agent Machine Public address Ports Message
128128
postgresql/0 active idle 0 34.148.44.51 5432/tcp
@@ -144,7 +144,7 @@ Model Controller Cloud/Region Version SLA Timestamp
144144
mymodel gce google/us-east1 3.5.4 unsupported 00:30:42+02:00
145145
146146
App Version Status Scale Charm Channel Rev Exposed Message
147-
postgresql active 2/3 postgresql 14/stable 468 no
147+
postgresql active 2/3 postgresql 16/stable 843 no
148148
149149
Unit Workload Agent Machine Public address Ports Message
150150
postgresql/0 active idle 0 34.148.44.51 5432/tcp

docs/how-to/deploy/sunbeam.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ To summarise, the relevant sections are:
4040
Add a model if you don't have one already, and deploy a PostgreSQL cluster. Use the `-n` flag to specify number of units.
4141
```text
4242
juju add-model postgresql
43-
juju deploy postgresql --channel 16/edge --base [email protected] -n 3
43+
juju deploy postgresql --channel 16/stable --base [email protected] -n 3
4444
```
4545

4646
Sample output of `juju status --watch 1s`:
@@ -49,7 +49,7 @@ Model Controller Cloud/Region Version SLA Timestamp
4949
postgresql my-controller sunbeam/RegionOne 3.5.4 unsupported 19:42:44Z
5050
5151
App Version Status Scale Charm Channel Rev Exposed Message
52-
postgresql 16 active 3 postgresql 16/edge 468 no
52+
postgresql 16.9 active 3 postgresql 16/stable 843 no
5353
5454
Unit Workload Agent Machine Public address Ports Message
5555
postgresql/0* active idle 0 192.168.122.211 5432/tcp Primary

0 commit comments

Comments
 (0)