Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix DNS setup for unified image and make sure env variable is set #2031

Merged

Conversation

johscheuer
Copy link
Member

@johscheuer johscheuer commented May 17, 2024

Description

Fix DNS setup for unified image and make sure env variable is set

Type of change

Please select one of the options below.

  • Bug fix (non-breaking change which fixes an issue)

Discussion

Testing

Ran the DNS related e2e tests manually:

Coordination servers:
  jdev-log-10.jdev.jscheuermann.svc.cluster.local:4500:tls  (reachable)
  jdev-log-6.jdev.jscheuermann.svc.cluster.local:4500:tls  (reachable)
  jdev-log-7.jdev.jscheuermann.svc.cluster.local:4500:tls  (reachable)
  jdev-log-8.jdev.jscheuermann.svc.cluster.local:4500:tls  (reachable)
  jdev-log-9.jdev.jscheuermann.svc.cluster.local:4500:tls  (reachable)

Client time: 05/17/24 15:35:55

Test output:

------------------------------
[AfterSuite]
/Users/jscheuermann/go/src/github.com/FoundationDB/fdb-kubernetes-operator/e2e/test_operator/operator_test.go:97
[AfterSuite] PASSED [0.000 seconds]
------------------------------
[ReportAfterSuite] Autogenerated ReportAfterSuite for --junit-report
autogenerated by Ginkgo
[ReportAfterSuite] PASSED [0.006 seconds]
------------------------------

Ran 1 of 48 Specs in 635.390 seconds
SUCCESS! -- 1 Passed | 0 Failed | 9 Pending | 38 Skipped

Documentation

Follow-up

@johscheuer johscheuer added the bug Something isn't working label May 17, 2024
@foundationdb-ci
Copy link

Result of fdb-kubernetes-operator-pr on Linux CentOS 7

  • Commit ID: 2611904
  • Duration 2:16:48
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

Copy link
Contributor

@nicmorales9 nicmorales9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! (Assuming that cluster.DefineDNSLocalityFields() is never true when version.SupportsDNSInClusterFile is false)

@johscheuer
Copy link
Member Author

LGTM! (Assuming that cluster.DefineDNSLocalityFields() is never true when version.SupportsDNSInClusterFile is false)

DefineDNSLocalityFields can be true when SupportsDNSInClusterFile is false. In this case the connection string would still use IP addresses but the locality fields for the DNS name will be present.

@johscheuer johscheuer merged commit 553e049 into FoundationDB:main May 21, 2024
8 checks passed
@johscheuer johscheuer deleted the fix-dns-setup-unified-image branch May 21, 2024 05:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants