Skip to content

Commit 6c86012

Browse files
committed
docs: update local setup recipe to 1.26.0
Signed-off-by: Gabriele Bartolini <[email protected]>
1 parent 7b2ae6b commit 6c86012

File tree

1 file changed

+16
-16
lines changed
  • content/posts/20240303-recipe-local-setup

1 file changed

+16
-16
lines changed

content/posts/20240303-recipe-local-setup/index.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ your future CloudNativePG explorations with a fully open source stack._
1919

2020
<!--more-->
2121

22-
_NOTE: this article has been updated on December 23rd, 2024 with the most recent
22+
_NOTE: this article has been updated on June 5th, 2025 with the most recent
2323
versions of `kind` and `cloudnative-pg`. You might also be interested in
2424
the [CNPG Playground project]({{< relref "../20240920-cnpg-playground/index.md">}})
2525
that was launched in the meantime._
@@ -53,7 +53,7 @@ kind version
5353
```
5454

5555
On my laptop, as of the time of the last update, the output is
56-
`kind v0.26.0 go1.23.4 darwin/amd64`.
56+
`kind v0.29.0 go1.24.3 darwin/amd64`.
5757

5858
Now, proceed to establish your initial local Kubernetes cluster for
5959
CloudNativePG with:
@@ -66,7 +66,7 @@ Upon execution, you'll observe the following output:
6666

6767
```console
6868
Creating cluster "cnpg" ...
69-
✓ Ensuring node image (kindest/node:v1.32.0) 🖼
69+
✓ Ensuring node image (kindest/node:v1.33.1) 🖼
7070
✓ Preparing nodes 📦
7171
✓ Writing configuration 📜
7272
✓ Starting control-plane 🕹️
@@ -105,12 +105,12 @@ installation of CloudNativePG.
105105
To deploy the latest stable version, refer to the
106106
[CloudNativePG documentation for instructions on installing the operator via Kubernetes manifests](https://cloudnative-pg.io/documentation/current/installation_upgrade/#directly-using-the-operator-manifest).
107107

108-
For instance, to install version 1.25.0, the latest available at the time of
108+
For instance, to install version 1.26.0, the latest available at the time of
109109
writing, use the following command:
110110

111111
```sh
112112
kubectl apply --server-side -f \
113-
https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg/release-1.25/releases/cnpg-1.25.0.yaml
113+
https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg/release-1.26/releases/cnpg-1.26.0.yaml
114114
```
115115

116116
This command creates a `Deployment` resource named `cnpg-controller-manager`
@@ -189,7 +189,7 @@ On my laptop, the output is:
189189

190190
```console
191191
NAME AGE INSTANCES READY STATUS PRIMARY
192-
cluster-example 86s 3 3 Cluster in healthy state cluster-example-1
192+
cluster-example 75s 3 3 Cluster in healthy state cluster-example-1
193193
```
194194

195195
Congratulations! You now have your first PostgreSQL cluster up and running with
@@ -221,15 +221,15 @@ This command typically yields output similar to:
221221
```console
222222
Cluster Summary
223223
Name default/cluster-example
224-
System ID: 7451646091586629660
225-
PostgreSQL Image: ghcr.io/cloudnative-pg/postgresql:17.2
224+
System ID: 7512473913904742428
225+
PostgreSQL Image: ghcr.io/cloudnative-pg/postgresql:13
226226
Primary instance: cluster-example-1
227-
Primary start time: 2024-12-23 16:32:41 +0000 UTC (uptime 1m48s)
227+
Primary start time: 2025-06-05 14:35:42 +0000 UTC (uptime 1m27s)
228228
Status: Cluster in healthy state
229229
Instances: 3
230230
Ready instances: 3
231-
Size: 126M
232-
Current Write LSN: 0/6000060 (Timeline: 1 - WAL File: 000000010000000000000006)
231+
Size: 112M
232+
Current Write LSN: 0/5000060 (Timeline: 1 - WAL File: 000000010000000000000005)
233233
234234
Continuous Backup status
235235
Not configured
@@ -238,15 +238,15 @@ Streaming Replication status
238238
Replication Slots Enabled
239239
Name Sent LSN Write LSN Flush LSN Replay LSN Write Lag Flush Lag Replay Lag State Sync State Sync Priority Replication Slot
240240
---- -------- --------- --------- ---------- --------- --------- ---------- ----- ---------- ------------- ----------------
241-
cluster-example-2 0/6000060 0/6000060 0/6000060 0/6000060 00:00:00 00:00:00 00:00:00 streaming async 0 active
242-
cluster-example-3 0/6000060 0/6000060 0/6000060 0/6000060 00:00:00 00:00:00 00:00:00 streaming async 0 active
241+
cluster-example-2 0/5000060 0/5000060 0/5000060 0/5000060 00:00:00 00:00:00 00:00:00 streaming async 0 active
242+
cluster-example-3 0/5000060 0/5000060 0/5000060 0/5000060 00:00:00 00:00:00 00:00:00 streaming async 0 active
243243
244244
Instances status
245245
Name Current LSN Replication role Status QoS Manager Version Node
246246
---- ----------- ---------------- ------ --- --------------- ----
247-
cluster-example-1 0/6000060 Primary OK BestEffort 1.25.0 cnpg-control-plane
248-
cluster-example-2 0/6000060 Standby (async) OK BestEffort 1.25.0 cnpg-control-plane
249-
cluster-example-3 0/6000060 Standby (async) OK BestEffort 1.25.0 cnpg-control-plane
247+
cluster-example-1 0/5000060 Primary OK BestEffort 1.26.0 cnpg-control-plane
248+
cluster-example-2 0/5000060 Standby (async) OK BestEffort 1.26.0 cnpg-control-plane
249+
cluster-example-3 0/5000060 Standby (async) OK BestEffort 1.26.0 cnpg-control-plane
250250
```
251251

252252
This tool becomes indispensable as it provides essential insights into your

0 commit comments

Comments
 (0)