Coder Social home page Coder Social logo

Comments (4)

alefesta avatar alefesta commented on June 3, 2024

As a minimal implementation, we may support NodePorts directly in the plugins. This will allow us to start with the functionality.

Issues to be solved:

  • KinD require extra-port mappings but in the case of nodePorts the pod original port needs to be changed
  • Cloud providers like Civo not necessarily work this way so the port should be transformed to LoadBalancer

from k3ai.

alefesta avatar alefesta commented on June 3, 2024

We need to evaluate a solution for #24 for all those cases where we need to use port-forwarding instead of the nodePort.

from k3ai.

burntcarrot avatar burntcarrot commented on June 3, 2024

Related discussion from #24:

WSL2 uses dynamic IP that does not goes along with K8s very well. This is not up to K3ai but to the K8s providers. Docker addresses this natively with their proxy but..

Yes, I know the pain working with dynamic IPs, here's the related issue suggesting some workarounds for this. I also found a workaround for setting static IPs, but these require administrator access, which some users might not be ready to give.

some like KinD project use extra-ports mapping but the limitation there is that the pod port and the nodePort have to be the same.

This is a known issue. Maybe we can address these issues in the docs itself? (probably in a FAQ, WSL2 has a lot of issues)

I should hack too many things that would become un-mantainable on the long run.. so port-forward may be a solution, something on the line k3ai plugin -n mlflow -port-forward but it would result in something like a terminal where you cannot operate otherwise it would stop the port-forward. Still would means the user would have to open another terminal to run any other command...

Non-blocking or detachable commands are good. Adding the -port-forward flag should not have any effect on terminal usability, unless it is considered or advertised as a "terminal-blocking" command.

I was thinking maybe get a complementary app to expose ports as port-forward ? Something like k3ai-expose that is invocated when the plugin is deployed and adds a port-forward for the service "on-demand"?

k3ai-expose looks good, maybe we can run it as a bash script running the prebuilt binaries?

Thanks for creating k3ai! I'm not much into ML deployments, but I was looking for a project which I can contribute to! 😀 (through bug reports or even code contributions)

from k3ai.

alefesta avatar alefesta commented on June 3, 2024

Closing since is a duplicate of #28

from k3ai.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.