From 93f023f524560aa61681cc2e058afdefe21abcd4 Mon Sep 17 00:00:00 2001 From: tianshapjq Date: Tue, 6 Dec 2016 16:48:32 +0800 Subject: [PATCH] remove the create-external-load-balancer flag in cmd/expose.go --- selenium/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selenium/README.md b/selenium/README.md index b3051fc7..88753dfc 100644 --- a/selenium/README.md +++ b/selenium/README.md @@ -59,7 +59,7 @@ curl http://localhost:4444 If you are using Google Container Engine, you can expose your hub via the internet. This is a bad idea for many reasons, but you can do it as follows: ```console -kubectl expose rc selenium-hub --name=selenium-hub-external --labels="app=selenium-hub,external=true" --create-external-load-balancer=true +kubectl expose rc selenium-hub --name=selenium-hub-external --labels="app=selenium-hub,external=true" --type=LoadBalancer ``` Then wait a few minutes, eventually your new `selenium-hub-external` service will be assigned a load balanced IP from gcloud. Once `kubectl get svc selenium-hub-external` shows two IPs, run this snippet.