mirror of https://github.com/easzlab/kubeasz.git
update k8s1.9.4 & minor fix
parent
b0f8d90ef5
commit
65f0d5e30b
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
BIN
pics/alipay.png
BIN
pics/alipay.png
Binary file not shown.
Before Width: | Height: | Size: 36 KiB |
|
@ -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 && \
|
||||||
|
|
Loading…
Reference in New Issue