You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
8
8
9
9
{{< tabs >}}
10
10
{{% tab title="kubectl apply" %}}
@@ -42,7 +42,7 @@ configmap/scriptfile created
42
42
{{% /tab %}}
43
43
{{< /tabs >}}
44
44
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.
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).
80
80
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
+

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
+

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.
82
98
83
99
#### Verify the local Private Registry
84
100
@@ -104,3 +120,4 @@ curl -X GET http://localhost:9999/v2/_catalog
0 commit comments