Skip to content
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

Replace hawtio-kubernetes-api with kubernetes-client/javascript? #67

Closed
tadayosi opened this issue Aug 27, 2020 · 2 comments
Closed

Replace hawtio-kubernetes-api with kubernetes-client/javascript? #67

tadayosi opened this issue Aug 27, 2020 · 2 comments

Comments

@tadayosi
Copy link
Member

Is it possible to replace hawtio-kubernetes-api with kubernetes-client/javascript and even if possible is it worth doing so? Instead of keeping the homebrewed k8s library it seems valuable to rely on the more actively maintained/popular library.

I guess the biggest challenge is where OpenShift authentication is used.

@astefanutti
Copy link
Contributor

That is a good idea. Using the official client would definitely make sense.

However, from the project README, it seems it's only for server-side at the moment:

For now, the client is implemented for server-side use with node using the request library.

There are future plans to also build a jQuery compatible library but for now, all of the examples and instructions assume the node client.

Besides, as you've mentioned, it would have costs, like integrating with OAuth, making sure WebSocket works, and it supports falling back to polling, ...

From my experience, hawtio-kubernetes-api has worked surprisingly well so far, without much maintenance overhead.

@tadayosi
Copy link
Member Author

Thanks for your explanation @astefanutti! Then maintaining hawtio-kubernetes-api seems to be a better approach. Closing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

3 participants