Skip to content

israel-hdez/kserve-rest-proxy

 
 

Repository files navigation

Build

KServe V2 REST Proxy

This REST Proxy leverages gRPC-Gateway to create a reverse-proxy server which translates a RESTful HTTP API into gRPC. This allows sending inference requests using the KServe V2 REST Predict Protocol to platforms that expect the gRPC V2 Predict Protocol.

Note: This is currently a work in progress, and is subject to performance and usability issues.

Generate grpc-gateway stubs

protoc -I . --grpc-gateway_out ./gen/ --grpc-gateway_opt logtostderr=true --grpc-gateway_opt paths=source_relative grpc_predict_v2.proto

Build Docker image

docker build -t kserve/rest-proxy:latest .

About

KServe V2 Protocol Rest API Implementation Proxy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 77.5%
  • Dockerfile 11.6%
  • Shell 7.5%
  • Makefile 3.4%