Skip to content

Commit 116cbc2

Browse files
committed
Removed reference to container registry and moved checking the UI is up.
1 parent 8bcd8a2 commit 116cbc2

File tree

2 files changed

+22
-4
lines changed

2 files changed

+22
-4
lines changed

content/en/ninja-workshops/1-automatic-discovery/2-petclinic-kubernetes/2-preparation/2-petclinic.md

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ linkTitle: 2. Deploy PetClinic Application
44
weight: 3
55
---
66

7-
The first deployment of our application will be using prebuilt containers to give us the base scenario: a regular Java microservices-based application running in Kubernetes that we want to start observing. So let's deploy our application:
7+
The first deployment of the application will be using prebuilt containers to give the base scenario: a regular Java microservices-based application running in Kubernetes that we want to start observing. So let's deploy the application:
88

99
{{< tabs >}}
1010
{{% tab title="kubectl apply" %}}
@@ -42,7 +42,7 @@ configmap/scriptfile created
4242
{{% /tab %}}
4343
{{< /tabs >}}
4444

45-
At this point, we can verify the deployment by checking if the Pods are running. The containers need to be downloaded and started so this may take a couple of minutes.
45+
At this point, we can verify the deployment by checking that the Pods are running. The containers need to be downloaded and started so this may take a couple of minutes.
4646

4747
{{< tabs >}}
4848
{{% tab title="kubectl get pods" %}}
@@ -76,9 +76,25 @@ discovery-server-554b45cfb-bqhgt 1/1 Running
7676
{{% /tab %}}
7777
{{< /tabs >}}
7878

79-
Make sure the output of `kubectl get pods` matches the output as shown above. Ensure all the services are shown as **Running** (or use `k9s` to contuuously monitor the status).
79+
Make sure the output of `kubectl get pods` matches the output as shown above. Ensure all the services are shown as **Running** (or use `k9s` to continuously monitor the status).
8080

81-
Once they are running, the application will take a few minutes to fully start up, create the database and synchronize all the services, so let's use the time to check the local private repository is active.
81+
To test the application you need to obtain the public IP address of the instance you are running on. You can do this by running the following command:
82+
83+
``` bash
84+
curl http://ifconfig.me
85+
86+
```
87+
88+
You can validate if the application is running by visiting **http://<IP_ADDRESS>:81** (replace **<IP_ADDRESS>** with the IP address you obtained above). You should see the PetClinic application running.
89+
90+
![Pet shop](../../images/petclinic.png)
91+
92+
Make sure the application is working correctly by visiting the **All Owners** **(1)** and **Veterinarians** **(2)** tabs, you should get a list of names in each case.
93+
94+
![owners](../../images/petclinic-owners.png)
95+
96+
<!--
97+
Once they are all running, the application will take a few minutes to fully start up, create the database and synchronize all the services, so let's use the time to check the local private repository is active.
8298
8399
#### Verify the local Private Registry
84100
@@ -104,3 +120,4 @@ curl -X GET http://localhost:9999/v2/_catalog
104120
105121
{{% /tab %}}
106122
{{< /tabs >}}
123+
-->

content/en/ninja-workshops/1-automatic-discovery/2-petclinic-kubernetes/3-verify-setup/1-website.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: Verify the PetClinic Website
33
linkTitle: 1. Verify PetClinic Website
44
weight: 1
5+
hidden: true
56
---
67

78
To test the application you need to obtain the public IP address of the instance you are running on. You can do this by running the following command:

0 commit comments

Comments
 (0)