hey, I'm looking into hosting a dagger engine. Actually trying to do it has left me with a few questions:
- if I run the Kubernetes integration, it doesn't look like the cache is shared at all between nodes. If I choose a random pod to execute in inside a large cluster or using ephemeral nodes, it seems more likely than not that I'd get a cold cache. Is this on purpose? Is there a way I can get around it?
- how can I choose a not-busy Kubernetes pod? I guess I could sort them by node metrics, but having some kind of intelligent load balancing would be useful. Is there a way to hook it up to a Service instead?
- how do you do auth in this at all? I tried searching on here and don't see a lot. For Kubernetes I guess you just need access to the API, which can be secured, but what if I just wanted to host on a single beefy node to get around some of the other problems above? Do I have to control access with VPN or SSH or something, or is there a way to do authentication against the engine API?
I do have to congratulate y'all, though, on making the first bring-your-own-compute solution that I've been able to stick into my hobby-sized test Kubernetes cluster without completely bogging it down. 😆 I unironically appreciate that!