Skip to content

Commit 9e2f289

Browse files
fossygirlschaffererinJnHs
authored
Apply suggestions from code review
Co-authored-by: Erin Schaffer <[email protected]> Co-authored-by: JH <[email protected]>
1 parent 235f2f5 commit 9e2f289

File tree

2 files changed

+20
-8
lines changed

2 files changed

+20
-8
lines changed

articles/aks/create-postgresql-ha.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,19 @@ In this section, you install the CNPG operator in the AKS cluster using Helm or
505505
506506
## Next steps
507507
508-
Now that you've created the require infrastructure, [deploy a highly available PostgreSQL database on the AKS cluster][deploy-postgresql].
508+
> [!div class="nextstepaction"]
509+
> [Deploy a highly available PostgreSQL database on the AKS cluster][deploy-postgresql]
510+
511+
## Contributors
512+
513+
*This article is maintained by Microsoft. It was originally written by the following contributors*:
514+
515+
* Ken Kilty | Principal TPM
516+
* Russell de Pina | Principal TPM
517+
* Adrian Joian | Senior Customer Engineer
518+
* Jenny Hayes | Senior Content Developer
519+
* Carol Smith | Senior Content Developer
520+
* Erin Schaffer | Content Developer 2
509521
510522
<!-- LINKS -->
511523
[az-identity-create]: /cli/azure/identity#az-identity-create

articles/aks/deploy-postgresql-ha.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ In this article, you deploy a highly available PostgreSQL database on AKS.
3636

3737
## Set environment variables for the PostgreSQL cluster
3838

39-
* Deploy a ConfigMap to set environment variables for the PostgreSQL cluster using the following command with the [`kubectl apply`][kubectl-apply] command.
39+
* Deploy a ConfigMap to set environment variables for the PostgreSQL cluster using the following [`kubectl apply`][kubectl-apply] command:
4040

4141
```bash
4242
cat <<EOF | kubectl apply --context $AKS_PRIMARY_CLUSTER_NAME -n $PG_NAMESPACE -f -
@@ -260,7 +260,7 @@ The following table outlines the key properties set in the YAML deployment manif
260260
261261
The CNPG operator automatically creates a PodMonitor for the primary instance using the recording rules created during the [Prometheus Community installation](#install-the-cnpg-operator).
262262
263-
* Validate the PodMonitor is running using the [`kubectl get`][kubectl-get] command.
263+
1. Validate the PodMonitor is running using the [`kubectl get`][kubectl-get] command.
264264
265265
```bash
266266
kubectl --namespace $PG_NAMESPACE \
@@ -315,7 +315,8 @@ kubectl --namespace $PG_NAMESPACE \
315315
#### Option A - Azure Monitor Workspace
316316
317317
Once you have deployed the Postgres cluster and the pod monitor, you can view the metrics using the Azure portal in an Azure Monitor workspace.
318-
![Azure Monitor Metrics](./media/deploy-postgresql-ha/cnpg-prom-metrics.png)
318+
319+
:::image source="./media/deploy-postgresql-ha/cnpg-prom-metrics.png" alt-text="Screenshot showing metrics in an Azure Monitor workspace." lightbox="./media/deploy-postgresql-ha/cnpg-prom-metrics.png":::
319320
320321
#### Option B - Managed Grafana
321322
@@ -371,7 +372,7 @@ Your output should resemble the following example output with the availability z
371372
372373
## Connect to PostgreSQL and create a sample dataset
373374
374-
In this section, you create a table and insert some data into the app database that was created in the CNPG Cluster CRD you deployed earlier. This data that is used to validate the backup and restore operations for the PostgreSQL cluster.
375+
In this section, you create a table and insert some data into the app database that was created in the CNPG Cluster CRD you deployed earlier. You use this data to validate the backup and restore operations for the PostgreSQL cluster.
375376
376377
* Create a table and insert data into the app database using the following commands:
377378
@@ -404,7 +405,6 @@ In this section, you create a table and insert some data into the app database t
404405
3
405406
(1 row)
406407
```
407-
408408
## Connect to PostgreSQL read-only replicas
409409
410410
* Connect to the PostgreSQL read-only replicas and validate the sample dataset using the following commands:
@@ -681,15 +681,15 @@ You also create a second federated credential to map the new recovery cluster se
681681
# Type \q to exit psql
682682
```
683683
684-
1. You can now delete the recovered cluster using the following command:
684+
1. Delete the recovered cluster using the following command:
685685
686686
```bash
687687
kubectl cnpg destroy $PG_PRIMARY_CLUSTER_NAME_RECOVERED 1 \
688688
--context $AKS_PRIMARY_CLUSTER_NAME \
689689
--namespace $PG_NAMESPACE
690690
```
691691
692-
1. You can now delete the federated identity credential using the [`az identity federated-credential delete`][az-identity-federated-credential-delete] command.
692+
1. Delete the federated identity credential using the [`az identity federated-credential delete`][az-identity-federated-credential-delete] command.
693693
694694
```bash
695695
az identity federated-credential delete \

0 commit comments

Comments
 (0)