Comments (3)
@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.
@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.
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)
- Filling protobuf.any value in grpcui HOT 5
- Additional headers -H works with grpcurl but not grpcui HOT 3
- Embedding clarification for subroutes. HOT 2
- Can't work with proto definitions that include includes external proto definitions. HOT 2
- insecure flag doing nothing HOT 2
- Output the size of the binary request/response in verbose log
- -open-browser=true doesn't work properly on faulty open handlers
- Question about JSON HOT 3
- -default-header would be clear when using -examples at the same time HOT 2
- Failed to dial target host "localhost:8181": context deadline exceeded HOT 3
- Can't I use Dockerfile? HOT 2
- where is the docker image hosted? HOT 5
- Import Error "lookup of '$ret6' failed HOT 3
- The browser displays a connection error. HOT 1
- How can I wait for stream answers? HOT 1
- Is gRPC curl still visible from `Raw request` tab?
- Runtime error: invalid memory address or nil pointer dereference HOT 4
- M1 grpcui -plaintext localhost:8023 Failed to compute set of methods to expose: proto: invalid syntax: "<unknown:0>" HOT 5
- Failed to compute set of methods to expose: EOF
- undefined: indent HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grpcui.