update k8s readme.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
411b6efc4a
commit
1918322185
15
README.md
15
README.md
|
@ -766,7 +766,7 @@ $ kubectl create -f k8s/gorush-redis-deployment.yaml
|
|||
$ kubectl create -f k8s/gorush-redis-service.yaml
|
||||
```
|
||||
|
||||
Create gorush service:
|
||||
Create gorush service with ELB:
|
||||
|
||||
```sh
|
||||
$ kubectl create -f k8s/gorush-deployment.yaml
|
||||
|
@ -775,8 +775,19 @@ $ kubectl create -f k8s/gorush-service.yaml
|
|||
|
||||
### Ingress Controller for AWS ALB
|
||||
|
||||
Update the following in `k8s/gorush-service.yaml`
|
||||
|
||||
```diff
|
||||
- type: LoadBalancer
|
||||
- # type: NodePort
|
||||
+ # type: LoadBalancer
|
||||
+ type: NodePort
|
||||
```
|
||||
$ kubectl create -f k8s/gorush-aws-ingress.yaml
|
||||
|
||||
Then start the AWS ALB by the follwong command.
|
||||
|
||||
```
|
||||
$ kubectl create -f k8s/gorush-aws-alb-ingress.yaml
|
||||
```
|
||||
|
||||
### Clean up the gorush:
|
||||
|
|
|
@ -9,8 +9,8 @@ metadata:
|
|||
spec:
|
||||
# if your cluster supports it, uncomment the following to automatically create
|
||||
# an external load-balanced IP for the frontend service.
|
||||
# type: LoadBalancer
|
||||
type: NodePort
|
||||
type: LoadBalancer
|
||||
# type: NodePort
|
||||
ports:
|
||||
- port: 8088
|
||||
selector:
|
||||
|
|
Loading…
Reference in New Issue