Skip to content

Commit 2ce6607

Browse files
committed
docs: update to latest versions of kind and CNPG
Signed-off-by: Gabriele Bartolini <[email protected]>
1 parent ab2e169 commit 2ce6607

File tree

1 file changed

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

1 file changed

+18
-22
lines changed

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

Lines changed: 18 additions & 22 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 October 17th, 2024 with the most recent
22+
_NOTE: this article has been updated on December 23rd, 2024 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._
@@ -52,8 +52,8 @@ Start by confirming your kind installation using the following command:
5252
kind version
5353
```
5454

55-
On my laptop, as of the time of the last update (June 10th, 2024),
56-
the output is `kind v0.24.0 go1.22.6 darwin/amd64`.
55+
On my laptop, as of the time of the last update, the output is
56+
`kind v0.26.0 go1.23.4 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.31.0) 🖼
69+
✓ Ensuring node image (kindest/node:v1.32.0) 🖼
7070
✓ Preparing nodes 📦
7171
✓ Writing configuration 📜
7272
✓ Starting control-plane 🕹️
@@ -77,7 +77,7 @@ You can now use your cluster with:
7777

7878
kubectl cluster-info --context kind-cnpg
7979

80-
Have a nice day! 👋
80+
Thanks for using kind! 😊
8181
```
8282

8383
There you have it – the `cnpg` Kubernetes cluster is now operational within
@@ -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.24.1, the latest available at the time of
108+
For instance, to install version 1.25.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.24/releases/cnpg-1.24.1.yaml
113+
https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg/release-1.25/releases/cnpg-1.25.0.yaml
114114
```
115115

116116
This command creates a `Deployment` resource named `cnpg-controller-manager`
@@ -188,8 +188,8 @@ kubectl get cluster cluster-example
188188
On my laptop, the output is:
189189

190190
```console
191-
NAME AGE INSTANCES READY STATUS PRIMARY
192-
cluster-example 2m12s 3 3 Cluster in healthy state cluster-example-1
191+
NAME AGE INSTANCES READY STATUS PRIMARY
192+
cluster-example 86s 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,36 +221,32 @@ This command typically yields output similar to:
221221
```console
222222
Cluster Summary
223223
Name default/cluster-example
224-
System ID: 7426630836678873114
225-
PostgreSQL Image: ghcr.io/cloudnative-pg/postgresql:17.0
224+
System ID: 7451646091586629660
225+
PostgreSQL Image: ghcr.io/cloudnative-pg/postgresql:17.2
226226
Primary instance: cluster-example-1
227-
Primary start time: 2024-10-17 06:40:44 +0000 UTC (uptime 2m27s)
227+
Primary start time: 2024-12-23 16:32:41 +0000 UTC (uptime 1m48s)
228228
Status: Cluster in healthy state
229229
Instances: 3
230230
Ready instances: 3
231231
Size: 126M
232-
Current Write LSN: 0/6050170 (Timeline: 1 - WAL File: 000000010000000000000006)
232+
Current Write LSN: 0/6000060 (Timeline: 1 - WAL File: 000000010000000000000006)
233233
234234
Continuous Backup status
235235
Not configured
236236
237-
Physical backups
238-
Name Phase Started at Total Transferred Progress Tablespaces
239-
---- ----- ---------- ----- ----------- -------- -----------
240-
241237
Streaming Replication status
242238
Replication Slots Enabled
243239
Name Sent LSN Write LSN Flush LSN Replay LSN Write Lag Flush Lag Replay Lag State Sync State Sync Priority Replication Slot
244240
---- -------- --------- --------- ---------- --------- --------- ---------- ----- ---------- ------------- ----------------
245-
cluster-example-2 0/6050170 0/6050170 0/6050170 0/6050170 00:00:00 00:00:00 00:00:00 streaming async 0 active
246-
cluster-example-3 0/6050170 0/6050170 0/6050170 0/6050170 00:00:00 00:00:00 00:00:00 streaming async 0 active
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
247243
248244
Instances status
249245
Name Current LSN Replication role Status QoS Manager Version Node
250246
---- ----------- ---------------- ------ --- --------------- ----
251-
cluster-example-1 0/6050170 Primary OK BestEffort 1.24.1 cnpg-control-plane
252-
cluster-example-2 0/6050170 Standby (async) OK BestEffort 1.24.1 cnpg-control-plane
253-
cluster-example-3 0/6050170 Standby (async) OK BestEffort 1.24.1 cnpg-control-plane
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
254250
```
255251

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

0 commit comments

Comments
 (0)