Skip to content

[rss][nexus][sled-agent] Responsibility for deploying services should (where possible) migrate into Nexus #732

Closed

Description

@smklein

At the time of writing, #686 introduces the first usage of the "RSS", which makes requests to sled agent to create datasets/services.

Aside from the datasets necessary for initializing Nexus (that is, Nexus itself and CRDB), these service requests should be handled by Nexus "as much as possible" instead of the RSS.

Many operations can trigger a need to request these services partitions:

  • Initializing a new sled
  • Adjusting service location to maintain availability while turning down an old sled
  • Adjusting capacity to serve request load
  • Etc

All these conditions are ongoing, and best handled by Nexus, which maintains a "global" view of the rack and exists beyond initialization.

Fortunately, the APIs defined by the Sled Agent should (more-or-less) remain the same - this issue just addresses the matter of "who calls them".

Activity

  1. added
    Sled Agent
    nexus
    on Mar 7, 2022
  2. self-assigned this
    on Mar 7, 2022
  3. added this to the MVP milestone on Feb 10, 2023
  4. davepacheco commented on Jul 24, 2025

    @davepacheco
    Collaborator

    Aside from the datasets necessary for initializing Nexus (that is, Nexus itself and CRDB), these service requests should be handled by Nexus "as much as possible" instead of the RSS.

    Many operations can trigger a need to request these services partitions:

    There are two things that might be meant by this issue:

    • "Nexus should be able to invoke these various requests for the use cases that it's responsible for (e.g., adding a new sled)." This covers all the examples listed in the description above. This part has been done for a while now.
    • "RSS should not invoke these requests for anything that Nexus could do (i.e., we should have RSS just provision NTP, DNS, Cockroach, and Nexus and let Nexus provision the rest)." This is not done but I think we should file a separate issue for this if/when we get serious about doing that.

    So I'm going to close this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Sled Agentnexus

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions