boostercloud / booster

Booster Framework
https://www.boosterframework.com
Apache License 2.0
419 stars 87 forks source link

How difficult would it be to bing k8s support back from 1.10.1? #1497

Open orefalo opened 1 year ago

orefalo commented 1 year ago

Considering that v2 is different than the v1 branch,

How difficult would it be to bring back the k8s adapters? In terms of effort, no who does it...

thank you

NickSeagull commented 11 months ago

Hello @orefalo, tbh the K8s adapters from v1 were more a PoC than an actual production-ready implementation. We used Microsoft Dapr back then, and the implementation was very similar to the local provider one, with the difference that we stored everything in a single Redis store where concepts were separated via key (e.g. an entity would have a key entity:entity-name:...)

Still, creating a custom provider is not something extremely hard (as long as you know your way in the underlying tech for the provider, in this case K8s), as Booster tries to abstract everything into the core package of the framework.

Some Discord members have reported creating their own custom provider successfully starting with a copy of the local provider and then looking at the others (e.g. AWS provider) in order to implement it.

The overview of it is:

Mostly for every task like this there's a method specified in the interfaces that define how the providers get called, so it shouldn't be very hard.

Hope this helps!