[{"data":1,"prerenderedAt":288},["ShallowReactive",2],{"navigation_docs_en":3,"-en-information-run-vs-bridge":175,"-en-information-run-vs-bridge-surround":283},[4,35,64,86,108,135,150],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Quick Start",false,"/en/quick-start","en/1.quick-start",[10,15,20,25,30],{"title":11,"path":12,"stem":13,"icon":14},"Introduction","/en/quick-start/introduction","en/1.quick-start/1.introduction","i-lucide-house",{"title":16,"path":17,"stem":18,"icon":19},"Installation","/en/quick-start/installation","en/1.quick-start/2.installation","i-lucide-download",{"title":21,"path":22,"stem":23,"icon":24},"Getting Started","/en/quick-start/getting-started","en/1.quick-start/3.getting-started","i-lucide-rocket",{"title":26,"path":27,"stem":28,"icon":29},"Docker Desktop Extension","/en/quick-start/docker-desktop-extension","en/1.quick-start/4.docker-desktop-extension","i-simple-icons-docker",{"title":31,"path":32,"stem":33,"icon":34},"CLI","/en/quick-start/cli","en/1.quick-start/5.cli","i-lucide-square-terminal",{"title":36,"path":37,"stem":38,"children":39,"page":6},"Local Environments","/en/local-environments","en/2.local-environments",[40,43,48,52,56,60],{"title":21,"path":41,"stem":42,"icon":24},"/en/local-environments/getting-started","en/2.local-environments/1.getting-started",{"title":44,"path":45,"stem":46,"icon":47},"Colima Kubernetes","/en/local-environments/colima","en/2.local-environments/2.colima","i-simple-icons-kubernetes",{"title":49,"path":50,"stem":51,"icon":29},"Docker Desktop Kubernetes (OSX)","/en/local-environments/docker-desktop-osx","en/2.local-environments/3.docker-desktop-osx",{"title":53,"path":54,"stem":55},"k3d","/en/local-environments/k3d","en/2.local-environments/4.k3d",{"title":57,"path":58,"stem":59},"kind","/en/local-environments/kind","en/2.local-environments/5.kind",{"title":61,"path":62,"stem":63},"minikube","/en/local-environments/minikube","en/2.local-environments/5.minikube",{"title":65,"path":66,"stem":67,"children":68,"page":6},"Shared Environments","/en/shared-environments","en/3.shared-environments",[69,72,76,81],{"title":21,"path":70,"stem":71,"icon":24},"/en/shared-environments/getting-started","en/3.shared-environments/1.getting-started",{"title":73,"path":74,"stem":75,"icon":19},"Installing Gefyra in a Cluster","/en/shared-environments/installation","en/3.shared-environments/2.installation",{"title":77,"path":78,"stem":79,"icon":80},"Managing Gefyra Clients","/en/shared-environments/clients","en/3.shared-environments/3.clients","i-lucide-computer",{"title":82,"path":83,"stem":84,"icon":85},"Connecting to Gefyra","/en/shared-environments/connecting","en/3.shared-environments/4.connecting","i-lucide-link",{"title":87,"path":88,"stem":89,"children":90,"page":6},"Remote K8s","/en/remote-k8s","en/4.remote-k8s",[91,94,99,104],{"title":21,"path":92,"stem":93,"icon":24},"/en/remote-k8s/getting-started","en/4.remote-k8s/1.getting-started",{"title":95,"path":96,"stem":97,"icon":98},"Google Cloud Platform (GCP)","/en/remote-k8s/gcp","en/4.remote-k8s/2.gcp","i-material-icon-theme:gcp",{"title":100,"path":101,"stem":102,"icon":103},"Elastic Kubernetes Service (EKS)","/en/remote-k8s/eks","en/4.remote-k8s/3.eks","i-simple-icons-amazoneks",{"title":105,"path":106,"stem":107,"icon":47},"SysEleven MetaKubde Kubernetes","/en/remote-k8s/sys11","en/4.remote-k8s/4.sys11",{"title":109,"path":110,"stem":111,"children":112,"page":6},"Use Cases and Demos","/en/usecases-and-demos","en/5.usecases-and-demos",[113,116,121,126,130],{"title":21,"path":114,"stem":115,"icon":24},"/en/usecases-and-demos/getting-started","en/5.usecases-and-demos/1.getting-started",{"title":117,"path":118,"stem":119,"icon":120},"Developing Go Applications with Gefyra","/en/usecases-and-demos/golang","en/5.usecases-and-demos/2.golang","i-simple-icons-go",{"title":122,"path":123,"stem":124,"icon":125},"OAuth2 Demo with a Sidecar","/en/usecases-and-demos/oauth2-demo","en/5.usecases-and-demos/3.oauth2-demo","i-devicon-plain:oauth",{"title":127,"path":128,"stem":129,"icon":98},"Remote Development on Google Kubernetes Engine","/en/usecases-and-demos/remote-gke","en/5.usecases-and-demos/4.remote-gke",{"title":131,"path":132,"stem":133,"icon":134},"Run an Ubuntu Container instance","/en/usecases-and-demos/ubuntu-in-namespace","en/5.usecases-and-demos/5.ubuntu-in-namespace","i-simple-icons-ubuntu",{"title":136,"path":137,"stem":138,"children":139,"page":6},"Technical Details","/en/technical-details","en/6.technical-details",[140,145],{"title":141,"path":142,"stem":143,"icon":144},"Architecture","/en/technical-details/architecture","en/6.technical-details/1.architecture","i-lucide-square-chevron-right",{"title":146,"path":147,"stem":148,"icon":149},"What is Gefyra?","/en/technical-details/what-is-gefyra","en/6.technical-details/2.what-is-gefyra","i-lucide-circle-question-mark",{"title":151,"path":152,"stem":153,"children":154,"page":6},"Information","/en/information","en/7.information",[155,160,165,170],{"title":156,"path":157,"stem":158,"icon":159},"Run vs. Bridge","/en/information/run-vs-bridge","en/7.information/1.run-vs-bridge","i-lucide-git-compare-arrows",{"title":161,"path":162,"stem":163,"icon":164},"What changed in Gefyra 2?","/en/information/v1-vs-v2","en/7.information/2.v1-vs-v2","i-lucide-history",{"title":166,"path":167,"stem":168,"icon":169},"Media","/en/information/media","en/7.information/3.media","i-lucide-play",{"title":171,"path":172,"stem":173,"icon":174},"About","/en/information/about","en/7.information/4.about","i-lucide-info",{"id":176,"title":177,"body":178,"description":276,"extension":277,"links":278,"meta":279,"navigation":280,"path":157,"seo":281,"stem":158,"__hash__":282},"docs_en/en/7.information/1.run-vs-bridge.md","Run vs. Bridge Operation",{"type":179,"value":180,"toc":270},"minimark",[181,236,241,248,251,255,267],[182,183,184,199],"table",{},[185,186,187],"thead",{},[188,189,190,193,196],"tr",{},[191,192],"th",{},[191,194,195],{},"Run",[191,197,198],{},"Bridge",[200,201,202,214,225],"tbody",{},[188,203,204,208,211],{},[205,206,207],"td",{},"What",[205,209,210],{},"Run a local container and connect it to a Kubernetes cluster",[205,212,213],{},"Build on top of run. Connect a local container to a Kubernetes cluster and reroute traffic to it",[188,215,216,219,222],{},[205,217,218],{},"Multi-User",[205,220,221],{},"Multiple users can run multiple containers connected to the same cluster",[205,223,224],{},"Multiple users cannot bridge the same workload",[188,226,227,230,233],{},[205,228,229],{},"When",[205,231,232],{},"When you want to test a service in the cluster or write code that depends on Kubernetes resources",[205,234,235],{},"When you want to expose a local container to other services within the cluster",[237,238,240],"h2",{"id":239},"run-operation","Run Operation",[242,243,244,247],"p",{},[245,246,195],"strong",{}," -  allows to run a local container and connect it to a Kubernetes cluster. It is executed within a given namespace and can communicate\nwith other services running in the cluster. This allows your local container to talk to things databases or internal APIs within the cluster\nyou connected it to. Multiple users can run multiple containers connected to the same cluster.",[242,249,250],{},"TODO: Add Run Animation",[237,252,254],{"id":253},"bridge-operation","Bridge Operation",[242,256,257,259,260,263,264,266],{},[245,258,198],{}," - builds on top of ",[261,262,195],"code",{},". In certain situation you want other services to connect to your local container. For this, your local container\nneeds some kind of representation within the Kubernetes cluster it is connected to. With ",[261,265,198],{}," Gefyra patches a given workload within your\nKubernetes cluster and reroutes all the incoming traffic to your local container. Multiple users cannot bridge the same workload.",[242,268,269],{},"TODO: Add Bridge Animation",{"title":271,"searchDepth":272,"depth":272,"links":273},"",2,[274,275],{"id":239,"depth":272,"text":240},{"id":253,"depth":272,"text":254},"Gefyra support two modes of operation: run and bridge. Let's dive into the differences.","md",null,{},{"title":156,"icon":159},{"title":177,"description":276},"FD4v2uLIigpUMhpk51ZpEEsw_LPGvs4hkbi7lj3YAhM",[284,286],{"title":146,"path":147,"stem":148,"description":285,"icon":149,"children":-1},"Gefyra is a toolkit written in Python to organize a local development infrastructure in order to produce software for and with Kubernetes while having fun. It is installed on any development computer and starts its work when it is asked. Gefyra runs as a user-space application and controls the local Docker host and Kubernetes via Kubernetes Python Client.",{"title":161,"path":162,"stem":163,"description":287,"icon":164,"children":-1},"Operator - Gefyra's operator was completely refactored. It now acts as a state machine and shows much more stable and consistent\nbehaviour. It manages 2 custom resources - GefyraClients and GefyraBridges.",1775752112359]