From b045204b260b26414f4830592e0f3477f0838540 Mon Sep 17 00:00:00 2001 From: scout249 <49465769+scout249@users.noreply.github.com> Date: Mon, 30 May 2022 10:29:56 +0800 Subject: [PATCH] Fix expose command --- kubernetes-demo/first/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kubernetes-demo/first/README.md b/kubernetes-demo/first/README.md index 50eddc85..575703a6 100644 --- a/kubernetes-demo/first/README.md +++ b/kubernetes-demo/first/README.md @@ -19,7 +19,7 @@ In this demo we will deploy a simple web application and then configure load bal ``` 1. Configure external load balancing for the application: ``` - $ kubectl expose deployment hello-app --type="LoadBalancer" + $ kubectl expose pod hello-app --type="LoadBalancer" ``` This steps allocates a cloud load balancer that gets configured to load balance our application. It works only if you run your Kubernetes cluster in a supported cloud provider.