You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*[Visual Studio Code](https://code.visualstudio.com/download) (used version: 1.32.3)
13
13
14
14
We decided to use `kind` instead of `minikube`, since it's a very good tool for testing kubernetes locally and we can use our docker images without a docker registry.
15
15
@@ -19,7 +19,7 @@ First we will briefly explain how it works:
19
19
20
20
1. We create a new kubernetes cluster `local-debug-k8s` on our local system
21
21
22
-
* you need a docker container with delve (<https://github.com/go-delve/delve>) as main process
22
+
* you need a docker container with [delve](https://github.com/go-delve/delve) (the go debugger) as the main process
23
23
* delve needs access to the path with the project data. This is done by mounting `$GOPATH/src` on the pod which is running in the kubernetes cluster
24
24
* we start the delve container on port 30123 and bind this port to localhost, so that only our local debugger can communicate with delve
25
25
* to debug an API with delve, it's necessary to set up an ingress network. For this we use port 8090.
@@ -103,7 +103,7 @@ For both ports (8090 and 30123) to work it's necessary to deploy a nginx control
0 commit comments