Ingress - Ngrok Controller
The ngrok Ingress Controller adds secure internet access to Kubernetes workloads by offloading network ingress and middleware execution to ngrok's global points of presence.
Create an account with the Ngrok service and obtain identification information (Add these informations to the .env
file at the root of this project) :
NGROK_API_KEY
NGROK_AUTHTOKEN
task ingress:ngrok-install
ℹ️ From your Ngrok dashboard, create an Edge domain. Set it in
.env
file (e.g:NGROK_EDGE_HOST_DOMAIN=evolved-pheasant-modern.ngrok-free.app
)
## Deploy the popular 2048 game
cat ingress/ngrok/game-2048.yml | envsubst | kubectl apply -f -
Visit this URL : https://<NGROK_EDGE_HOST_DOMAIN>
kubectl delete -f ingress/ngrok/game-2048.yml
task ingress:ngrok-uninstall