From 662ef8ff66e440df8fe7a60ae857c3006c366176 Mon Sep 17 00:00:00 2001 From: gjmzj Date: Tue, 26 Dec 2017 15:56:00 +0800 Subject: [PATCH] =?UTF-8?q?fix=E5=90=8E=E7=BB=AD=E5=A2=9E=E5=8A=A0node?= =?UTF-8?q?=E7=9A=84=E6=B8=85=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 99.clean.yml | 7 +++++-- docs/quickStart.md | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/99.clean.yml b/99.clean.yml index ebd7d22..432968a 100644 --- a/99.clean.yml +++ b/99.clean.yml @@ -1,7 +1,9 @@ -# 警告:此脚本将清理真个K8S集群,包括所有POD、ETCD数据等 +# 警告:此脚本将清理整个K8S集群,包括所有POD、ETCD数据等 # 请三思后运行此脚本 ansible-playbook 99.clean.yml -- hosts: kube-node +- hosts: + - kube-node + - new-node tasks: - name: stop kube-node service shell: "systemctl stop kubelet kube-proxy" @@ -37,6 +39,7 @@ - hosts: - kube-cluster + - new-node - deploy tasks: - name: stop calico-node service diff --git a/docs/quickStart.md b/docs/quickStart.md index a6a2b8b..863f6f4 100644 --- a/docs/quickStart.md +++ b/docs/quickStart.md @@ -91,7 +91,7 @@ kubectl create -f /etc/ansible/manifests/heapster # 安装dashboard kubectl create -f /etc/ansible/manifests/dashboard ``` -+ 更新后`dashboard`已经默认关闭非安全端口访问,请使用`https://10.100.80.30:6443/api/v1/namespaces/kube-system/services/kubernetes-dashboard/proxy`访问,并用默认用户 `admin:test1234` 登陆,更多内容请查阅[dashboard文档](guide/dashboard.md) ++ 更新后`dashboard`已经默认关闭非安全端口访问,请使用`https://xx.xx.xx.xx:6443/api/v1/namespaces/kube-system/services/kubernetes-dashboard/proxy`访问,并用默认用户 `admin:test1234` 登陆,更多内容请查阅[dashboard文档](guide/dashboard.md) ### 7.清理集群