We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86f30e2 commit 787f388Copy full SHA for 787f388
mem3_helper.py
@@ -8,10 +8,9 @@
8
import dns.resolver
9
10
def discover_peers_dns(retries=5):
11
- # Assumes svc.cluster.local is in the DNS search space ...
12
- resource = '_couchdb._tcp.{0}.{1}'.format(
13
- os.environ.get("COUCHDB_SERVICE", "couchdb"),
14
- os.environ.get("POD_NAMESPACE", "default")
+ # Assumes <namespace>.svc.cluster.local is in the DNS search space ...
+ resource = '_couchdb._tcp.{0}'.format(
+ os.environ.get("COUCHDB_SERVICE", "couchdb")
15
)
16
if retries > 0:
17
try:
0 commit comments