apache / karaf-minho

Apache Karaf Minho
https://karaf.apache.org/
Apache License 2.0
6 stars 5 forks source link

Add `minho-k8s` service #8

Open jbonofre opened 2 years ago

jbonofre commented 2 years ago

The idea is to create a Kubernetes client as a service in the registry.

Then, other services can get the client from the registry and interact with k8s.

mattrpav commented 2 years ago

Did you have an existing client library in mind?

jbonofre commented 2 years ago

Yeah the one from Fabric8 is pretty good.

mattrpav commented 2 years ago

Yeah the one from Fabric8 is pretty good.

+1

It has good multi-version support and using the jdk-based http client would cut out a nice chunk of the transitive deps.

ref: https://github.com/fabric8io/kubernetes-client/tree/master/httpclient-jdk