Traffic light (html) changeble via bot api (telegram).
k create secret generic glbasecamp --from-literal=token.json={\"token\":\"YOUR_TOKEN\"}
k create -f kube/app.yaml
k expose pod trafficlight --port 8080 --target-port 8000 --type LoadBalancer
k apply -f kube/ingress.yaml
RED ON
RED OFF
AMBER ON
AMBER OFF
GREEN ON GREEN OFF
Interface based onsnippet in docker on :8000, and via kuber commands on :80
- npm express
- npm socket.io
- npm node-telegram-bot-api
npm socks5-https-clientin case socks5 needed to avoid blocks
- Rewrite in pure nodejs, avoid overhead
- Rewrite in assembly, maximum super ultra performence