-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Add a device to multiple clusters #9029
Comments
The cluster model in NetBox is intended to model virtual compute instances; clustered storage would likely need an entirely separate model to be feasible. Given this, I don't think it makes sense to allow a physical devices to serve multiple clusters. |
I see. That makes sense to me. What is the correct way to represent "a group of devices providing a service"? Using "service" for this does not allow to e.g. find all devices that are part of the group, and "device role" has the same single-relationship limitation. |
This has come up in a few different contexts I think and the idea goes by a few names: business application, service group, etc. I don't think it's every been really well-defined in an FR, but you're certainly welcome to open one. Or maybe start a discussion first to see if we can identify a common set of needs among users given the ambiguous nature of the concept. I'm going to close out this FR as I don't think it ultimately meets your needs. |
Alright, no problem. I found #1591 which might help, I will check out the new version. |
NetBox version
8971109c8ad6 (v3.0.9)
Feature type
Change to existing functionality
Proposed functionality
Allow a single device to be in multiple clusters.
Use case
For example, I have joined some machines to a Kubernetes cluster and a subset of those to a Ceph cluster as well. However if I add a machine to my Kubernetes cluster I can't add them to my Ceph cluster.
I could use a "service" for Ceph, but I would need to mention which Ceph cluster in the name of the service, which really seems like this is not the right way.
Another example would be if I wanted to be explicit about etcd or manage it manually. Those machines would probably overlap with the Kubernetes cluster.
Database changes
cluster
is currently a field in theDevice
model, needs to change to a many-to-many relationship.External dependencies
No response
The text was updated successfully, but these errors were encountered: