You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
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.
The text was updated successfully, but these errors were encountered: