From c56882331b8df0509c8420c307fe9f071f6feaa3 Mon Sep 17 00:00:00 2001 From: Jozef Kralik Date: Tue, 25 Jun 2024 06:47:01 +0000 Subject: [PATCH] getting ip and set --- content/en/docs/tutorials/disaster-recovery-replica-set.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/content/en/docs/tutorials/disaster-recovery-replica-set.md b/content/en/docs/tutorials/disaster-recovery-replica-set.md index 71831d3d..9fdef9f5 100644 --- a/content/en/docs/tutorials/disaster-recovery-replica-set.md +++ b/content/en/docs/tutorials/disaster-recovery-replica-set.md @@ -595,6 +595,12 @@ Next, we need to get the IP addresses of the MongoDB members and set them to the ```bash kubectl -n plgd get services | grep mongodb | grep LoadBalancer | awk '{print $1 ":" $4}' +mongodb-0-external:192.168.1.222 +mongodb-1-external:192.168.1.220 +mongodb-2-external:192.168.1.221 +``` + +```bash echo " 192.168.1.222 mongodb-0.standby.plgd.cloud mongodb.standby.plgd.cloud 192.168.1.220 mongodb-1.standby.plgd.cloud mongodb.standby.plgd.cloud