[{"data":1,"prerenderedAt":670},["ShallowReactive",2],{"navigation_docs_en":3,"-en-local-environments-kind":175,"-en-local-environments-kind-surround":666},[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":659,"extension":660,"links":661,"meta":662,"navigation":663,"path":58,"seo":664,"stem":59,"__hash__":665},"docs_en/en/2.local-environments/5.kind.md","Getting started with Gefyra and kind",{"type":179,"value":180,"toc":646},"minimark",[181,186,209,311,315,339,343,348,363,367,372,410,414,444,453,485,488,492,525,534,541,556,564,581,587,591,596,608,613,628,642],[182,183,185],"h2",{"id":184},"prerequisites","Prerequisites",[187,188,189,198],"ol",{},[190,191,192,193,197],"li",{},"Follow the ",[194,195,196],"a",{"href":17},"installation"," for your preferred platform.",[190,199,200,201,204,205,208],{},"Create a local Kubernetes cluster with ",[202,203,57],"code",{}," like this: Create a file ",[202,206,207],{},"kind-config.yaml",":",[210,211,216],"pre",{"className":212,"code":213,"language":214,"meta":215,"style":215},"language-yaml shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","kind: Cluster\napiVersion: kind.x-k8s.io/v1alpha4\nnodes:\n- role: control-plane\n  extraPortMappings:\n  - containerPort: 31820\n    hostPort: 31820\n    protocol: udp\n","yaml","",[202,217,218,233,244,253,267,275,290,300],{"__ignoreMap":215},[219,220,223,226,229],"span",{"class":221,"line":222},"line",1,[219,224,57],{"class":225},"swJcz",[219,227,208],{"class":228},"sMK4o",[219,230,232],{"class":231},"sfazB"," Cluster\n",[219,234,236,239,241],{"class":221,"line":235},2,[219,237,238],{"class":225},"apiVersion",[219,240,208],{"class":228},[219,242,243],{"class":231}," kind.x-k8s.io/v1alpha4\n",[219,245,247,250],{"class":221,"line":246},3,[219,248,249],{"class":225},"nodes",[219,251,252],{"class":228},":\n",[219,254,256,259,262,264],{"class":221,"line":255},4,[219,257,258],{"class":228},"-",[219,260,261],{"class":225}," role",[219,263,208],{"class":228},[219,265,266],{"class":231}," control-plane\n",[219,268,270,273],{"class":221,"line":269},5,[219,271,272],{"class":225},"  extraPortMappings",[219,274,252],{"class":228},[219,276,278,281,284,286],{"class":221,"line":277},6,[219,279,280],{"class":228},"  -",[219,282,283],{"class":225}," containerPort",[219,285,208],{"class":228},[219,287,289],{"class":288},"sbssI"," 31820\n",[219,291,293,296,298],{"class":221,"line":292},7,[219,294,295],{"class":225},"    hostPort",[219,297,208],{"class":228},[219,299,289],{"class":288},[219,301,303,306,308],{"class":221,"line":302},8,[219,304,305],{"class":225},"    protocol",[219,307,208],{"class":228},[219,309,310],{"class":231}," udp\n",[312,313,314],"p",{},"Run:",[210,316,320],{"className":317,"code":318,"language":319,"meta":215,"style":215},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","kind create cluster --config kind-config.yaml\n","bash",[202,321,322],{"__ignoreMap":215},[219,323,324,327,330,333,336],{"class":221,"line":222},[219,325,57],{"class":326},"sBMFI",[219,328,329],{"class":231}," create",[219,331,332],{"class":231}," cluster",[219,334,335],{"class":231}," --config",[219,337,338],{"class":231}," kind-config.yaml\n",[182,340,342],{"id":341},"running-gefyra","Running Gefyra",[344,345,347],"h3",{"id":346},"_1-set-up-gefyra-with","1. Set up Gefyra with",[210,349,353],{"className":350,"code":351,"language":352,"meta":215,"style":215},"language-sh shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","gefyra up\n","sh",[202,354,355],{"__ignoreMap":215},[219,356,357,360],{"class":221,"line":222},[219,358,359],{"class":326},"gefyra",[219,361,362],{"class":231}," up\n",[344,364,366],{"id":365},"_2-run-a-local-docker-image-with-gefyra-in-order-to-make-it-part-of-the-cluster","2. Run a local Docker image with Gefyra in order to make it part of the cluster.",[368,369,371],"h4",{"id":370},"_21-build-your-docker-image-with-a-local-tag-for-example-from-the-testing-directory","2.1 Build your Docker image with a local tag, for example from the testing directory:",[210,373,375],{"className":350,"code":374,"language":352,"meta":215,"style":215},"cd testing/images/ && docker build -f Dockerfile.local . -t pyserver\n",[202,376,377],{"__ignoreMap":215},[219,378,379,383,386,389,392,395,398,401,404,407],{"class":221,"line":222},[219,380,382],{"class":381},"s2Zo4","cd",[219,384,385],{"class":231}," testing/images/",[219,387,388],{"class":228}," &&",[219,390,391],{"class":326}," docker",[219,393,394],{"class":231}," build",[219,396,397],{"class":231}," -f",[219,399,400],{"class":231}," Dockerfile.local",[219,402,403],{"class":231}," .",[219,405,406],{"class":231}," -t",[219,408,409],{"class":231}," pyserver\n",[368,411,413],{"id":412},"_22-execute-gefyras-run-command","2.2 Execute Gefyra's run command:",[210,415,417],{"className":350,"code":416,"language":352,"meta":215,"style":215},"gefyra run -i pyserver -N mypyserver -n default\n",[202,418,419],{"__ignoreMap":215},[219,420,421,423,426,429,432,435,438,441],{"class":221,"line":222},[219,422,359],{"class":326},[219,424,425],{"class":231}," run",[219,427,428],{"class":231}," -i",[219,430,431],{"class":231}," pyserver",[219,433,434],{"class":231}," -N",[219,436,437],{"class":231}," mypyserver",[219,439,440],{"class":231}," -n",[219,442,443],{"class":231}," default\n",[368,445,447,448,452],{"id":446},"_23-exec-into-the-running-container-and-look-around-you-will-find-the-container-to-run-within-your-kubernetes-cluster","2.3 ",[449,450,451],"em",{},"Exec"," into the running container and look around. You will find the container to run within your Kubernetes cluster.",[210,454,456],{"className":350,"code":455,"language":352,"meta":215,"style":215},"docker exec -it mypyserver bash\nwget -O- hello-nginx\n",[202,457,458,474],{"__ignoreMap":215},[219,459,460,463,466,469,471],{"class":221,"line":222},[219,461,462],{"class":326},"docker",[219,464,465],{"class":231}," exec",[219,467,468],{"class":231}," -it",[219,470,437],{"class":231},[219,472,473],{"class":231}," bash\n",[219,475,476,479,482],{"class":221,"line":235},[219,477,478],{"class":326},"wget",[219,480,481],{"class":231}," -O-",[219,483,484],{"class":231}," hello-nginx\n",[312,486,487],{},"will print out the website of the cluster service hello-nginx from within the cluster.",[344,489,491],{"id":490},"_3-create-a-bridge-in-order-to-intercept-the-traffic-to-the-cluster-application-with-the-one-running-locally","3. Create a bridge in order to intercept the traffic to the cluster application with the one running locally:",[210,493,495],{"className":350,"code":494,"language":352,"meta":215,"style":215},"gefyra bridge -N mypyserver -n default --port 8000:80 --target deploy/hello-nginxdemo/hello-nginx\n",[202,496,497],{"__ignoreMap":215},[219,498,499,501,504,506,508,510,513,516,519,522],{"class":221,"line":222},[219,500,359],{"class":326},[219,502,503],{"class":231}," bridge",[219,505,434],{"class":231},[219,507,437],{"class":231},[219,509,440],{"class":231},[219,511,512],{"class":231}," default",[219,514,515],{"class":231}," --port",[219,517,518],{"class":231}," 8000:80",[219,520,521],{"class":231}," --target",[219,523,524],{"class":231}," deploy/hello-nginxdemo/hello-nginx\n",[312,526,527,528],{},"Check out the locally running server comes up under: ",[194,529,530],{"href":530,"rel":531,"target":533},"http://hello.127.0.0.1.nip.io:8080/",[532],"nofollow","_blank",[344,535,537,538,208],{"id":536},"_4-list-all-running-bridges","4. List all running ",[449,539,540],{},"bridges",[210,542,544],{"className":350,"code":543,"language":352,"meta":215,"style":215},"gefyra list --bridges\n",[202,545,546],{"__ignoreMap":215},[219,547,548,550,553],{"class":221,"line":222},[219,549,359],{"class":326},[219,551,552],{"class":231}," list",[219,554,555],{"class":231}," --bridges\n",[344,557,559,560,563],{"id":558},"_5-unbridge-the-local-container-and-reset-the-cluster-to-its-original-state","5. ",[449,561,562],{},"Unbridge"," the local container and reset the cluster to its original state:",[210,565,567],{"className":350,"code":566,"language":352,"meta":215,"style":215},"gefyra unbridge -N mypybridge\n",[202,568,569],{"__ignoreMap":215},[219,570,571,573,576,578],{"class":221,"line":222},[219,572,359],{"class":326},[219,574,575],{"class":231}," unbridge",[219,577,434],{"class":231},[219,579,580],{"class":231}," mypybridge\n",[312,582,583,584],{},"Check out the initial response from: ",[194,585,530],{"href":530,"rel":586,"target":533},[532],[182,588,590],{"id":589},"cleaning-up","Cleaning up",[187,592,593],{},[190,594,595],{},"Remove Gefyra's components from the cluster with",[210,597,599],{"className":350,"code":598,"language":352,"meta":215,"style":215},"gefyra down\n",[202,600,601],{"__ignoreMap":215},[219,602,603,605],{"class":221,"line":222},[219,604,359],{"class":326},[219,606,607],{"class":231}," down\n",[187,609,610],{"start":235},[190,611,612],{},"Remove the locally running Kubernetes cluster with",[210,614,616],{"className":350,"code":615,"language":352,"meta":215,"style":215},"kind delete cluster\n",[202,617,618],{"__ignoreMap":215},[219,619,620,622,625],{"class":221,"line":222},[219,621,57],{"class":326},[219,623,624],{"class":231}," delete",[219,626,627],{"class":231}," cluster\n",[629,630,631,635,636,641],"card",{},[632,633,634],"template",{"v-slot:title":215},"Please provide us with your feedback","Did everything work as expected? How was the experience of using Gefyra? We'd appreciate if you could take 2 minutes of your time to fill out our ",[194,637,640],{"href":638,"rel":639,"target":533},"https://forms.gle/AWT9NparpTVk8E978",[532],"feedback form",".",[643,644,645],"style",{},"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 .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 .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}",{"title":215,"searchDepth":235,"depth":235,"links":647},[648,649,658],{"id":184,"depth":235,"text":185},{"id":341,"depth":235,"text":342,"children":650},[651,652,653,654,656],{"id":346,"depth":246,"text":347},{"id":365,"depth":246,"text":366},{"id":490,"depth":246,"text":491},{"id":536,"depth":246,"text":655},"4. List all running bridges:",{"id":558,"depth":246,"text":657},"5. Unbridge the local container and reset the cluster to its original state:",{"id":589,"depth":235,"text":590},"This guide will show you how to use Gefyra for the local development of a Kubernetes application running in kind.","md",null,{},{"title":57},{"title":177,"description":659},"ZWBmU-ax6chNVhhxbTxRQg-I7Yht429j9sgm1JQkCVc",[667,669],{"title":53,"path":54,"stem":55,"description":668,"children":-1},"This guide will show you how to use Gefyra for the local development of a Kubernetes application running in k3d.",{"title":61,"path":62,"stem":63,"description":215,"children":-1},1775752109073]