Skip to content

Commit 2775fcb

Browse files
dragetddchaykin
authored andcommitted
Use correct english single quote symbol
1 parent 4a10327 commit 2775fcb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Preface
22

3-
In a perfect world every written service will work smooth, your test coverage is on top and there are no bugs in your API. But we all know, that we can´t achieve this world, sadly. It´s not unusual that there´s a bug in an API and you have to debug this problem in a production environment. We have faced this problem with our go services in our kubernetes cluster and we want to show you how it´s possible to remote debug a go service in a kubernetes cluster.
3+
In a perfect world every written service will work smooth, your test coverage is on top and there are no bugs in your API. But we all know, that we can't achieve this world, sadly. It's not unusual that there's a bug in an API and you have to debug this problem in a production environment. We have faced this problem with our go services in our kubernetes cluster and we want to show you how it's possible to remote debug a go service in a kubernetes cluster.
44

55
## Software Prerequisites
66

@@ -11,7 +11,7 @@ For this scenario we need some software:
1111
* Kubectl: <https://kubernetes.io/de/docs/tasks/tools/install-kubectl/> (used version: 1.17.2)
1212
* Visual Studio Code: <https://code.visualstudio.com/download> (used version: 1.32.3)
1313

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.
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.
1515

1616
## Big Picture
1717

@@ -22,15 +22,15 @@ First we will briefly explain how it works:
2222
* you need a docker container with delve (<https://github.com/go-delve/delve>) as main process
2323
* 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
2424
* 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-
* to debug an API with delve, it´s necessary to set up an ingress network. For this we use port 8090.
25+
* to debug an API with delve, it's necessary to set up an ingress network. For this we use port 8090.
2626

2727
A picture serves to illustrate the communication:
2828

2929
![Overview](images/big-picture.png "Big Picture")
3030

3131
### Creating a Kubernetes cluster
3232

33-
`kind` unfortunately doesn´t use the environment variable `GOPATH`, so we have to update this in [config.yaml](cluster/config.yaml#L21):
33+
`kind` unfortunately doesn't use the environment variable `GOPATH`, so we have to update this in [config.yaml](cluster/config.yaml#L21):
3434

3535
```sh
3636
`sed -i.bak 's|'{GOPATH}'|'${GOPATH}'|g' cluster/config.yaml`
@@ -97,7 +97,7 @@ Activate the kube-context for `kubectl` to communicate with the new cluster:
9797

9898
#### Install nginx-ingress
9999

100-
For both ports (8090 and 30123) to work it´s necessary to deploy a nginx controller:
100+
For both ports (8090 and 30123) to work it's necessary to deploy a nginx controller:
101101

102102
```sh
103103
kubectl create -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/static/provider/kind/deploy.yaml

0 commit comments

Comments
 (0)