[{"data":1,"prerenderedAt":1009},["ShallowReactive",2],{"navigation_docs_en":3,"-en-developer-workflows-hot-reloading":225,"-en-developer-workflows-hot-reloading-surround":1004},[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":997,"extension":998,"links":999,"meta":1000,"navigation":1001,"path":48,"seo":1002,"stem":49,"__hash__":1003},"docs_en\u002Fen\u002F3.developer-workflows\u002F1.hot-reloading.md","Instant In-Cluster Hot-Reloading",{"type":229,"value":230,"toc":984},"minimark",[231,240,243,249,252,257,262,284,286,290,295,303,491,498,500,504,614,616,620,627,738,741,743,747,757,867,870,872,876,880,883,970,974,980],[232,233,234,235,239],"p",{},"The core promise of Gefyra is ",[236,237,238],"strong",{},"collapsing the inner development loop from 20 minutes down to sub-second speeds",".",[232,241,242],{},"Traditional Kubernetes development requires you to rebuild your Docker image, tag it, push it to an image registry, update a Kubernetes deployment manifest, and wait for pod rollouts on every single code change.",[232,244,245,246,239],{},"With Gefyra, you mount your local source code directly into your local container. Your framework's native hot-reloading engine watches for file changes on your host filesystem—and when you save, ",[236,247,248],{},"the live remote Kubernetes cluster immediately serves the updated code",[250,251],"hr",{},[253,254,256],"h2",{"id":255},"how-hot-reloading-works-with-gefyra","How Hot-Reloading Works with Gefyra",[258,259],"content-mermaid-transport",{":page-data":260,"code":261},"runtimeData","flowchart%20TD%0A%20%20%20%20subgraph%20Host%0A%20%20%20%20%20%20%20%20HostTitle%5B%5B%22Local%20Workstation%22%5D%5D%20~~~%20Editor%5B%221.%20IDE%20%2F%20Editor%3Cbr%2F%3E(Hit%20Save)%22%5D%0A%20%20%20%20%20%20%20%20Editor%20--%3E%7CFile%20Watcher%7C%20Volume%5B%222.%20Local%20Host%20Volume%3Cbr%2F%3E(-v%20%24PWD%3A%2Fapp)%22%5D%0A%20%20%20%20%20%20%20%20Volume%20--%3E%20Engine%5B%223.%20Dev%20Server%20Hot-Reload%3Cbr%2F%3E(Django%2FVite%2FAir%3A%200.2s)%22%5D%0A%20%20%20%20end%0A%0A%20%20%20%20Engine%20%3C%3D%3D%3E%7C%224.%20Live%20WireGuard%20Bridge%22%7C%20Pod%5B%225.%20Remote%20Staging%20Pod%3Cbr%2F%3E(Gefyra%20Carrier2)%22%5D%0A%20%20%20%20Pod%20--%3E%20Ingress%5B%226.%20Live%20Ingress%20%2F%20Users%22%5D%0A%0A%20%20%20%20classDef%20groupTitle%20fill%3Atransparent%2Cstroke%3Anone%3B%0A%20%20%20%20classDef%20gefyra%20stroke-width%3A2px%3B%0A%20%20%20%20classDef%20remote%20stroke-width%3A2px%3B%0A%20%20%20%20class%20HostTitle%20groupTitle%3B%0A%20%20%20%20class%20Host%20gefyra%3B%0A%20%20%20%20class%20Pod%2CIngress%20remote%3B",[263,264,265,272,278],"ol",{},[266,267,268,271],"li",{},[236,269,270],{},"Volume Mount:"," Your local workspace directory is mounted as a volume into the container running under Docker or Podman.",[266,273,274,277],{},[236,275,276],{},"File Notification:"," When you save a file in VS Code, PyCharm, or any text editor, OS-level filesystem notifications trigger the container's hot-reload engine.",[266,279,280,283],{},[236,281,282],{},"Transparent Interception:"," Gefyra routes traffic from the remote Kubernetes cluster directly to your local container port. The new code is served instantly to upstream services and ingress controllers.",[250,285],{},[253,287,289],{"id":288},"language-framework-examples","Language & Framework Examples",[291,292,294],"h3",{"id":293},"python-fastapi-with-uvicorn","Python: FastAPI with Uvicorn",[232,296,297,298,302],{},"FastAPI's ",[299,300,301],"code",{},"uvicorn --reload"," detects file changes on disk and reloads worker processes in milliseconds.",[304,305,310],"pre",{"className":306,"code":307,"language":308,"meta":309,"style":309},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# 1. Connect to cluster\ngefyra up\n\n# 2. Run local container with volume mount and hot-reload flag\ngefyra run \\\n  -i my-fastapi-app:dev \\\n  -N local-fastapi \\\n  -v $(pwd)\u002Fsrc:\u002Fapp\u002Fsrc \\\n  -c \"uvicorn src.main:app --host 0.0.0.0 --port 8000 --reload\" \\\n  -d\n\n# 3. Mount and bridge the cluster service to your local container\ngefyra mount create --target deployment\u002Ffastapi-service\u002Fapi --name fastapi-mount\ngefyra bridge create --mount fastapi-mount -p 8000:8000 -t local-fastapi --match-path-prefix \u002F\n","bash","",[299,311,312,321,332,339,345,357,368,379,401,418,424,429,435,458],{"__ignoreMap":309},[313,314,317],"span",{"class":315,"line":316},"line",1,[313,318,320],{"class":319},"sHwdD","# 1. Connect to cluster\n",[313,322,324,328],{"class":315,"line":323},2,[313,325,327],{"class":326},"sBMFI","gefyra",[313,329,331],{"class":330},"sfazB"," up\n",[313,333,335],{"class":315,"line":334},3,[313,336,338],{"emptyLinePlaceholder":337},true,"\n",[313,340,342],{"class":315,"line":341},4,[313,343,344],{"class":319},"# 2. Run local container with volume mount and hot-reload flag\n",[313,346,348,350,353],{"class":315,"line":347},5,[313,349,327],{"class":326},[313,351,352],{"class":330}," run",[313,354,356],{"class":355},"sTEyZ"," \\\n",[313,358,360,363,366],{"class":315,"line":359},6,[313,361,362],{"class":330},"  -i",[313,364,365],{"class":330}," my-fastapi-app:dev",[313,367,356],{"class":355},[313,369,371,374,377],{"class":315,"line":370},7,[313,372,373],{"class":330},"  -N",[313,375,376],{"class":330}," local-fastapi",[313,378,356],{"class":355},[313,380,382,385,389,393,396,399],{"class":315,"line":381},8,[313,383,384],{"class":330},"  -v",[313,386,388],{"class":387},"sMK4o"," $(",[313,390,392],{"class":391},"s2Zo4","pwd",[313,394,395],{"class":387},")",[313,397,398],{"class":330},"\u002Fsrc:\u002Fapp\u002Fsrc",[313,400,356],{"class":355},[313,402,404,407,410,413,416],{"class":315,"line":403},9,[313,405,406],{"class":330},"  -c",[313,408,409],{"class":387}," \"",[313,411,412],{"class":330},"uvicorn src.main:app --host 0.0.0.0 --port 8000 --reload",[313,414,415],{"class":387},"\"",[313,417,356],{"class":355},[313,419,421],{"class":315,"line":420},10,[313,422,423],{"class":330},"  -d\n",[313,425,427],{"class":315,"line":426},11,[313,428,338],{"emptyLinePlaceholder":337},[313,430,432],{"class":315,"line":431},12,[313,433,434],{"class":319},"# 3. Mount and bridge the cluster service to your local container\n",[313,436,438,440,443,446,449,452,455],{"class":315,"line":437},13,[313,439,327],{"class":326},[313,441,442],{"class":330}," mount",[313,444,445],{"class":330}," create",[313,447,448],{"class":330}," --target",[313,450,451],{"class":330}," deployment\u002Ffastapi-service\u002Fapi",[313,453,454],{"class":330}," --name",[313,456,457],{"class":330}," fastapi-mount\n",[313,459,461,463,466,468,471,474,477,480,483,485,488],{"class":315,"line":460},14,[313,462,327],{"class":326},[313,464,465],{"class":330}," bridge",[313,467,445],{"class":330},[313,469,470],{"class":330}," --mount",[313,472,473],{"class":330}," fastapi-mount",[313,475,476],{"class":330}," -p",[313,478,479],{"class":330}," 8000:8000",[313,481,482],{"class":330}," -t",[313,484,376],{"class":330},[313,486,487],{"class":330}," --match-path-prefix",[313,489,490],{"class":330}," \u002F\n",[232,492,493,494,497],{},"Whenever you save a file in ",[299,495,496],{},".\u002Fsrc",", Uvicorn reloads and the live cluster immediately serves your new logic.",[250,499],{},[291,501,503],{"id":502},"python-django-with-runserver-hurricane","Python: Django with Runserver \u002F Hurricane",[304,505,507],{"className":306,"code":506,"language":308,"meta":309,"style":309},"gefyra run \\\n  -i my-django-app:dev \\\n  -N local-django \\\n  -v $(pwd):\u002Fworkspace \\\n  -c \"python manage.py runserver 0.0.0.0:8000\" \\\n  -d\n\ngefyra mount create --target deployment\u002Fdjango-frontend\u002Fweb --name django-mount\ngefyra bridge create --mount django-mount -p 8000:8000 -t local-django --match-path-prefix \u002F\n",[299,508,509,517,526,535,550,563,567,571,589],{"__ignoreMap":309},[313,510,511,513,515],{"class":315,"line":316},[313,512,327],{"class":326},[313,514,352],{"class":330},[313,516,356],{"class":355},[313,518,519,521,524],{"class":315,"line":323},[313,520,362],{"class":330},[313,522,523],{"class":330}," my-django-app:dev",[313,525,356],{"class":355},[313,527,528,530,533],{"class":315,"line":334},[313,529,373],{"class":330},[313,531,532],{"class":330}," local-django",[313,534,356],{"class":355},[313,536,537,539,541,543,545,548],{"class":315,"line":341},[313,538,384],{"class":330},[313,540,388],{"class":387},[313,542,392],{"class":391},[313,544,395],{"class":387},[313,546,547],{"class":330},":\u002Fworkspace",[313,549,356],{"class":355},[313,551,552,554,556,559,561],{"class":315,"line":347},[313,553,406],{"class":330},[313,555,409],{"class":387},[313,557,558],{"class":330},"python manage.py runserver 0.0.0.0:8000",[313,560,415],{"class":387},[313,562,356],{"class":355},[313,564,565],{"class":315,"line":359},[313,566,423],{"class":330},[313,568,569],{"class":315,"line":370},[313,570,338],{"emptyLinePlaceholder":337},[313,572,573,575,577,579,581,584,586],{"class":315,"line":381},[313,574,327],{"class":326},[313,576,442],{"class":330},[313,578,445],{"class":330},[313,580,448],{"class":330},[313,582,583],{"class":330}," deployment\u002Fdjango-frontend\u002Fweb",[313,585,454],{"class":330},[313,587,588],{"class":330}," django-mount\n",[313,590,591,593,595,597,599,602,604,606,608,610,612],{"class":315,"line":403},[313,592,327],{"class":326},[313,594,465],{"class":330},[313,596,445],{"class":330},[313,598,470],{"class":330},[313,600,601],{"class":330}," django-mount",[313,603,476],{"class":330},[313,605,479],{"class":330},[313,607,482],{"class":330},[313,609,532],{"class":330},[313,611,487],{"class":330},[313,613,490],{"class":330},[250,615],{},[291,617,619],{"id":618},"nodejs-typescript-nextjs-or-vite","Node.js & TypeScript: Next.js or Vite",[232,621,622,623,626],{},"For frontend or Node.js microservices using Vite, Next.js, or ",[299,624,625],{},"tsx watch",":",[304,628,630],{"className":306,"code":629,"language":308,"meta":309,"style":309},"gefyra run \\\n  -i node:22-alpine \\\n  -N local-node \\\n  -v $(pwd):\u002Fapp \\\n  -c \"npm run dev\" \\\n  -d\n\ngefyra mount create --target deployment\u002Fweb-portal\u002Fportal --name portal-mount\ngefyra bridge create --mount portal-mount -p 3000:3000 -t local-node --match-path-prefix \u002F\n",[299,631,632,640,649,658,673,686,690,694,712],{"__ignoreMap":309},[313,633,634,636,638],{"class":315,"line":316},[313,635,327],{"class":326},[313,637,352],{"class":330},[313,639,356],{"class":355},[313,641,642,644,647],{"class":315,"line":323},[313,643,362],{"class":330},[313,645,646],{"class":330}," node:22-alpine",[313,648,356],{"class":355},[313,650,651,653,656],{"class":315,"line":334},[313,652,373],{"class":330},[313,654,655],{"class":330}," local-node",[313,657,356],{"class":355},[313,659,660,662,664,666,668,671],{"class":315,"line":341},[313,661,384],{"class":330},[313,663,388],{"class":387},[313,665,392],{"class":391},[313,667,395],{"class":387},[313,669,670],{"class":330},":\u002Fapp",[313,672,356],{"class":355},[313,674,675,677,679,682,684],{"class":315,"line":347},[313,676,406],{"class":330},[313,678,409],{"class":387},[313,680,681],{"class":330},"npm run dev",[313,683,415],{"class":387},[313,685,356],{"class":355},[313,687,688],{"class":315,"line":359},[313,689,423],{"class":330},[313,691,692],{"class":315,"line":370},[313,693,338],{"emptyLinePlaceholder":337},[313,695,696,698,700,702,704,707,709],{"class":315,"line":381},[313,697,327],{"class":326},[313,699,442],{"class":330},[313,701,445],{"class":330},[313,703,448],{"class":330},[313,705,706],{"class":330}," deployment\u002Fweb-portal\u002Fportal",[313,708,454],{"class":330},[313,710,711],{"class":330}," portal-mount\n",[313,713,714,716,718,720,722,725,727,730,732,734,736],{"class":315,"line":403},[313,715,327],{"class":326},[313,717,465],{"class":330},[313,719,445],{"class":330},[313,721,470],{"class":330},[313,723,724],{"class":330}," portal-mount",[313,726,476],{"class":330},[313,728,729],{"class":330}," 3000:3000",[313,731,482],{"class":330},[313,733,655],{"class":330},[313,735,487],{"class":330},[313,737,490],{"class":330},[232,739,740],{},"Vite's Hot Module Replacement (HMR) seamlessly updates the UI while API requests from the frontend resolve through Gefyra to backend cluster services.",[250,742],{},[291,744,746],{"id":745},"go-live-reload-with-air","Go: Live Reload with Air",[232,748,749,756],{},[750,751,755],"a",{"href":752,"rel":753},"https:\u002F\u002Fgithub.com\u002Fair-verse\u002Fair",[754],"nofollow","Air"," provides live-reloading for Go applications:",[304,758,760],{"className":306,"code":759,"language":308,"meta":309,"style":309},"gefyra run \\\n  -i golang:1.24 \\\n  -N local-go \\\n  -v $(pwd):\u002Fapp \\\n  -c \"air\" \\\n  -d\n\ngefyra mount create --target deployment\u002Fpayment-service\u002Fgo-service --name payment-mount\ngefyra bridge create --mount payment-mount -p 8080:8080 -t local-go --match-path-prefix \u002F\n",[299,761,762,770,779,788,802,815,819,823,841],{"__ignoreMap":309},[313,763,764,766,768],{"class":315,"line":316},[313,765,327],{"class":326},[313,767,352],{"class":330},[313,769,356],{"class":355},[313,771,772,774,777],{"class":315,"line":323},[313,773,362],{"class":330},[313,775,776],{"class":330}," golang:1.24",[313,778,356],{"class":355},[313,780,781,783,786],{"class":315,"line":334},[313,782,373],{"class":330},[313,784,785],{"class":330}," local-go",[313,787,356],{"class":355},[313,789,790,792,794,796,798,800],{"class":315,"line":341},[313,791,384],{"class":330},[313,793,388],{"class":387},[313,795,392],{"class":391},[313,797,395],{"class":387},[313,799,670],{"class":330},[313,801,356],{"class":355},[313,803,804,806,808,811,813],{"class":315,"line":347},[313,805,406],{"class":330},[313,807,409],{"class":387},[313,809,810],{"class":330},"air",[313,812,415],{"class":387},[313,814,356],{"class":355},[313,816,817],{"class":315,"line":359},[313,818,423],{"class":330},[313,820,821],{"class":315,"line":370},[313,822,338],{"emptyLinePlaceholder":337},[313,824,825,827,829,831,833,836,838],{"class":315,"line":381},[313,826,327],{"class":326},[313,828,442],{"class":330},[313,830,445],{"class":330},[313,832,448],{"class":330},[313,834,835],{"class":330}," deployment\u002Fpayment-service\u002Fgo-service",[313,837,454],{"class":330},[313,839,840],{"class":330}," payment-mount\n",[313,842,843,845,847,849,851,854,856,859,861,863,865],{"class":315,"line":403},[313,844,327],{"class":326},[313,846,465],{"class":330},[313,848,445],{"class":330},[313,850,470],{"class":330},[313,852,853],{"class":330}," payment-mount",[313,855,476],{"class":330},[313,857,858],{"class":330}," 8080:8080",[313,860,482],{"class":330},[313,862,785],{"class":330},[313,864,487],{"class":330},[313,866,490],{"class":330},[232,868,869],{},"When Go files change, Air recompiles the binary in under 2 seconds and restarts the listening process inside the bridged container.",[250,871],{},[253,873,875],{"id":874},"troubleshooting-inotify-on-linux-docker-desktop","Troubleshooting Inotify on Linux & Docker Desktop",[291,877,879],{"id":878},"inotify-limits-on-linux","Inotify Limits on Linux",[232,881,882],{},"If your hot-reloading server fails to pick up file changes, your host inotify watcher limit may be saturated:",[304,884,886],{"className":306,"code":885,"language":308,"meta":309,"style":309},"# Check current limit\nsysctl fs.inotify.max_user_watches\n\n# Increase limit temporarily\nsudo sysctl fs.inotify.max_user_watches=524288\n\n# Persist permanently\necho \"fs.inotify.max_user_watches=524288\" | sudo tee -a \u002Fetc\u002Fsysctl.d\u002F99-inotify.conf\nsudo sysctl --system\n",[299,887,888,893,901,905,910,925,929,934,961],{"__ignoreMap":309},[313,889,890],{"class":315,"line":316},[313,891,892],{"class":319},"# Check current limit\n",[313,894,895,898],{"class":315,"line":323},[313,896,897],{"class":326},"sysctl",[313,899,900],{"class":330}," fs.inotify.max_user_watches\n",[313,902,903],{"class":315,"line":334},[313,904,338],{"emptyLinePlaceholder":337},[313,906,907],{"class":315,"line":341},[313,908,909],{"class":319},"# Increase limit temporarily\n",[313,911,912,915,918,921],{"class":315,"line":347},[313,913,914],{"class":326},"sudo",[313,916,917],{"class":330}," sysctl",[313,919,920],{"class":330}," fs.inotify.max_user_watches=",[313,922,924],{"class":923},"sbssI","524288\n",[313,926,927],{"class":315,"line":359},[313,928,338],{"emptyLinePlaceholder":337},[313,930,931],{"class":315,"line":370},[313,932,933],{"class":319},"# Persist permanently\n",[313,935,936,939,941,944,946,949,952,955,958],{"class":315,"line":381},[313,937,938],{"class":391},"echo",[313,940,409],{"class":387},[313,942,943],{"class":330},"fs.inotify.max_user_watches=524288",[313,945,415],{"class":387},[313,947,948],{"class":387}," |",[313,950,951],{"class":326}," sudo",[313,953,954],{"class":330}," tee",[313,956,957],{"class":330}," -a",[313,959,960],{"class":330}," \u002Fetc\u002Fsysctl.d\u002F99-inotify.conf\n",[313,962,963,965,967],{"class":315,"line":403},[313,964,914],{"class":326},[313,966,917],{"class":330},[313,968,969],{"class":330}," --system\n",[291,971,973],{"id":972},"docker-desktop-for-mac-file-sharing","Docker Desktop for Mac File Sharing",[232,975,976,977,239],{},"Ensure your source repository is located within directories allowed in Docker Desktop Settings: ",[236,978,979],{},"Settings ➔ Resources ➔ File Sharing",[981,982,983],"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);}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}",{"title":309,"searchDepth":323,"depth":323,"links":985},[986,987,993],{"id":255,"depth":323,"text":256},{"id":288,"depth":323,"text":289,"children":988},[989,990,991,992],{"id":293,"depth":334,"text":294},{"id":502,"depth":334,"text":503},{"id":618,"depth":334,"text":619},{"id":745,"depth":334,"text":746},{"id":874,"depth":323,"text":875,"children":994},[995,996],{"id":878,"depth":334,"text":879},{"id":972,"depth":334,"text":973},"Edit code locally, save, and see changes instantly live in your Kubernetes staging cluster. No Docker builds, no image tags, and no registry pushes.","md",null,{},{"title":47,"icon":50},{"title":227,"description":997},"ckY2MUnW9piAWd-xZoYXCy3mmFoZxhyNF9_J5LTrt-I",[1005,1007],{"title":36,"path":37,"stem":38,"description":1006,"icon":39,"children":-1},"Supercharge autonomous AI coding agents with live Kubernetes cluster context. Eliminate hallucinations and test AI-generated code against real cluster services in seconds.",{"title":52,"path":53,"stem":54,"description":1008,"icon":55,"children":-1},"Set live breakpoints in VS Code, PyCharm, and IntelliJ while stepping through requests intercepted directly from your Kubernetes staging cluster.",1795114692427]