This commit is contained in:
@@ -17,6 +17,12 @@
|
||||
ntpdate -u ntp.aliyun.com && date
|
||||
```
|
||||
|
||||
3. 配置定时任务
|
||||
|
||||
```bash
|
||||
0 2 * * * /usr/bin/ntpdate -u ntp.aliyun.com && /bin/date
|
||||
```
|
||||
|
||||
> 离线环境使用此篇文档同步
|
||||
>
|
||||
> [NTP时间同步](https://gitee.com/offends/Linux/blob/main/Docs/NTP%E6%97%B6%E9%97%B4%E5%90%8C%E6%AD%A5.md)
|
||||
@@ -120,13 +126,15 @@
|
||||
cat <<EOF | sudo tee /etc/sysctl.d/k8s.conf
|
||||
net.bridge.bridge-nf-call-ip6tables = 1
|
||||
net.bridge.bridge-nf-call-iptables = 1
|
||||
net.ipv6.conf.all.disable_ipv6 = 1
|
||||
net.ipv6.conf.default.disable_ipv6 = 1
|
||||
net.ipv4.ip_forward = 1
|
||||
vm.swappiness = 0
|
||||
EOF
|
||||
```
|
||||
|
||||
加载
|
||||
|
||||
|
||||
```bash
|
||||
sysctl --system
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user