k8s-client icon indicating copy to clipboard operation
k8s-client copied to clipboard

Hello from kubeclient, kubernetes-client :wave:

Open cben opened this issue 6 years ago • 2 comments

Hi, I was happy to discover a 3rd ruby client besides https://github.com/abonas/kubeclient and https://github.com/kubernetes-client. You have great momentum :clap:

I wanted to reach out to ask if you see aspects on which we should collaborate.

Specifically, I feel it could be nice to extract the best parts of parsing kubeconfig and obtaining auth to a separate gem, and get all 3 client gem to use it.

  • This functionality requires catch-up to the reference Go implementation...
  • The interfaces have a lot of arbitrary details like "how is the param for custom CA called?", which unfortunately have no de-facto standard in Ruby ecosystem. A single good config interface could make it easier for users to learn/switch between the client gems.

On similar discussion in https://github.com/kubernetes-client/ruby/issues/20#issuecomment-487362902 some people expressed support. What do you think?

cben avatar Jul 09 '19 10:07 cben

I think it's a good idea as it doesn't make sense to waste efforts in reinventing the wheel and the whole config / initialization interface of k8s-client I think is too complex currently anyway and needs some simplification (as noted in #121).

kke avatar Jul 29 '19 08:07 kke

Related: there is now a community fork of kontena/k8s-client in github/k8s-ruby

pre avatar Feb 12 '20 08:02 pre