Skip to content

Commit 1d8cd3a

Browse files
committed
adding a Kubernetes troubleshooting tip
1 parent 7afb9fd commit 1d8cd3a

4 files changed

Lines changed: 50 additions & 1345 deletions

File tree

chapters/docker-kubernetes.adoc

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,11 +372,17 @@ wildfly-rc-w2kk5 1/1 Running 0 6m
372372
[[Access_Kubernetes_Application_Node]]
373373
#### Access the application (using node)
374374

375-
. Log in to node and access the application:
375+
. Log in to node:
376376
+
377377
[source, text]
378378
----
379379
vagrant ssh minion-1
380+
----
381+
+
382+
. Access the application using `curl http://10.246.1.23:8080/employees/resources/employees/` and replace IP address with the one obtained earlier:
383+
+
384+
[source, text]
385+
----
380386
Last login: Thu Jul 16 00:24:36 2015 from 10.0.2.2
381387
[vagrant@kubernetes-minion-1 ~]$ curl http://10.246.1.23:8080/employees/resources/employees/
382388
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><collection><employee><id>1</id><name>Penny</name></employee><employee><id>2</id><name>Sheldon</name></employee><employee><id>3</id><name>Amy</name></employee><employee><id>4</id><name>Leonard</name></employee><employee><id>5</id><name>Bernadette</name></employee><employee><id>6</id><name>Raj</name></employee><employee><id>7</id><name>Howard</name></employee><employee><id>8</id><name>Priya</name></employee></collection>

0 commit comments

Comments
 (0)