[{"data":1,"prerenderedAt":887},["ShallowReactive",2],{"navigation_docs_en":3,"-en-developer-workflows-bridge-vs-run":225,"-en-developer-workflows-bridge-vs-run-surround":882},[4,25,41,66,85,140,167,181,195],{"title":5,"path":6,"stem":7,"children":8,"icon":10},"Quickstart","\u002Fen\u002Fquickstart","en\u002F1.quickstart\u002F1.index",[9,11,16,20],{"title":5,"path":6,"stem":7,"icon":10},"i-lucide-rocket",{"title":12,"path":13,"stem":14,"icon":15},"Installation","\u002Fen\u002Fquickstart\u002Finstallation","en\u002F1.quickstart\u002F2.installation","i-lucide-download",{"title":17,"path":18,"stem":19,"icon":10},"First Bridge","\u002Fen\u002Fquickstart\u002Ffirst-bridge","en\u002F1.quickstart\u002F3.first-bridge",{"title":21,"path":22,"stem":23,"icon":24},"Docker Desktop Extension","\u002Fen\u002Fquickstart\u002Fdocker-desktop-extension","en\u002F1.quickstart\u002F4.docker-desktop-extension","i-simple-icons-docker",{"title":26,"path":27,"stem":28,"children":29,"page":40},"Ai Agents","\u002Fen\u002Fai-agents","en\u002F2.ai-agents",[30,35],{"title":31,"path":32,"stem":33,"icon":34},"Cluster Ground Truth","\u002Fen\u002Fai-agents\u002Fcluster-ground-truth","en\u002F2.ai-agents\u002F1.cluster-ground-truth","i-lucide-bot",{"title":36,"path":37,"stem":38,"icon":39},"Agent Workflows","\u002Fen\u002Fai-agents\u002Fagent-workflows","en\u002F2.ai-agents\u002F2.agent-workflows","i-lucide-workflow",false,{"title":42,"path":43,"stem":44,"children":45,"page":40},"Developer Workflows","\u002Fen\u002Fdeveloper-workflows","en\u002F3.developer-workflows",[46,51,56,61],{"title":47,"path":48,"stem":49,"icon":50},"Hot Reloading","\u002Fen\u002Fdeveloper-workflows\u002Fhot-reloading","en\u002F3.developer-workflows\u002F1.hot-reloading","i-lucide-zap",{"title":52,"path":53,"stem":54,"icon":55},"IDE Debugging","\u002Fen\u002Fdeveloper-workflows\u002Fide-debugging","en\u002F3.developer-workflows\u002F2.ide-debugging","i-lucide-bug",{"title":57,"path":58,"stem":59,"icon":60},"Run vs. Bridge","\u002Fen\u002Fdeveloper-workflows\u002Fbridge-vs-run","en\u002F3.developer-workflows\u002F3.bridge-vs-run","i-lucide-git-compare-arrows",{"title":62,"path":63,"stem":64,"icon":65},"Database and DNS","\u002Fen\u002Fdeveloper-workflows\u002Fdatabase-and-dns","en\u002F3.developer-workflows\u002F4.database-and-dns","i-lucide-database",{"title":67,"path":68,"stem":69,"children":70,"page":40},"Team And Enterprise","\u002Fen\u002Fteam-and-enterprise","en\u002F4.team-and-enterprise",[71,75,80],{"title":72,"path":73,"stem":74,"icon":10},"Getting Started","\u002Fen\u002Fteam-and-enterprise\u002Fshared-staging-clusters","en\u002F4.team-and-enterprise\u002F1.shared-staging-clusters",{"title":76,"path":77,"stem":78,"icon":79},"Managing Gefyra Clients","\u002Fen\u002Fteam-and-enterprise\u002Frbac-and-security","en\u002F4.team-and-enterprise\u002F2.rbac-and-security","i-lucide-computer",{"title":81,"path":82,"stem":83,"icon":84},"CI Cost Reduction","\u002Fen\u002Fteam-and-enterprise\u002Fci-cost-reduction","en\u002F4.team-and-enterprise\u002F3.ci-cost-reduction","i-lucide-trending-down",{"title":86,"path":87,"stem":88,"children":89,"page":40},"Cluster Guides","\u002Fen\u002Fcluster-guides","en\u002F5.cluster-guides",[90,116,121],{"title":91,"path":92,"stem":93,"children":94,"page":40},"Local Clusters","\u002Fen\u002Fcluster-guides\u002Flocal-clusters","en\u002F5.cluster-guides\u002F1.local-clusters",[95,100,104,108,112],{"title":96,"path":97,"stem":98,"icon":99},"Colima Kubernetes","\u002Fen\u002Fcluster-guides\u002Flocal-clusters\u002Fcolima","en\u002F5.cluster-guides\u002F1.local-clusters\u002F1.colima","i-simple-icons-kubernetes",{"title":101,"path":102,"stem":103,"icon":24},"Docker Desktop Kubernetes (OSX)","\u002Fen\u002Fcluster-guides\u002Flocal-clusters\u002Fdocker-desktop","en\u002F5.cluster-guides\u002F1.local-clusters\u002F2.docker-desktop",{"title":105,"path":106,"stem":107},"k3d","\u002Fen\u002Fcluster-guides\u002Flocal-clusters\u002Fk3d","en\u002F5.cluster-guides\u002F1.local-clusters\u002F3.k3d",{"title":109,"path":110,"stem":111},"kind","\u002Fen\u002Fcluster-guides\u002Flocal-clusters\u002Fkind","en\u002F5.cluster-guides\u002F1.local-clusters\u002F4.kind",{"title":113,"path":114,"stem":115,"icon":99},"minikube","\u002Fen\u002Fcluster-guides\u002Flocal-clusters\u002Fminikube","en\u002F5.cluster-guides\u002F1.local-clusters\u002F5.minikube",{"title":117,"path":118,"stem":119,"icon":120},"Overview","\u002Fen\u002Fcluster-guides\u002Foverview","en\u002F5.cluster-guides\u002F1.overview","i-lucide-network",{"title":122,"path":123,"stem":124,"children":125,"page":40},"Remote Clouds","\u002Fen\u002Fcluster-guides\u002Fremote-clouds","en\u002F5.cluster-guides\u002F2.remote-clouds",[126,131,136],{"title":127,"path":128,"stem":129,"icon":130},"Google Cloud Platform (GCP)","\u002Fen\u002Fcluster-guides\u002Fremote-clouds\u002Fgke","en\u002F5.cluster-guides\u002F2.remote-clouds\u002F1.gke","i-material-icon-theme:gcp",{"title":132,"path":133,"stem":134,"icon":135},"Elastic Kubernetes Service (EKS)","\u002Fen\u002Fcluster-guides\u002Fremote-clouds\u002Feks","en\u002F5.cluster-guides\u002F2.remote-clouds\u002F2.eks","i-simple-icons-amazoneks",{"title":137,"path":138,"stem":139,"icon":99},"SysEleven MetaKube","\u002Fen\u002Fcluster-guides\u002Fremote-clouds\u002Fsyseleven","en\u002F5.cluster-guides\u002F2.remote-clouds\u002F3.syseleven",{"title":141,"path":142,"stem":143,"children":144,"page":40},"Use Cases and Demos","\u002Fen\u002Fusecases-and-demos","en\u002F5.usecases-and-demos",[145,148,153,158,162],{"title":72,"path":146,"stem":147,"icon":10},"\u002Fen\u002Fusecases-and-demos\u002Fgetting-started","en\u002F5.usecases-and-demos\u002F1.getting-started",{"title":149,"path":150,"stem":151,"icon":152},"Developing Go Applications with Gefyra","\u002Fen\u002Fusecases-and-demos\u002Fgolang","en\u002F5.usecases-and-demos\u002F2.golang","i-simple-icons-go",{"title":154,"path":155,"stem":156,"icon":157},"OAuth2 Demo with a Sidecar","\u002Fen\u002Fusecases-and-demos\u002Foauth2-demo","en\u002F5.usecases-and-demos\u002F3.oauth2-demo","i-devicon-plain:oauth",{"title":159,"path":160,"stem":161,"icon":130},"Remote Development on Google Kubernetes Engine","\u002Fen\u002Fusecases-and-demos\u002Fremote-gke","en\u002F5.usecases-and-demos\u002F4.remote-gke",{"title":163,"path":164,"stem":165,"icon":166},"Run an Ubuntu Container instance","\u002Fen\u002Fusecases-and-demos\u002Fubuntu-in-namespace","en\u002F5.usecases-and-demos\u002F5.ubuntu-in-namespace","i-simple-icons-ubuntu",{"title":168,"path":169,"stem":170,"children":171,"page":40},"Architecture","\u002Fen\u002Farchitecture","en\u002F6.architecture",[172,176],{"title":168,"path":173,"stem":174,"icon":175},"\u002Fen\u002Farchitecture\u002Fhow-gefyra-works","en\u002F6.architecture\u002F1.how-gefyra-works","i-lucide-square-chevron-right",{"title":177,"path":178,"stem":179,"icon":180},"Gefyra Components","\u002Fen\u002Farchitecture\u002Fcomponents","en\u002F6.architecture\u002F2.components","i-lucide-circle-question-mark",{"title":182,"path":183,"stem":184,"children":185,"page":40},"Comparisons","\u002Fen\u002Fcomparisons","en\u002F7.comparisons",[186,191],{"title":187,"path":188,"stem":189,"icon":190},"Gefyra vs. Telepresence","\u002Fen\u002Fcomparisons\u002Fgefyra-vs-telepresence","en\u002F7.comparisons\u002F1.gefyra-vs-telepresence","i-lucide-git-compare",{"title":192,"path":193,"stem":194,"icon":190},"Gefyra vs. mirrord","\u002Fen\u002Fcomparisons\u002Fgefyra-vs-mirrord","en\u002F7.comparisons\u002F2.gefyra-vs-mirrord",{"title":196,"path":197,"stem":198,"children":199,"page":40},"Reference","\u002Fen\u002Freference","en\u002F8.reference",[200,205,210,215,220],{"title":201,"path":202,"stem":203,"icon":204},"CLI","\u002Fen\u002Freference\u002Fcli","en\u002F8.reference\u002F1.cli","i-lucide-square-terminal",{"title":206,"path":207,"stem":208,"icon":209},"CRD Reference","\u002Fen\u002Freference\u002Fcrd-reference","en\u002F8.reference\u002F2.crd-reference","i-lucide-file-code",{"title":211,"path":212,"stem":213,"icon":214},"What changed in Gefyra 2?","\u002Fen\u002Freference\u002Fv1-vs-v2","en\u002F8.reference\u002F3.v1-vs-v2","i-lucide-history",{"title":216,"path":217,"stem":218,"icon":219},"Media","\u002Fen\u002Freference\u002Fmedia","en\u002F8.reference\u002F4.media","i-lucide-play",{"title":221,"path":222,"stem":223,"icon":224},"About","\u002Fen\u002Freference\u002Fabout","en\u002F8.reference\u002F5.about","i-lucide-info",{"id":226,"title":227,"body":228,"description":875,"extension":876,"links":877,"meta":878,"navigation":879,"path":58,"seo":880,"stem":59,"__hash__":881},"docs_en\u002Fen\u002F3.developer-workflows\u002F3.bridge-vs-run.md","Run vs. Bridge: Two Modes of Kubernetes Interception",{"type":229,"value":230,"toc":859},"minimark",[231,249,252,255,260,370,372,376,381,383,389,396,404,441,445,587,590,592,598,607,612,627,631,794,805,855],[232,233,234,235,242,243,248],"p",{},"Gefyra provides two fundamental operational modes for connecting local containers to your Kubernetes cluster: ",[236,237,238],"strong",{},[239,240,241],"code",{},"gefyra run"," and ",[236,244,245],{},[239,246,247],{},"gefyra bridge",".",[232,250,251],{},"Understanding when to use each command ensures clean workflows, avoids unnecessary pod modifications, and accelerates your development loop.",[253,254],"hr",{},[256,257,259],"h2",{"id":258},"comparison-matrix","Comparison Matrix",[261,262,263,284],"table",{},[264,265,266],"thead",{},[267,268,269,274,279],"tr",{},[270,271,273],"th",{"align":272},"left","Dimension",[270,275,276,278],{"align":272},[239,277,241],{}," (Outbound Only)",[270,280,281,283],{"align":272},[239,282,247],{}," (Inbound Interception)",[285,286,287,301,320,339,357],"tbody",{},[267,288,289,295,298],{},[290,291,292],"td",{"align":272},[236,293,294],{},"Primary Goal",[290,296,297],{"align":272},"Talk to in-cluster services from local code",[290,299,300],{"align":272},"Replace a remote pod with local code to handle incoming traffic",[267,302,303,308,314],{},[290,304,305],{"align":272},[236,306,307],{},"Traffic Direction",[290,309,310,313],{"align":272},[236,311,312],{},"Outbound:"," Local ➔ Remote Cluster",[290,315,316,319],{"align":272},[236,317,318],{},"Bidirectional:"," Remote Ingress ➔ Local Container ➔ Remote Services",[267,321,322,327,333],{},[290,323,324],{"align":272},[236,325,326],{},"Cluster Manifest Modification",[290,328,329,332],{"align":272},[236,330,331],{},"Zero."," No cluster pods or deployments are patched",[290,334,335,338],{"align":272},[236,336,337],{},"Temporary Patch."," Injects Carrier2 proxy sidecar into target pod",[267,340,341,346,349],{},[290,342,343],{"align":272},[236,344,345],{},"Multi-Developer Support",[290,347,348],{"align":272},"Unlimited developers can run containers simultaneously",[290,350,351,352,356],{"align":272},"Multiple developers cannot bridge the ",[353,354,355],"em",{},"same"," container simultaneously",[267,358,359,364,367],{},[290,360,361],{"align":272},[236,362,363],{},"Typical Use Cases",[290,365,366],{"align":272},"Database migrations, background workers, integration test runners, one-off scripts",[290,368,369],{"align":272},"Web APIs, REST\u002FGraphQL endpoints, microservices receiving ingress requests",[253,371],{},[256,373,375],{"id":374},"architectural-comparison","Architectural Comparison",[377,378],"content-mermaid-transport",{":page-data":379,"code":380},"runtimeData","flowchart%20TD%0A%20%20%20%20subgraph%20RunMode%0A%20%20%20%20%20%20%20%20direction%20LR%0A%20%20%20%20%20%20%20%20RunTitle%5B%5B%22gefyra%20run%20(Outbound)%22%5D%5D%20~~~%20LocalContainer1%5B%22Local%20Container%3Cbr%2F%3E(Migration%20%2F%20Script)%22%5D%0A%20%20%20%20%20%20%20%20LocalContainer1%20--%3E%7CQueries%20Cluster%20DB%7C%20ClusterDB%5B(%22Cluster%20Postgres%20%2F%20CoreDNS%22)%5D%0A%20%20%20%20end%0A%0A%20%20%20%20subgraph%20BridgeMode%0A%20%20%20%20%20%20%20%20direction%20LR%0A%20%20%20%20%20%20%20%20BridgeTitle%5B%5B%22gefyra%20bridge%20(Inbound)%22%5D%5D%20~~~%20ClusterIngress%5B%22K8s%20Ingress%20%2F%20Gateway%22%5D%0A%20%20%20%20%20%20%20%20ClusterIngress%20--%3E%7CIntercepts%20Traffic%7C%20LocalContainer2%5B%22Local%20Container%3Cbr%2F%3E(Your%20Code)%22%5D%0A%20%20%20%20%20%20%20%20LocalContainer2%20--%3E%7CQueries%20DB%20%2F%20Microservices%7C%20ClusterDB2%5B(%22Cluster%20Postgres%20%2F%20CoreDNS%22)%5D%0A%20%20%20%20end%0A%0A%20%20%20%20classDef%20groupTitle%20fill%3Atransparent%2Cstroke%3Anone%3B%0A%20%20%20%20classDef%20runBox%20stroke-width%3A2px%3B%0A%20%20%20%20classDef%20bridgeBox%20stroke-width%3A2px%3B%0A%20%20%20%20class%20RunTitle%2CBridgeTitle%20groupTitle%3B%0A%20%20%20%20class%20RunMode%20runBox%3B%0A%20%20%20%20class%20BridgeMode%20bridgeBox%3B",[253,382],{},[256,384,386,387],{"id":385},"mode-1-gefyra-run","Mode 1: ",[239,388,241],{},[232,390,391,392,395],{},"The ",[239,393,394],{},"run"," command executes an arbitrary Docker or Podman container on your local machine and joins it directly to the cluster's network fabric.",[397,398,400,401,403],"h3",{"id":399},"when-to-use-gefyra-run","When to use ",[239,402,241],{},":",[405,406,407,419,426],"ul",{},[408,409,410,411,414,415,418],"li",{},"You need to run a ",[236,412,413],{},"database migration script"," (",[239,416,417],{},"python manage.py migrate"," or Flyway) against a private in-cluster database.",[408,420,421,422,425],{},"You are writing a ",[236,423,424],{},"background worker"," or Kafka\u002FRabbitMQ consumer that only initiates outbound connections and does not receive incoming HTTP traffic.",[408,427,428,429,432,433,436,437,440],{},"You want to run an ",[236,430,431],{},"integration test suite"," (e.g. ",[239,434,435],{},"pytest"," or ",[239,438,439],{},"jest",") from your local machine against live staging APIs.",[397,442,444],{"id":443},"example-running-a-migration-against-staging","Example: Running a Migration Against Staging",[446,447,452],"pre",{"className":448,"code":449,"language":450,"meta":451,"style":451},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# Connect to the cluster\ngefyra up\n\n# Run a container that connects to the in-cluster PostgreSQL service\ngefyra run \\\n  -i my-django-app:latest \\\n  -N migration-runner \\\n  -e DATABASE_URL=\"postgresql:\u002F\u002Fuser:pass@postgres.staging.svc.cluster.local:5432\u002Fapp_db\" \\\n  -v $(pwd):\u002Fapp \\\n  -w \u002Fapp \\\n  -c \"python manage.py migrate\"\n","bash","",[239,453,454,463,474,481,487,499,510,521,541,562,573],{"__ignoreMap":451},[455,456,459],"span",{"class":457,"line":458},"line",1,[455,460,462],{"class":461},"sHwdD","# Connect to the cluster\n",[455,464,466,470],{"class":457,"line":465},2,[455,467,469],{"class":468},"sBMFI","gefyra",[455,471,473],{"class":472},"sfazB"," up\n",[455,475,477],{"class":457,"line":476},3,[455,478,480],{"emptyLinePlaceholder":479},true,"\n",[455,482,484],{"class":457,"line":483},4,[455,485,486],{"class":461},"# Run a container that connects to the in-cluster PostgreSQL service\n",[455,488,490,492,495],{"class":457,"line":489},5,[455,491,469],{"class":468},[455,493,494],{"class":472}," run",[455,496,498],{"class":497},"sTEyZ"," \\\n",[455,500,502,505,508],{"class":457,"line":501},6,[455,503,504],{"class":472},"  -i",[455,506,507],{"class":472}," my-django-app:latest",[455,509,498],{"class":497},[455,511,513,516,519],{"class":457,"line":512},7,[455,514,515],{"class":472},"  -N",[455,517,518],{"class":472}," migration-runner",[455,520,498],{"class":497},[455,522,524,527,530,534,537,539],{"class":457,"line":523},8,[455,525,526],{"class":472},"  -e",[455,528,529],{"class":472}," DATABASE_URL=",[455,531,533],{"class":532},"sMK4o","\"",[455,535,536],{"class":472},"postgresql:\u002F\u002Fuser:pass@postgres.staging.svc.cluster.local:5432\u002Fapp_db",[455,538,533],{"class":532},[455,540,498],{"class":497},[455,542,544,547,550,554,557,560],{"class":457,"line":543},9,[455,545,546],{"class":472},"  -v",[455,548,549],{"class":532}," $(",[455,551,553],{"class":552},"s2Zo4","pwd",[455,555,556],{"class":532},")",[455,558,559],{"class":472},":\u002Fapp",[455,561,498],{"class":497},[455,563,565,568,571],{"class":457,"line":564},10,[455,566,567],{"class":472},"  -w",[455,569,570],{"class":472}," \u002Fapp",[455,572,498],{"class":497},[455,574,576,579,582,584],{"class":457,"line":575},11,[455,577,578],{"class":472},"  -c",[455,580,581],{"class":532}," \"",[455,583,417],{"class":472},[455,585,586],{"class":532},"\"\n",[232,588,589],{},"No pods in your Kubernetes cluster are modified. The container simply runs locally with in-cluster DNS resolution and WireGuard routing.",[253,591],{},[256,593,595,596],{"id":594},"mode-2-gefyra-bridge","Mode 2: ",[239,597,247],{},[232,599,391,600,603,604,606],{},[239,601,602],{},"bridge"," command builds on top of ",[239,605,394],{},". It temporarily patches a target deployment or pod in your cluster, routes all incoming traffic to your local container, and returns the response back to the cluster.",[397,608,400,610,403],{"id":609},"when-to-use-gefyra-bridge",[239,611,247],{},[405,613,614,621,624],{},[408,615,616,617,620],{},"You are developing a ",[236,618,619],{},"web API or microservice"," that receives HTTP, gRPC, or WebSocket traffic from an Ingress controller or other pods.",[408,622,623],{},"You want to set breakpoints in your IDE and inspect live incoming requests sent by frontend clients or upstream services.",[408,625,626],{},"You want to test hot-reloaded changes live inside the staging environment before creating a pull request.",[397,628,630],{"id":629},"example-mounting-and-bridging-an-in-cluster-deployment","Example: Mounting and Bridging an In-Cluster Deployment",[446,632,634],{"className":448,"code":633,"language":450,"meta":451,"style":451},"# 1. Start your local container with volume hot-reloading\ngefyra run \\\n  -i my-api:dev \\\n  -N local-api \\\n  -v $(pwd)\u002Fsrc:\u002Fapp\u002Fsrc \\\n  -c \"uvicorn src.main:app --host 0.0.0.0 --port 8000 --reload\" \\\n  -d\n\n# 2. Mount the staging deployment with Carrier2\ngefyra mount create --target deployment\u002Forder-service\u002Fapi --name order-mount\n\n# 3. Bridge incoming cluster traffic to your local container\ngefyra bridge create \\\n  --mount order-mount \\\n  -p 8000:8000 \\\n  -t local-api \\\n  --match-path-prefix \u002F\n",[239,635,636,641,649,658,667,682,695,700,704,709,731,735,741,753,764,775,785],{"__ignoreMap":451},[455,637,638],{"class":457,"line":458},[455,639,640],{"class":461},"# 1. Start your local container with volume hot-reloading\n",[455,642,643,645,647],{"class":457,"line":465},[455,644,469],{"class":468},[455,646,494],{"class":472},[455,648,498],{"class":497},[455,650,651,653,656],{"class":457,"line":476},[455,652,504],{"class":472},[455,654,655],{"class":472}," my-api:dev",[455,657,498],{"class":497},[455,659,660,662,665],{"class":457,"line":483},[455,661,515],{"class":472},[455,663,664],{"class":472}," local-api",[455,666,498],{"class":497},[455,668,669,671,673,675,677,680],{"class":457,"line":489},[455,670,546],{"class":472},[455,672,549],{"class":532},[455,674,553],{"class":552},[455,676,556],{"class":532},[455,678,679],{"class":472},"\u002Fsrc:\u002Fapp\u002Fsrc",[455,681,498],{"class":497},[455,683,684,686,688,691,693],{"class":457,"line":501},[455,685,578],{"class":472},[455,687,581],{"class":532},[455,689,690],{"class":472},"uvicorn src.main:app --host 0.0.0.0 --port 8000 --reload",[455,692,533],{"class":532},[455,694,498],{"class":497},[455,696,697],{"class":457,"line":512},[455,698,699],{"class":472},"  -d\n",[455,701,702],{"class":457,"line":523},[455,703,480],{"emptyLinePlaceholder":479},[455,705,706],{"class":457,"line":543},[455,707,708],{"class":461},"# 2. Mount the staging deployment with Carrier2\n",[455,710,711,713,716,719,722,725,728],{"class":457,"line":564},[455,712,469],{"class":468},[455,714,715],{"class":472}," mount",[455,717,718],{"class":472}," create",[455,720,721],{"class":472}," --target",[455,723,724],{"class":472}," deployment\u002Forder-service\u002Fapi",[455,726,727],{"class":472}," --name",[455,729,730],{"class":472}," order-mount\n",[455,732,733],{"class":457,"line":575},[455,734,480],{"emptyLinePlaceholder":479},[455,736,738],{"class":457,"line":737},12,[455,739,740],{"class":461},"# 3. Bridge incoming cluster traffic to your local container\n",[455,742,744,746,749,751],{"class":457,"line":743},13,[455,745,469],{"class":468},[455,747,748],{"class":472}," bridge",[455,750,718],{"class":472},[455,752,498],{"class":497},[455,754,756,759,762],{"class":457,"line":755},14,[455,757,758],{"class":472},"  --mount",[455,760,761],{"class":472}," order-mount",[455,763,498],{"class":497},[455,765,767,770,773],{"class":457,"line":766},15,[455,768,769],{"class":472},"  -p",[455,771,772],{"class":472}," 8000:8000",[455,774,498],{"class":497},[455,776,778,781,783],{"class":457,"line":777},16,[455,779,780],{"class":472},"  -t",[455,782,664],{"class":472},[455,784,498],{"class":497},[455,786,788,791],{"class":457,"line":787},17,[455,789,790],{"class":472},"  --match-path-prefix",[455,792,793],{"class":472}," \u002F\n",[232,795,796,797,800,801,804],{},"Traffic arriving at the ",[239,798,799],{},"order-service"," deployment in Kubernetes is immediately forwarded to your local container on port ",[239,802,803],{},"8000",". When you stop development, delete the bridge and unmount the workload to cleanly restore the original pod:",[446,806,808],{"className":448,"code":807,"language":450,"meta":451,"style":451},"# 1. Delete the active bridge\ngefyra bridge delete \u003Cbridge-id>\n\n# 2. Remove the mount and restore the original pod image\ngefyra mount delete order-mount\n",[239,809,810,815,836,840,845],{"__ignoreMap":451},[455,811,812],{"class":457,"line":458},[455,813,814],{"class":461},"# 1. Delete the active bridge\n",[455,816,817,819,821,824,827,830,833],{"class":457,"line":465},[455,818,469],{"class":468},[455,820,748],{"class":472},[455,822,823],{"class":472}," delete",[455,825,826],{"class":532}," \u003C",[455,828,829],{"class":472},"bridge-i",[455,831,832],{"class":497},"d",[455,834,835],{"class":532},">\n",[455,837,838],{"class":457,"line":476},[455,839,480],{"emptyLinePlaceholder":479},[455,841,842],{"class":457,"line":483},[455,843,844],{"class":461},"# 2. Remove the mount and restore the original pod image\n",[455,846,847,849,851,853],{"class":457,"line":489},[455,848,469],{"class":468},[455,850,715],{"class":472},[455,852,823],{"class":472},[455,854,730],{"class":472},[856,857,858],"style",{},"html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":451,"searchDepth":465,"depth":465,"links":860},[861,862,863,869],{"id":258,"depth":465,"text":259},{"id":374,"depth":465,"text":375},{"id":385,"depth":465,"text":864,"children":865},"Mode 1: gefyra run",[866,868],{"id":399,"depth":476,"text":867},"When to use gefyra run:",{"id":443,"depth":476,"text":444},{"id":594,"depth":465,"text":870,"children":871},"Mode 2: gefyra bridge",[872,874],{"id":609,"depth":476,"text":873},"When to use gefyra bridge:",{"id":629,"depth":476,"text":630},"Understand the difference between Gefyra's run and bridge commands. Learn when to use outbound-only cluster access vs. full inbound traffic interception.","md",null,{},{"title":57,"icon":60},{"title":227,"description":875},"NATX8AolAvrsxCJJ-iVXpBaMIYXBn6NegvyQ5RTGnIg",[883,885],{"title":52,"path":53,"stem":54,"description":884,"icon":55,"children":-1},"Set live breakpoints in VS Code, PyCharm, and IntelliJ while stepping through requests intercepted directly from your Kubernetes staging cluster.",{"title":62,"path":63,"stem":64,"description":886,"icon":65,"children":-1},"Query remote cluster databases, Redis caches, and private microservices directly from your local development containers without port-forwarding or fragile mocks.",1795114694100]