Inlets combines a reverse proxy and websocket tunnels to expose your internal and development endpoints to the public Internet via an exit-node made by Alex Ellis
# Install to /usr/local/bin/
curl -sLS https://get.inlets.dev | sudo sh
Check more info at inlets repository
inlets_token: "changeme"
ingress:
host: inlets.example.com
inlets_token: "changeme"
ingress:
tls: true
annotations:
ingress.kubernetes.io/ssl-redirect: "true"
certmanager.k8s.io/issuer: myissuer
host: inlets.example.com
git clone https://github.com/teamserverless/inlets-chart
mkdir manifests
helm template --values values.yaml --output-dir ./manifests --name demo ./inlets_helm
kubectl apply -f manifests/inlets/templates/
Start local service:
docker run -p 3000:80 kennethreitz/httpbin
Start inlets client:
inlets client --remote=wss://inlets.example.com:443 --upstream=http://127.0.0.1:3000 --token="changeme"
Check inlets works:
curl https://inlets.example.com