Skip to content

Commit

Permalink
Merge branch 'master' of github.com:opsnull/follow-me-install-kuberne…
Browse files Browse the repository at this point in the history
…tes-cluster
  • Loading branch information
Zhang Jun committed Oct 18, 2018
2 parents fd02688 + 7ae0642 commit 63eac21
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions 01.系统初始化和全局变量.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,13 @@ $ sudo service dnsmasq stop
$ sudo systemctl disable dnsmasq
```

## 加载内核模块

``` bash
$ sudo modprobe br_netfilter
$ sudo modprobe ip_vs
```

## 设置系统参数

``` bash
Expand All @@ -176,13 +183,6 @@ $ sudo mount -t cgroup -o cpu,cpuacct none /sys/fs/cgroup/cpu,cpuacct
+ tcp_tw_recycle 和 Kubernetes 的 NAT 冲突,必须关闭 ,否则会导致服务不通;
+ 关闭不使用的 IPV6 协议栈,防止触发 docker BUG;

## 加载内核模块

``` bash
$ sudo modprobe br_netfilter
$ sudo modprobe ip_vs
```

## 设置系统时区

``` bash
Expand Down Expand Up @@ -245,4 +245,4 @@ for node_ip in ${NODE_IPS[@]}

## 参考

1. 系统内核相关参数参考:https://docs.openshift.com/enterprise/3.2/admin_guide/overcommit.html
1. 系统内核相关参数参考:https://docs.openshift.com/enterprise/3.2/admin_guide/overcommit.html

0 comments on commit 63eac21

Please sign in to comment.