From e092a7f5710e772f73815c3db4cf25140699c7c1 Mon Sep 17 00:00:00 2001 From: Randy DeFauw Date: Mon, 4 Jun 2018 15:36:50 -0600 Subject: [PATCH 1/2] Minor doc updates for app discovery: - Clarify proper working path - Clarify the IP address to use in the curl commands --- .../302-app-discovery/readme.adoc | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/03-path-application-development/302-app-discovery/readme.adoc b/03-path-application-development/302-app-discovery/readme.adoc index 22ed5adc..007da7dd 100644 --- a/03-path-application-development/302-app-discovery/readme.adoc +++ b/03-path-application-development/302-app-discovery/readme.adoc @@ -10,7 +10,9 @@ This chapter shows an example of how different microservices within an applicati This chapter uses a cluster with 3 master nodes and 5 worker nodes as described here: link:../../01-path-basics/102-your-first-cluster#multi-master-cluster[multi-master cluster]. -All configuration files for this chapter are in the `microservices` directory. Make sure you change to that directory before giving any commands in this chapter. +All configuration files for this chapter are in the `app-discovery` directory. Make sure you change to that directory before giving any commands in this chapter. On Cloud9: + + cd ~/environment/aws-workshop-for-kubernetes/03-path-application-development/302-app-discovery === Application Architecture @@ -121,12 +123,12 @@ Wait for ~3 mins for the load balancer to accept request. Access the application using the following URLs with `curl` or via a browser: - http:// - http://?greet=ho - http://?id=1 - http://?greet=ho&id=1 + http:// + http://?greet=ho + http://?id=1 + http://?greet=ho&id=1 -`` is the value of the ingress load balancer's address: +`` is the value of the ingress load balancer's address: $ kubectl get svc/webapp-service -o jsonpath={.status.loadBalancer.ingress[0].hostname} a5427e128847211e782280a896fc2bfc-283874069.us-east-1.elb.amazonaws.com From c70ecd15bd4792541afba4d061c59bd890b024b0 Mon Sep 17 00:00:00 2001 From: Randy DeFauw Date: Fri, 8 Jun 2018 14:21:00 -0600 Subject: [PATCH 2/2] Use 'host' rather than 'ingress' in the URL examples. --- .../302-app-discovery/readme.adoc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/03-path-application-development/302-app-discovery/readme.adoc b/03-path-application-development/302-app-discovery/readme.adoc index 007da7dd..4948645e 100644 --- a/03-path-application-development/302-app-discovery/readme.adoc +++ b/03-path-application-development/302-app-discovery/readme.adoc @@ -123,12 +123,12 @@ Wait for ~3 mins for the load balancer to accept request. Access the application using the following URLs with `curl` or via a browser: - http:// - http://?greet=ho - http://?id=1 - http://?greet=ho&id=1 + http:// + http://?greet=ho + http://?id=1 + http://?greet=ho&id=1 -`` is the value of the ingress load balancer's address: +`` is the value of the ingress load balancer's address: $ kubectl get svc/webapp-service -o jsonpath={.status.loadBalancer.ingress[0].hostname} a5427e128847211e782280a896fc2bfc-283874069.us-east-1.elb.amazonaws.com