Skip to content

Commit

Permalink
update k8s1.9.4 & minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gjmzj committed Mar 19, 2018
1 parent b0f8d90 commit 65f0d5e
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 10 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@

## 组件版本

- kubernetes v1.9.3
- etcd v3.3.1
- kubernetes v1.9.4
- etcd v3.3.2
- docker 17.12.0-ce
- calico/node v3.0.3
- flannel v0.10.0
Expand Down
4 changes: 2 additions & 2 deletions bin/VERSION.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 主要组件版本

+ kubernetes v1.9.3
+ etcd v3.3.1
+ kubernetes v1.9.4
+ etcd v3.3.2
+ docker 17.12.0-ce
4 changes: 2 additions & 2 deletions down/download.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
#主要组件版本如下
export K8S_VER=v1.9.3
export ETCD_VER=v3.3.1
export K8S_VER=v1.9.4
export ETCD_VER=v3.3.2
export DOCKER_VER=17.12.0-ce
export CNI_VER=v0.7.0
export DOCKER_COMPOSE=1.18.0
Expand Down
Binary file removed pics/alipay.png
Binary file not shown.
5 changes: 1 addition & 4 deletions roles/prepare/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,12 @@
- lxc-common

- block:
when: ansible_distribution == "CentOS"
- name: 删除centos默认安装
yum: name={{ item }} state=absent
with_items:
- firewalld
- python-firewall
- firewalld-filesystem

- name: 安装基础软件包
yum: name={{ item }} state=installed
with_items:
Expand All @@ -62,16 +60,15 @@
- psmisc # 安装psmisc 才能使用命令killall,它在keepalive的监测脚本中使用到
- net-tools
- bash-completion

- name: 临时关闭 selinux
shell: "setenforce 0"
failed_when: false

- name: 永久关闭 selinux
lineinfile:
dest: /etc/selinux/config
regexp: "^SELINUX"
line: "SELINUX=disabled"
when: ansible_distribution == "CentOS"

- name: 添加 kubectl 命令自动补全
shell: "sed -i '/kubectl completion/d' ~/.bashrc && \
Expand Down

0 comments on commit 65f0d5e

Please sign in to comment.