From 5d699ac5d6e3a6758ce3f8f057eca6be62729dda Mon Sep 17 00:00:00 2001 From: Li Yi Date: Thu, 9 Dec 2021 10:02:12 +0800 Subject: [PATCH] Update the ingress and dashboard instruction --- README.md | 6 +++--- README_en.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e4a393a..59cff78 100644 --- a/README.md +++ b/README.md @@ -115,7 +115,7 @@ kubectl get nodes #### 部署 Kubernetes dashboard ```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 -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 ```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 diff --git a/README_en.md b/README_en.md index f57c5fc..369d8a1 100644 --- a/README_en.md +++ b/README_en.md @@ -110,7 +110,7 @@ kubectl get nodes #### Install Kubernetes dashboard ```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 ``` or