Skip to main content
Version: 1.x

Run vs Bridge

Run vs Bridge

Gefyra support two modes of operation: Run and Bridge. Let's dive into the differences.

TLDR

RunBridge
WhatRun a local container and connect it to a Kubernetes clusterBuild on top of run. Connect a local container to a Kubernetes cluster and reroute traffic to it
Multi-UserMultiple users can run multiple containers connected to the same clusterMultiple users cannot bridge the same workload
WhenWhen you want to test a service in the cluster or write code that depends on Kubernetes resourcesWhen you want to expose a local container to other services within the cluster

Run - allows to run a local container and connect it to a Kubernetes cluster. It is executed within a given namespace and can communicate with other services running in the cluster. This allows your local container to talk to things databases or internal APIs within the cluster you connected it to. Multiple users can run multiple containers connected to the same cluster.

Auth Service

Bridge - builds on top of Run. In certain situation you want other services to connect to your local container. For this, your local container needs some kind of representation within the Kubernetes cluster it is connected to. With Bridge Gefyra patches a given workload within your Kubernetes cluster and reroutes all the incoming traffic to your local container. Multiple users cannot bridge the same workload.

Auth Service