Skip to content

Commit ee700b4

Browse files
jsilvelagbartolini
authored andcommitted
some clarifications
Signed-off-by: Jaime Silvela <[email protected]>
1 parent 4da6112 commit ee700b4

File tree

2 files changed

+12
-10
lines changed
  • content

2 files changed

+12
-10
lines changed

content/authors/jsilvela/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ avatar: jsilvela-gh.jpeg
44
github: jsilvela
55
---
66

7-
Jaime Silvela has been around. In a career spanning two decades writing code,
7+
Jaime Silvela has been around. In a career spanning three decades writing code,
88
he has lived in the US and Europe, worked for big corporations like Amazon and
99
Microsoft, as an early startup employee, in industries including Wall Street and
1010
catastrophe insurance.
1111

1212
Early in his career he discovered a fondness for databases, PostgreSQL in
13-
particular. He started using Go professionally in 2014, after having suffered
14-
Java.
13+
particular. He started using Go professionally in 2014, a relief after having
14+
suffered the Java monoculture at Amazon.
1515

1616
Jaime joined EDB in 2021, and he is very proud to be able to put his skills to
1717
use on Kubernetes operators for databases, including CloudNativePG for PostgreSQL

content/blog/migrations-with-atlas-and-cloudnativepg/index.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ image:
88
author: jsilvela
99
tags:
1010
- blog
11+
- tutorial
1112
- migrations
1213
- devops
1314
summary: Doing schema migrations on CloudNativePG clusters using the Atlas operator
@@ -78,7 +79,7 @@ To apply a migration, we need credentials to access our target database.
7879
The Atlas operator quickstart uses the `urlFrom`
7980
stanza, but with CloudNativePG there is a more convenient way.
8081

81-
From Step 0, we assumed we have a CloudNativePG cluster called
82+
From Step 0, we have assumed we have a CloudNativePG cluster called
8283
`cluster-example`.
8384
CloudNativePG, by default, creates a database called `app` on clusters, and
8485
a user `app` whose credentials are held in a Secret called
@@ -89,12 +90,13 @@ a user `app` whose credentials are held in a Secret called
8990
cluster-example-app kubernetes.io/basic-auth 9 18h
9091
```
9192

92-
You can inspect the contents of the secret running `kubectl get secrets cluster-example-app -o yaml`,
93+
You can inspect the contents of the secret running
94+
`kubectl get secrets cluster-example-app -o yaml`,
9395
and you will find that it contains a key called `password`, holding of course
9496
the password for the `app` user (base64 encoded).
9597
In addition to the `cluster-example-app` Secret, the CloudNativePG operator
9698
creates Services for Postgres. In particular, we will want to use the ReadWrite
97-
service called `cluster-example-rw` for the migrations.
99+
service, called `cluster-example-rw`, for the migrations.
98100

99101
We're going to use the [`credentials` object](https://atlasgo.io/integrations/kubernetes/declarative#credentials-object)
100102
from the AtlasSchema CRD to reference
@@ -131,7 +133,7 @@ spec:
131133
132134
Then apply it: `kubectl apply -f atlas-schema.yaml`.
133135

134-
You should soon be able to see the Schema has been applied:
136+
In a few seconds, you should be able to see the Schema has been reconciled:
135137

136138
``` console
137139
> kubectl get atlasschemas.db.atlasgo.io
@@ -175,17 +177,17 @@ transactions, perhaps maps using PostGIS, etc.
175177

176178
Application developers will regularly need to add functionality, and often
177179
that will involve creating new tables, schemas, procedures, indexes, perhaps
178-
doing some INSERT statements to populate static data, etc.
180+
doing some `INSERT` statements to populate static data, etc.
179181
The developers will be using a development database, probably hosted in their
180182
dev machines.
181183
There might be another database for the purpose of automated testing, and
182184
of course there's the production database, where the changes will need to be
183185
applied in the end. These different databases will have different data in them,
184186
and different loads.
185187
Add time and other developers, and you have a big chance for snafus of the type
186-
"but it worked on my machine!"
188+
*"but it worked on my machine!"*
187189

188-
Database migration tools manage this, bringing DevOps to this area of data.
190+
Database migration tools manage this, bringing DevOps to this area of databases.
189191
Atlas, by working as a Kubernetes operator, makes the dev/prod transition even
190192
smoother.
191193

0 commit comments

Comments
 (0)