refinement
This commit is contained in:
parent
7ef9eaf528
commit
e4953c8c25
12
README.md
12
README.md
@ -232,13 +232,13 @@ This is the helm chart of the K8s own nginx ingress controller:
|
|||||||
https://kubernetes.github.io/ingress-nginx/deploy/#using-helm
|
https://kubernetes.github.io/ingress-nginx/deploy/#using-helm
|
||||||
|
|
||||||
```
|
```
|
||||||
kubectl create ns ingress-nginx
|
$ kubectl create ns ingress-nginx
|
||||||
helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
|
$ helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
|
||||||
helm install nginx-ingress ingress-nginx/ingress-nginx -n ingress-nginx
|
$ helm install nginx-ingress ingress-nginx/ingress-nginx -n ingress-nginx
|
||||||
```
|
```
|
||||||
|
```
|
||||||
|
$ kubectl -n ingress-nginx get all
|
||||||
|
|
||||||
`kubectl -n ingress-nginx get all`:
|
|
||||||
```
|
|
||||||
NAME READY STATUS RESTARTS AGE
|
NAME READY STATUS RESTARTS AGE
|
||||||
pod/svclb-nginx-ingress-controller-m6gxl 2/2 Running 0 110s
|
pod/svclb-nginx-ingress-controller-m6gxl 2/2 Running 0 110s
|
||||||
pod/nginx-ingress-controller-695774d99c-t794f 1/1 Running 0 110s
|
pod/nginx-ingress-controller-695774d99c-t794f 1/1 Running 0 110s
|
||||||
@ -258,7 +258,7 @@ replicaset.apps/nginx-ingress-controller-695774d99c 1 1 1
|
|||||||
```
|
```
|
||||||
The nginx ingress global configuration can be modified as follows:
|
The nginx ingress global configuration can be modified as follows:
|
||||||
```
|
```
|
||||||
kubectl -n ingress-nginx edit configmap ingress-nginx-controller
|
$ kubectl -n ingress-nginx edit configmap ingress-nginx-controller
|
||||||
|
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
<<<ADD BEGINN>>>
|
<<<ADD BEGINN>>>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user