Skip to content

Commit a7c11b5

Browse files
committed
Highlight the code. Add url parameter
1 parent b82fcba commit a7c11b5

File tree

1 file changed

+9
-5
lines changed
  • spring-cloud-kubernetes-examples/kubernetes-hello-world-example

1 file changed

+9
-5
lines changed

spring-cloud-kubernetes-examples/kubernetes-hello-world-example/README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,18 @@ When the client is installed on your machine, you can start kubernetes using thi
2020
minikube start
2121
```
2222

23-
Next, you can play with this Spring Boot application in the cloud using the following maven command to deploy:
23+
Next, you can play with this Spring Boot application in the cloud using the following maven command to deploy it:
2424
```
2525
mvn clean package fabric8:deploy
26-
```
27-
When the application has been deployed, you can access its service or endpoint:
26+
```
27+
28+
When the application has been deployed, you can access its service or endpoint url using this command:
2829
```
29-
minikube service kubernetes-hello-world
30+
minikube service kubernetes-hello-world --url
3031
```
3132

32-
And next you can curl the endpoint
33+
And next you can curl the endpoint using the url returned by the previous command
34+
3335
```
3436
curl http://IP_OR_HOSTNAME/
3537
```
@@ -43,4 +45,6 @@ When the service becomes available, the unit test which is a HTTP Client will ca
4345

4446
To play with the integration test, execute the following maven command:
4547

48+
```
4649
mvn clean install -Pintegration
50+
```

0 commit comments

Comments
 (0)