fix 清理ipvs产生的网络接口

pull/258/head
gjmzj 2018-07-13 10:00:12 +08:00
parent 5f07276ea2
commit 494c810df6
6 changed files with 7 additions and 12 deletions

1
.gitignore vendored
View File

@ -2,6 +2,7 @@ down/*
!down/download.sh !down/download.sh
!down/offline_images !down/offline_images
bin/* bin/*
!bin/readme.md
manifests/kubedns/kubedns.yaml manifests/kubedns/kubedns.yaml
manifests/coredns/coredns.yaml manifests/coredns/coredns.yaml
hosts hosts

View File

@ -110,6 +110,7 @@
ip link del mynet0; \ ip link del mynet0; \
ip link del kube-bridge; \ ip link del kube-bridge; \
ip link del dummy0; \ ip link del dummy0; \
ip link del kube-ipvs0; \
systemctl restart networking; \ systemctl restart networking; \
systemctl restart network" systemctl restart network"
ignore_errors: true ignore_errors: true

View File

@ -1,5 +0,0 @@
# 主要组件版本
+ kubernetes v1.10.2
+ etcd v3.3.4
+ docker 18.03.0-ce

3
bin/readme.md 100644
View File

@ -0,0 +1,3 @@
# 项目二进制目录
集群用到的所有二进制文件已打包好供下载 https://pan.baidu.com/s/1c4RFaA

View File

@ -174,11 +174,6 @@ Subjects:
User system:kube-proxy User system:kube-proxy
``` ```
### kubedns.yaml 配置生成
+ kubedns.yaml文件中部分参数(CLUSTER_DNS_SVC_IP, CLUSTER_DNS_DOMAIN)根据hosts文件设置而定因此需要用template模块替换参数
+ 运行本步骤后,在 manifests/kubedns目录下生成 kubedns.yaml 文件,以供后续部署时使用
## prepare 角色 ## prepare 角色
``` bash ``` bash

View File

@ -1,8 +1,8 @@
#!/bin/bash #!/bin/bash
#主要组件版本如下 #主要组件版本如下
export K8S_VER=v1.10.2 export K8S_VER=v1.10.2
export ETCD_VER=v3.3.4 export ETCD_VER=v3.3.8
export DOCKER_VER=18.03.0-ce export DOCKER_VER=18.03.1-ce
export CNI_VER=v0.7.0 export CNI_VER=v0.7.0
export DOCKER_COMPOSE=1.18.0 export DOCKER_COMPOSE=1.18.0
export HARBOR=v1.2.2 export HARBOR=v1.2.2