forked from easzlab/kubeasz
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
92 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
## 06-安装cilium网络组件 | ||
|
||
待更新。。。 | ||
|
||
### 前提 | ||
|
||
[升级内核](guide/kernel_upgrade.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Linux Kernel 升级 | ||
|
||
k8s,docker,cilium等很多功能、特性需要较新的linux内核支持,所以有必要在集群部署前对内核进行升级;CentOS7 和 Ubuntu16.04可以很方便的完成内核升级。 | ||
|
||
## CentOS7 | ||
|
||
``` bash | ||
# 载入公钥 | ||
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org | ||
# 安装ELRepo | ||
rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm | ||
# 载入elrepo-kernel元数据 | ||
yum --disablerepo=\* --enablerepo=elrepo-kernel repolist | ||
# 查看可用的rpm包 | ||
yum --disablerepo=\* --enablerepo=elrepo-kernel list kernel* | ||
# 安装最新版本的kernel | ||
yum --disablerepo=\* --enablerepo=elrepo-kernel install -y kernel-ml.x86_64 | ||
# 删除旧版本工具包 | ||
yum remove kernel-tools-libs.x86_64 kernel-tools.x86_64 -y | ||
# 安装新版本工具包 | ||
yum --disablerepo=\* --enablerepo=elrepo-kernel install -y kernel-ml-tools.x86_64 | ||
|
||
#查看默认启动顺序 | ||
awk -F\' '$1=="menuentry " {print $2}' /etc/grub2.cfg | ||
CentOS Linux (4.4.4-1.el7.elrepo.x86_64) 7 (Core) | ||
CentOS Linux (3.10.0-327.10.1.el7.x86_64) 7 (Core) | ||
CentOS Linux (0-rescue-c52097a1078c403da03b8eddeac5080b) 7 (Core) | ||
#默认启动的顺序是从0开始,新内核是从头插入(目前位置在0,而4.4.4的是在1),所以需要选择0。 | ||
grub2-set-default 0 | ||
#重启并检查 | ||
reboot | ||
``` | ||
|
||
## Ubuntu16.04 | ||
|
||
``` bash | ||
打开 http://kernel.ubuntu.com/~kernel-ppa/mainline/ 并选择列表中选择你需要的版本(以4.16.3为例)。 | ||
接下来,根据你的系统架构下载 如下.deb 文件: | ||
Build for amd64 succeeded (see BUILD.LOG.amd64): | ||
linux-headers-4.16.3-041603_4.16.3-041603.201804190730_all.deb | ||
linux-headers-4.16.3-041603-generic_4.16.3-041603.201804190730_amd64.deb | ||
linux-image-4.16.3-041603-generic_4.16.3-041603.201804190730_amd64.deb | ||
#安装后重启即可 | ||
$ sudo dpkg -i *.deb | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
## kubeasz-0.3.0 发布说明 | ||
|
||
CHANGELOG: | ||
- 组件更新: | ||
- k8s: v1.11.2/v1.10.6/v1.9.10/v1.8.15 | ||
- calico: v3.1.3 | ||
- kube-router: v0.2.0-beta.9 | ||
- 功能更新: | ||
- **增加集群备份与恢复** 功能与[说明](https://github.com/gjmzj/kubeasz/blob/master/docs/op/cluster_restore.md) | ||
- **增加cilium网络插件** ,文档待更新 | ||
- **增加cluster-storage角色** 与[文档说明](https://github.com/gjmzj/kubeasz/blob/master/docs/08-cluster-storage.md) | ||
- 增加阿里云NAS存储支持 | ||
- 增加集群个性化[配置说明](https://github.com/gjmzj/kubeasz/blob/master/docs/config_guide.md)与生成脚本`tools/init_vars.yml` | ||
- 支持deploy节点与ansible执行节点分离,为一份代码创建多个集群准备 | ||
- 其他: | ||
- 更新 jenkins and plugins (#258) | ||
- 重写 nfs动态存储脚本与文档 | ||
- 优化 cluster-addon 安装脚本 | ||
- 增加 docker 配置文件 | ||
- 更新 offline images 0.3 | ||
- 增加 batch/v2alpha支持 | ||
- 移动 DNS yaml文件至 /opt/kube/kube-system | ||
- fix 多主集群下change_k8s_network时vip丢失问题 | ||
- fix 禁止节点使用系统swap | ||
- fix 解压后的harbor安装文件没有执行权限问题 | ||
- fix Ubuntu 18.04无法安装haproxy、keepalived问题 |