Skip to content

Commit 016d97b

Browse files
committed
added external DB
1 parent 2a9680a commit 016d97b

File tree

3 files changed

+222
-62
lines changed

3 files changed

+222
-62
lines changed

content/en/other/3-auto-instrumentation/3-java-microservices-pet-clinic/10-preparation.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ mysql-74bb96ddbf-wbrqk 1/1 Running 0 87s
7272

7373
Make sure the output of get pods matches the output as shown above ... and that all 8 services are shown as **RUNNING**.
7474

75-
The application will take a few minutes to start up and synchronize all the services, so let's get the actual application downloaded in the mean-time.
75+
The application will take a few minutes to start up , create the database and synchronize all the services, so let's get the actual source code for the application downloaded in the mean-time.
7676

7777
## 2. Downloading the Spring Microservices PetClinic Application
7878

79-
For this exercise, we will use the Spring microservices PetClinic application. This is a very popular sample Java application built with the Spring framework (Springboot) and we are using a proper microservices version.
79+
For this exercise, we will use the Spring microservices PetClinic application. This is a very popular sample Java application built with the Spring framework (Springboot) and we are using a version witch actual microservices.
8080

8181
First, clone the PetClinic GitHub repository, as we will need this later in the workshop to compile, build, package and containerize the application:
8282

@@ -90,12 +90,6 @@ Change into the `spring-petclinic` directory:
9090
cd spring-petclinic-microservices
9191
```
9292
<!--
93-
Start a MySQL database for PetClinic to use:
94-
95-
```bash
96-
docker run -d -e MYSQL_USER=petclinic -e MYSQL_PASSWORD=petclinic -e MYSQL_ROOT_PASSWORD=root -e MYSQL_DATABASE=petclinic -p 3306:3306 docker.io/mysql:5.7.8
97-
```
98-
9993
Next, we will start a Docker container running Locust that will generate some simple traffic to the PetClinic application. Locust is a simple load-testing tool that can be used to generate traffic to a web application.
10094
10195
```bash
@@ -184,7 +178,7 @@ eclipse-temurin 17 807dd649ff14 13
184178

185179
## 4. Set up a local Docker Repository
186180

187-
As part of this workshop we going to use some of the advanced instrumentation features, and will add some annotations to our code to get even more valuable data from our Java application. Kubernetes need to pull these images form somewhere, so lets setup a local repository so Kubernetes can pull the local images.
181+
As part of this workshop we going to use some of the advanced instrumentation features, and will add some annotations to our code to get even more valuable data from our Java application. Kubernetes need to pull these images from somewhere, so lets setup a local repository, so Kubernetes can pull these local images.
188182

189183
{{< tabs >}}
190184
{{% tab title="Install Docker Repository" %}}

0 commit comments

Comments
 (0)