From b654045ebec1ed26e01a39e1aa0d964da7815348 Mon Sep 17 00:00:00 2001 From: "huanqing.shao" Date: Tue, 6 Aug 2019 16:42:11 +0800 Subject: [PATCH] podSubnet --- install/install-dashboard.md | 6 +++++- install/install-k8s.md | 5 +++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/install/install-dashboard.md b/install/install-dashboard.md index 922eb5c..db99ef0 100644 --- a/install/install-dashboard.md +++ b/install/install-dashboard.md @@ -28,7 +28,9 @@ ::: tab 安装 lazy -安装 Kuboard +安装 Kuboard。 + +> 如果您参考 https://kuboard.cn 网站上提供的 Kubernetes 安装文档,可在 master 节点上执行以下命令。 ``` sh kubectl apply -f https://raw.githubusercontent.com/eip-work/eip-monitor-repository/master/dashboard/kuboard.yaml @@ -45,6 +47,8 @@ kubectl delete -f https://raw.githubusercontent.com/eip-work/eip-monitor-reposit ``` ::: + + :::: ## 获取 Token diff --git a/install/install-k8s.md b/install/install-k8s.md index 74b1a54..10652a8 100644 --- a/install/install-k8s.md +++ b/install/install-k8s.md @@ -273,8 +273,13 @@ kind: ClusterConfiguration kubernetesVersion: v1.15.1 imageRepository: registry.cn-hangzhou.aliyuncs.com/google_containers controlPlaneEndpoint: "apiserver.demo:6443" +networking: + podSubnet: "10.100.0.1/20" ``` +::: tip +podSubnet 所使用的网段不能与节点所在的网段重叠 +::: **初始化 apiserver**