|
Regarding support for
When these are complete OpenShell will have support (with the k8s driver) for a pool of Pods to act as sandboxes. My question relates to how the pool behaves when separate Sandboxes are requested. I can create a I can create the inference for the provider: I can create a Sandbox template: I can finally create a sandbox: IIUC that ties all sandboxes from the pool to a single I have a need to use transient sandboxes with different Cold-provisioning would introduce unacceptable latency and I hoped the warm_pool would give me access to a pool of pre-provisioned hollow/empty sandboxes that I could configure with specific I just want to understand how the pool is to be used. |
Replies: 3 comments
|
@mrunalp I see the issue was reported by yourself; IDK if you know the answers? I cannot ping |
|
I wonder if whether it is as simple as: This using a pre-warmed One way to find out is to test it when #2460 lands 👍 |
|
You don't need to use the same providers to benefit from the same pool. What determines whether a sandbox request can claim from a warm pool is whether it matches the image, memory & cpu configuration, top level env settings (not those created for provider secrets/config). The intention of the sandbox template is to make this relationship more clear. Templates hold the configuration that will shape the warm pool workloads (e.g. pods on kubernetes) and when you create a sandbox using a template you can choose whatever providers or policy you want, and attach/detach as needed. |
You don't need to use the same providers to benefit from the same pool. What determines whether a sandbox request can claim from a warm pool is whether it matches the image, memory & cpu configuration, top level env settings (not those created for provider secrets/config).
The intention of the sandbox template is to make this relationship more clear. Templates hold the configuration that will shape the warm pool workloads (e.g. pods on kubernetes) and when you create a sandbox using a template you can choose whatever providers or policy you want, and attach/detach as needed.