From 6901824adce2debc73a244ddc44466d4466a050b Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Fri, 22 Sep 2017 22:35:05 +0800 Subject: [PATCH] update k8s readme. Signed-off-by: Bo-Yi Wu --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 66bcb40..2252ecc 100644 --- a/README.md +++ b/README.md @@ -766,10 +766,15 @@ $ kubectl create -f k8s/gorush-redis-deployment.yaml $ kubectl create -f k8s/gorush-redis-service.yaml ``` -Create gorush service with ELB: +Create gorush deployment controller provides declarative updates for Pods and ReplicaSets: ```sh $ kubectl create -f k8s/gorush-deployment.yaml +``` + +### Create the Service Controller for AWS ELB + +```sh $ kubectl create -f k8s/gorush-service.yaml ``` @@ -787,6 +792,7 @@ Update the following in `k8s/gorush-service.yaml` Then start the AWS ALB by the follwong command. ``` +$ kubectl create -f k8s/gorush-service.yaml $ kubectl create -f k8s/gorush-aws-alb-ingress.yaml ``` @@ -798,6 +804,6 @@ $ kubectl delete -f k8s ## License -Copyright 2016 Bo-Yi Wu [@appleboy](https://twitter.com/appleboy). +Copyright 2017 Bo-Yi Wu [@appleboy](https://twitter.com/appleboy). Licensed under the MIT License.