From f92b11eb34148a8bf861d62d9f5793678aaf44b5 Mon Sep 17 00:00:00 2001 From: Adrien Beaudouin Date: Sun, 14 Apr 2024 10:20:05 +0200 Subject: [PATCH] fix labels --- content/posts/13-a-beautiful-gitops-day-3/index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/posts/13-a-beautiful-gitops-day-3/index.md b/content/posts/13-a-beautiful-gitops-day-3/index.md index 89029ea..c156f24 100644 --- a/content/posts/13-a-beautiful-gitops-day-3/index.md +++ b/content/posts/13-a-beautiful-gitops-day-3/index.md @@ -358,7 +358,7 @@ Type this commands for both storage nodes or use Longhorn UI from **Node** tab: ```sh # get the default-disk-xxx identifier -kg nodes.longhorn.io okami-storage-01 -n longhorn-system -o yaml +kg nodes.longhorn.io kube-storage-01 -n longhorn-system -o yaml # patch main default-disk-xxx as fast storage k patch nodes.longhorn.io kube-storage-0x -n longhorn-system --type=merge --patch '{"spec": {"disks": {"default-disk-xxx": {"tags": ["fast"]}}}}' # add a new schedulable disk by adding HC_Volume_XXXXXXXX path @@ -587,8 +587,8 @@ Now check that PostgreSQL pods are correctly running on storage nodes with `kgpo ```txt NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES -postgresql-primary-0 2/2 Running 0 151m 10.42.5.253 okami-storage-01 -postgresql-read-0 2/2 Running 0 152m 10.42.2.216 okami-storage-02 +postgresql-primary-0 2/2 Running 0 151m 10.42.5.253 kube-storage-01 +postgresql-read-0 2/2 Running 0 152m 10.42.2.216 kube-storage-02 ``` And that's it, we have replicated PostgreSQL cluster ready to use ! Go to longhorn UI and be sure that 2 volumes are created on fast disk under **Volume** menu.