Coder Social home page Coder Social logo

Comments (3)

jhump avatar jhump commented on May 8, 2024

@ameetchhatwal: Is this a duplicate of #53? If not, can you clarify the difference here?

FWIW, from a simple reading of your paragraph above, I'd say you can easily just deploy grpcui with your server (running alongside it, like on the same VM or in the same pod if using Kubernetes) and expose it to users. That way you don't need people to install/run the tool locally: they can just access the running copy that is co-located with the server via their browser.

from grpcui.

ameetchhatwal avatar ameetchhatwal commented on May 8, 2024

@jhump yes this is a duplicate issue to #53. The above represents what I want to achieve, and then on researching it looked like standalone application is the I had to use, so I opened the issue #53. Is that correct? Can you please elaborate of how can one deploy grpcui with existing GRPC service?

from grpcui.

jhump avatar jhump commented on May 8, 2024

Can you please elaborate of how can one deploy grpcui with existing GRPC service?

Just run it as a sidecar and have it talk to your server via loopback. So you'd give a localhost:<port> address to grpcui when you run it this way. Your deploy tooling would need to be able to deploy and stop/start both programs (the main server and the sidecar). How to do that is beyond the scope of this project since it depends on how you deploy things. In Kubernetes, you could easily create a deployment that runs two containers for each replica: your gRPC server and grpcui. (In Kubernetes, two containers in the same pod can communicate over loopback.)

You would access grpcui the same way you access the gRPC server: something in your infrastructure would need to expose it somehow (like putting it behind a load balancer). Again, with Kubernetes as an example, you would just need to define the ports that the deployment exposes, and Kubernetes will handle routing requests to the two different ports to the two different containers in the pod.

from grpcui.

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.