Skip to content

Latest commit

 

History

History

cargo

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Gefyra Cargo

Gefyra Cargo is installed in the local development environment and acts as a gateway for all bridged development containers.
It allows completely new services to be part of the cluster (i.e. new applications) or, in addition, intercept a running instance of that service and receive all traffic from within the cluster.
Cargo provides the local end of the Wireguard connection tunnel in the cluster and also operates a CoreDNS. Hence, Cargo services all tasks that actually make the bridge possible on Gefyra's local side.

Basics

Cargo is based on linuxserver/wireguard with a few extensions, such as DNS configurations. Cargo's image is created on-the-fly since Wireguard's server part Stowaway generates the connection secrets dynamically. Gefyra retrieves the secrets and puts them into Cargo. A docker build ... creates the ephemeral container image which then will be able to connect to Stowaway.