fatedier / frp

A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.
Apache License 2.0
85.48k stars 13.25k forks source link

Kubernetes Ingress Controller exemple #307

Closed ciceroverneck closed 6 years ago

ciceroverneck commented 7 years ago

https://kubernetes.io/docs/concepts/services-networking/ingress/

fatedier commented 7 years ago

I read the docs about k8s ingress and very interested to let frp compatible with it.

I will do it but not recently. I am busy doing other works. It's better to try traefik at present, i think it is the project with same idea.

Mikulas commented 7 years ago

I've set up frp on kubernetes without changing the app at all.

The configuration I used is here: https://gist.github.com/Mikulas/16fdfd4b294560b47208bc863c332ba6 (I use a custom image that generates frps.ini from env, but everything else is unchanged.)

There are multiple ways to configure it:

Load balancing requests against the proxy is easy as any ingress controller should be able to handle those.