-
Notifications
You must be signed in to change notification settings - Fork 42
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
[internal-dns] Shove service discovery into a zone #807
Conversation
smf/internal-dns/config.toml
Outdated
@@ -0,0 +1,22 @@ | |||
[dropshot] | |||
bind_address = "[fd00:1234::4]:5353" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These addresses are totally made-up -- I have some follow-up work to incorporate the subnets of the physical network described in RFD 63 into this repo.
smf/sled-agent/config-rss.toml
Outdated
[[request.service]] | ||
name = "internal-dns" | ||
addresses = [ "[fd00:1234::4]:5353" ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI, with this addition, the RSS spins up an "internal-dns" zone on this Sled.
I confirmed that this service is running and accessible by using:
cargo run --bin dnsadm -- -a [fd00:1234::4] list-records
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very cool!
@@ -0,0 +1,36 @@ | |||
<?xml version="1.0"?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume this is following a pattern of other services. Has @jclulow taken a look at this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have a variety of XML files under smf
in Omicron, if you wanna compare:
./nexus/manifest.xml
./oximeter/manifest.xml
./cockroachdb/manifest.xml
./clickhouse/manifest.xml
./sled-agent/manifest.xml
smf/sled-agent/config-rss.toml
Outdated
[[request.service]] | ||
name = "internal-dns" | ||
addresses = [ "[fd00:1234::4]:5353" ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very cool!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe all the comments I made have been addressed.
Thanks for taking this from prototype to being a part of Omicron!
Builds on #800 , actually launching the internal DNS subsystem as a Zone.
Part of #718