elotl / kip

Virtual-kubelet provider running pods in cloud instances
Apache License 2.0
223 stars 14 forks source link

Add BGP support to VPN setup #68

Closed ldx closed 4 years ago

ldx commented 4 years ago

Add a BGP agent to the vpn client pod that will advertise to AWS any BGP routes received from inside the Kubernetes cluster, and also advertise AWS CIDRs to Kubernetes peers.

If the following variables are set in TF:

static_routes_only=false
vpn_hostnetwork=false

then the vpn client pod will run without host network mode, and use BGP instead of static routes. This way other BGP peers running in Kubernetes can connect and receive/send routes.

I updated the README too.