Y
Hacker News
new
|
ask
|
show
|
jobs
by
nprateem
2068 days ago
Run it on a lightweight k8s (eg k3s) on your machine then use iptables to forward all traffic from k8s to your VPS
1 comments
3np
2068 days ago
I'm using some other orchestration than k8s/k3s (and regardless different deployments should have different entrypoints).
But yeah, maybe the real answer is "iptables" and I just have to step up my game a bit to grok it.
link
nprateem
2068 days ago
K8s means you'll have a single source IP for all your application's traffic so you can just forward it all upstream instead of having to hunt for which ports it actually uses
link
3np
2068 days ago
Right, but I'm not going to use kubernetes, and I only want this for certain containers. Maybe there's a solution for this with CNI, though?
link
But yeah, maybe the real answer is "iptables" and I just have to step up my game a bit to grok it.