Dynamic node registration for IceGrid to enable grid autoscaling on Kubernetes #2500
Replies: 1 comment 4 replies
-
Nodes - and node names - are pretty fundamental in IceGrid, and I don't see how this dynamic node registration would work. When you describe an application in IceGrid, you specify on which node(s) your servers will execute. Making the nodes dynamic / extensible would definitely be a big change. More generally, we see Kubernetes and IceGrid as alternative orchestrators. Kubernetes is an orchestrator for containers, where a container can provide an Ice server (or several Ice servers). And IceGrid is an orchestrator for Ice servers (without containers). If you're writing a new application with Ice and Kubernetes, I would recommend using Kubernetes directly--no IceGrid. The more interesting situation is: you already have an application using IceGrid, and you want to migrate this application to Kubernetes without changing too much. If you are in this situation, please contact us by email. |
Beta Was this translation helpful? Give feedback.
-
Would anyone see any major issues with adding support for dynamic node registration in IceGrid?
I'm new to IceGrid and investigating the opportunity of using it for fully auto-scalable deployments to Kubernetes clusters
The objective would be to simply deploy the registry(ies), and then configure the node deployments with a replica count > 1 and ephemeral storage for the services, and just see them connect to the registry and provide compute power to the grid.
IceGrid nodes can be configured with IceLocatorDiscovery which makes it easy for the nodes to advertise themselves to the registry.
But to support dynamic discovery and autoscaling on a Kubernetes deployment one would also need to:
Does this sound like something that one could achieve with the current IceGrid code-base?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions