|
|
@ -115,7 +115,7 @@ kubectl get nodes
|
|
|
|
#### 部署 Kubernetes dashboard
|
|
|
|
#### 部署 Kubernetes dashboard
|
|
|
|
|
|
|
|
|
|
|
|
```shell
|
|
|
|
```shell
|
|
|
|
$ kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.4/aio/deploy/recommended.yaml
|
|
|
|
$ kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.4.0/aio/deploy/recommended.yaml
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
或
|
|
|
|
或
|
|
|
@ -188,7 +188,7 @@ Win: %UserProfile%\.kube\config
|
|
|
|
|
|
|
|
|
|
|
|
安装
|
|
|
|
安装
|
|
|
|
```shell
|
|
|
|
```shell
|
|
|
|
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-0.32.0/deploy/static/provider/cloud/deploy.yaml
|
|
|
|
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-1.0.4/deploy/static/provider/cloud/deploy.yaml
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
验证
|
|
|
|
验证
|
|
|
@ -229,7 +229,7 @@ kubectl delete -f sample/ingress.yaml
|
|
|
|
#### 删除 Ingress
|
|
|
|
#### 删除 Ingress
|
|
|
|
|
|
|
|
|
|
|
|
```shell
|
|
|
|
```shell
|
|
|
|
kubectl delete -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-0.32.0/deploy/static/provider/cloud/deploy.yaml
|
|
|
|
kubectl delete -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-1.0.4/deploy/static/provider/cloud/deploy.yaml
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
### 安装 Helm
|
|
|
|
### 安装 Helm
|
|
|
|