update k8s1.9.4 & minor fix

pull/164/head
gjmzj 2018-03-19 14:37:43 +08:00
parent b0f8d90ef5
commit 65f0d5e30b
5 changed files with 7 additions and 10 deletions

View File

@ -16,8 +16,8 @@
## 组件版本 ## 组件版本
- kubernetes v1.9.3 - kubernetes v1.9.4
- etcd v3.3.1 - etcd v3.3.2
- docker 17.12.0-ce - docker 17.12.0-ce
- calico/node v3.0.3 - calico/node v3.0.3
- flannel v0.10.0 - flannel v0.10.0

View File

@ -1,5 +1,5 @@
# 主要组件版本 # 主要组件版本
+ kubernetes v1.9.3 + kubernetes v1.9.4
+ etcd v3.3.1 + etcd v3.3.2
+ docker 17.12.0-ce + docker 17.12.0-ce

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
#主要组件版本如下 #主要组件版本如下
export K8S_VER=v1.9.3 export K8S_VER=v1.9.4
export ETCD_VER=v3.3.1 export ETCD_VER=v3.3.2
export DOCKER_VER=17.12.0-ce export DOCKER_VER=17.12.0-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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

View File

@ -45,14 +45,12 @@
- lxc-common - lxc-common
- block: - block:
when: ansible_distribution == "CentOS"
- name: 删除centos默认安装 - name: 删除centos默认安装
yum: name={{ item }} state=absent yum: name={{ item }} state=absent
with_items: with_items:
- firewalld - firewalld
- python-firewall - python-firewall
- firewalld-filesystem - firewalld-filesystem
- name: 安装基础软件包 - name: 安装基础软件包
yum: name={{ item }} state=installed yum: name={{ item }} state=installed
with_items: with_items:
@ -62,16 +60,15 @@
- psmisc # 安装psmisc 才能使用命令killall它在keepalive的监测脚本中使用到 - psmisc # 安装psmisc 才能使用命令killall它在keepalive的监测脚本中使用到
- net-tools - net-tools
- bash-completion - bash-completion
- name: 临时关闭 selinux - name: 临时关闭 selinux
shell: "setenforce 0" shell: "setenforce 0"
failed_when: false failed_when: false
- name: 永久关闭 selinux - name: 永久关闭 selinux
lineinfile: lineinfile:
dest: /etc/selinux/config dest: /etc/selinux/config
regexp: "^SELINUX" regexp: "^SELINUX"
line: "SELINUX=disabled" line: "SELINUX=disabled"
when: ansible_distribution == "CentOS"
- name: 添加 kubectl 命令自动补全 - name: 添加 kubectl 命令自动补全
shell: "sed -i '/kubectl completion/d' ~/.bashrc && \ shell: "sed -i '/kubectl completion/d' ~/.bashrc && \