From 5953ae20883f74f6b4e0a24123cd71cc604801c9 Mon Sep 17 00:00:00 2001 From: Jozef Kralik Date: Wed, 19 Jun 2024 09:13:22 +0200 Subject: [PATCH] Update content/en/docs/tutorials/disaster-recovery-replica-set.md Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- content/en/docs/tutorials/disaster-recovery-replica-set.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/en/docs/tutorials/disaster-recovery-replica-set.md b/content/en/docs/tutorials/disaster-recovery-replica-set.md index 71bae8b2..b1b054b3 100644 --- a/content/en/docs/tutorials/disaster-recovery-replica-set.md +++ b/content/en/docs/tutorials/disaster-recovery-replica-set.md @@ -29,9 +29,9 @@ The `mongodb.primary.plgd.cloud` is used for external access to the MongoDB repl This DNS needs to be resolved to the external IP address of the LoadBalancer. The external IP address of the LoadBalancer is used to connect to the MongoDB replica set from the other cluster. For clouds, you can use the [external-dns](https://github.com/kubernetes-sigs/external-dns/) tool to create DNS records in AWS Route53 / Google Cloud DNS / Azure DNS. In this tutorial, we show how to get the IPs of MongoDB services, and we will set them manually in /etc/hosts, then restart the dnsmasq daemon to load these changes on the computer with IP 192.168.1.1. -{{< note >}} +{{< warning >}} It is also recommended to set up a firewall between clusters with source IP address filtering to mitigate DDOS attacks on MongoDB. The default port for MongoDB is 27017. Alternatively, use a VPN to interconnect clusters. -{{< /note >}} +{{< /warning >}} ## Installation @@ -603,7 +603,7 @@ Now the job will create the pod and configure the MongoDB replica set. ## Disaster Recovery << note >> -This steps could be used in case of planned maintenance. +These steps could be used in case of planned maintenance. << /note >> ### How to Switch to the Standby Cluster