kubernetes-client / java

Official Java client library for kubernetes
http://kubernetes.io/
Apache License 2.0
3.57k stars 1.9k forks source link

[QUERY] Features of Official Java Client #1581

Closed weiqingy closed 3 years ago

weiqingy commented 3 years ago

Hi team

Besides the release notes https://github.com/kubernetes-client/java/releases, I'm wondering if there is any other docs/wikis introducing the details about the fixes and new features added in the past months (since July 2020)?

We are trying to build an operator, and I have some questions on the official Java client, and would like your confirmation & suggestions.

Thank you!

brendandburns commented 3 years ago

Answers: 1) Spring is not a hard dependency, it's entirely optional. 2) There's no built in framework (e.g. mocks) but it will work with JUnit and WireMock (there are lots of examples of such tests in the repo) 3) It's plain HTTP for now, but it does support HTTP/2 4) There are some extensions generated, and there are instructions for how to generate your own for others. 5) The goal is to support every kubeconfig file that kubectl works with. We think we have pretty good compatability. If you hit issues, please file an issue. 6) You don't have to use the extended library, but you do need to provide either JSON or POJO for your custom objects.

Hope that helps!

weiqingy commented 3 years ago

Thanks for the reply, @brendandburns . Its helpful!

brendandburns commented 3 years ago

Closing the issue. Please use /reopen if there is more info needed.