From e3840a69aa9214b36b93c720c9e0092d470c94d1 Mon Sep 17 00:00:00 2001 From: Stefan Saasen Date: Thu, 17 Mar 2016 15:24:29 +1100 Subject: [PATCH] [Hello World]: Don't use the deprecated --create-external-load-balancer flag --- docs/hellonode.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/hellonode.md b/docs/hellonode.md index 6b619cc5c8..46097a58cb 100755 --- a/docs/hellonode.md +++ b/docs/hellonode.md @@ -156,7 +156,7 @@ At this point you should have our container running under the control of Kuberne By default, the pod is only accessible by its internal IP within the Kubernetes cluster. In order to make the `hello-node` container accessible from outside the kubernetes virtual network, you have to expose the pod as a kubernetes service. -From our development machine we can expose the pod with the `kubectl` expose command and the `--create-external-load-balancer=true` flag which creates an external IP to accept traffic: +From our development machine we can expose the pod with the `kubectl` expose command and the `--type="LoadBalancer"` flag which creates an external IP to accept traffic: ```shell kubectl expose rc hello-node --type="LoadBalancer"