-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a Quarkus extension #1427
Comments
It would definitely be awesome to get the Kubernetes Client to work with Quarkus on native mode! The simplest approach I think would be to just create the declarations about reflection and whatever else the client does that doesn't work OOTB with native mode. But I think that having some sort of tighter Kubernetes / Openshift integration should also be something we need to think about. |
Thanks for that info @gastaldi! |
I tried the native image last week with k8s client in version 4.1.1 (not the latest version of the client) and it built fine, but then had some troubles with creating the default k8s client
|
I think making the KubernetesClient SubstrateVM friendly is the first step to doing anything in this space. I know that @iocanel and I have talked about it a little |
@geoand @iocanel I totally agree that SubstrateVM compatibility OOTB (without any extra help by Quarkus) would be a total killer feature for K8s intra-cluster usage (like for operators). Something which would be a clear winner feature over the standard Java K8s client. I really would love to push hard here, maybe we should ask the Quarkus folks directly with e.g. the error message @Jiri-Kremser found above ? |
Relates to quarkusio/quarkus#1488 |
Hi! I'm working in a project that would benefit a lot from the Kube client if at least the Config and Authentication features was working OOTB with Quarkus. The main problem here is in this line: Is it possible to suggest a PR to parse the file without using reflection? If not, we'll have to manually register for reflection the entire Another option would to just annotate the entire domain with |
Hi, I think @iocanel would agree that the more reflection we can get rid of the better 😎 |
I would say @iocanel has the final say on this 😉 |
I had the same experience as @ricardozanini Adding a |
Parsing the config without reflection sounds good to me. |
This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions! |
Not 100% sure what this implies, but it would be awesome if kubernetes-client could work seamlessly with an Quarkus application.
I think this can be done by creating a Quarkus extension.
This story is a good standalone story and would be a good candidate for a GSoC task. Or for anyone interested in learning to write Quarkus extensions ;-)
This would be also a very good basis to transform https://github.com/jvm-operators to Quarkus applications. // @Jiri-Kremser @geoand @iocanel @rohanKanojia
The text was updated successfully, but these errors were encountered: