STRRL / cloudflare-tunnel-ingress-controller

🚀 Expose the website directly into the internet! The Kuberntes Ingress Controller based on Cloudflare Tunnel.
MIT License
685 stars 39 forks source link

Is gRPC supported? #150

Open Evantage-WS opened 1 week ago

Evantage-WS commented 1 week ago

I am trying to setup a gRPC connection between client (running in the same cluster) and server. It is working with NGINX, but not with cloudflare-tunnel-ingress-controller.

This is the client application error:

error internal/queue_sender.go:92 Exporting failed. Dropping data. {"kind": "exporter", "data_type": "metrics", "name": "otlp/stackstate", "error": "not retryable error: Permanent error: rpc error: code = PermissionDenied desc = unexpected HTTP status code received from server: 403 (Forbidden); transport: received unexpected content-type \"text/html\"", "dropped_items": 35

Coudl you please look at this? Thanks

STRRL commented 6 days ago

tldr; it does not support grpc by out-the-box, but some tuning might resolve it I think.

it seems there is an upstream issue about it: https://github.com/cloudflare/cloudflared/issues/491#issuecomment-1643233485

I did not try with it, maybe you could take a try and tell us could it works?

if it require any modification in this repo, I would be happy to help. Thanks!

Evantage-WS commented 6 days ago

Hi @STRRL

Thanks, I will look at it, but in a few weeks, I will be travelling the upcoming weeks. Could you be so kind to take a look at https://github.com/STRRL/cloudflare-tunnel-ingress-controller/issues/145?