Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ docker build -t hellonode:v1 .

Now we will mount this image :
```bash
kubectl run test-node --image=hellonode:v1 --port=8080
kubectl create deployment --image=hellonode:v1 --port=8080
```

you can see it deployed :
Expand Down Expand Up @@ -186,6 +186,25 @@ Transfer-Encoding: chunked
Hello World!
```

##### Minikube
If you are running minikube, we will need to start a tunnel for the service
```bash
minikube service test-node --url
```

You should see output similar to this:
```bash
🏃 Starting tunnel for service test-node.
|-----------|-----------|-------------|------------------------|
| NAMESPACE | NAME | TARGET PORT | URL |
|-----------|-----------|-------------|------------------------|
| default | test-node | | http://127.0.0.1:55049 |
|-----------|-----------|-------------|------------------------|
http://127.0.0.1:55049
```

Open the url in the browser `http://127.0.0.1:55049`

#### Scale

With Kubernetes it's easy to scale, we only need one command line :
Expand Down