From ad01c19d9a113799cc7a530ff873ba07055b02ae Mon Sep 17 00:00:00 2001 From: XsWack Date: Tue, 8 Aug 2017 08:47:42 +0800 Subject: [PATCH] Update load-balance-access-application-cluster.md Fix leading spaces in kubectl commands --- .../load-balance-access-application-cluster.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/tasks/access-application-cluster/load-balance-access-application-cluster.md b/docs/tasks/access-application-cluster/load-balance-access-application-cluster.md index 873de6b2a2..91de9ece98 100644 --- a/docs/tasks/access-application-cluster/load-balance-access-application-cluster.md +++ b/docs/tasks/access-application-cluster/load-balance-access-application-cluster.md @@ -40,9 +40,9 @@ load-balanced access to an application running in a cluster. The output is similar to this: - NAME READY STATUS RESTARTS AGE - hello-world-2189936611-8fyp0 1/1 Running 0 6m - hello-world-2189936611-9isq8 1/1 Running 0 6m + NAME READY STATUS RESTARTS AGE + hello-world-2189936611-8fyp0 1/1 Running 0 6m + hello-world-2189936611-9isq8 1/1 Running 0 6m 1. List the replica set for the two Hello World pods: @@ -50,8 +50,8 @@ load-balanced access to an application running in a cluster. The output is similar to this: - NAME DESIRED CURRENT AGE - hello-world-2189936611 2 2 12m + NAME DESIRED CURRENT AGE + hello-world-2189936611 2 2 12m 1. Create a Service object that exposes the replica set: @@ -75,14 +75,14 @@ load-balanced access to an application running in a cluster. 1. Use your Service object to access the Hello World application: - curl :8080 + curl :8080 where `` is the external IP address of your service. The output is a hello message from the application: - Hello Kubernetes! + Hello Kubernetes! Note: If you are using Minikube, enter these commands: @@ -93,7 +93,7 @@ load-balanced access to an application running in a cluster. value for your service. Then enter this command to access the Hello World application: - curl : + curl : where `` us the IP address of your Minikube node, and `` is the NodePort value for your service.