Skip to content

Double Checking How Kubernetes Works #1762

Answered by Noah-Huppert
Noah-Huppert asked this question in Q&A
Discussion options

You must be logged in to vote

@renannprado Oh shoot sorry for not updating this thread with my solution. Basically what I learned is that within a Kubernetes pod all stuff related networking is shared between containers (at least using Digital Ocean managed k8s which I believe uses Cilium). This means if you run Glutun as one of the containers in your pod, other containers will only be able to send traffic via the VPN.

I used Kubernetes network policies just as an extra safety net in case the VPN shut down.

Here is a link to the Kustomize stack I made which runs qBittorrent and Glutun. This is specifically how I ran Glutun and here is where I setup a network policy only allowing VPN traffic. I obtained the IPs in the …

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@renannprado
Comment options

@enzanto
Comment options

Answer selected by Noah-Huppert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants