|
|
|
@ -160,9 +160,14 @@ Win: %UserProfile%\.kube\config
|
|
|
|
|
|
|
|
|
|
#### 安装 Ingress
|
|
|
|
|
|
|
|
|
|
[源地址安装说明](https://github.com/kubernetes/ingress-nginx/blob/master/docs/deploy/index.md)
|
|
|
|
|
```
|
|
|
|
|
- 若安装脚本无法安装,可以跳转到该地址查看最新操作
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
安装
|
|
|
|
|
```shell
|
|
|
|
|
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/static/mandatory.yaml
|
|
|
|
|
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/static/provider/cloud-generic.yaml
|
|
|
|
|
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-0.32.0/deploy/static/provider/cloud/deploy.yaml
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
验证
|
|
|
|
@ -203,8 +208,7 @@ kubectl delete -f sample/ingress.yaml
|
|
|
|
|
#### 删除 Ingress
|
|
|
|
|
|
|
|
|
|
```shell
|
|
|
|
|
kubectl delete -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/static/provider/cloud-generic.yaml
|
|
|
|
|
kubectl delete -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/static/mandatory.yaml
|
|
|
|
|
kubectl delete -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-0.32.0/deploy/static/provider/cloud/deploy.yaml
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### 安装 Helm
|
|
|
|
|