Skip to content

Commit

Permalink
更新 k8s
Browse files Browse the repository at this point in the history
  • Loading branch information
isno committed Dec 25, 2023
1 parent 58409d4 commit c540c39
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
16 changes: 15 additions & 1 deletion container/k8s-deploy-clilium.md
Original file line number Diff line number Diff line change
@@ -1 +1,15 @@
# 使用 clilium 配置网络
# 使用 clilium 配置网络

| 特性 | 最低版本 |
|---|---|
| Bandwidth Manager(带宽管理器) | >= 5.1 |
| Egress Gateway | |
| VXLAN Tunnel Endpoint (VTEP) Integration | |
|WireGuard Transparent Encryption||
|Full support for Session Affinity||
|BPF-based proxy redirection||
|Socket-level LB bypass in pod netns||
|L3 devices||
|BPF-based host routing||
|IPv6 BIG TCP support||
|IPv4 BIG TCP support||
8 changes: 8 additions & 0 deletions container/k8s-deploy-prepare.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,10 @@
# 初始化准备


关闭 swap

```
sed -i '/swap / s/^\(.*\)$/#\1/g' /etc/fstab
```

内存不足时,Linux 会自动使用 swap,将部分内存数据存放到磁盘中,运维实际的观察的情况是当内存不够发生内存转储到 swap 的时候,系统的任务负载数字会飙升,而且会持续很长时间,整个系统出现僵死情况,与其整个节点挂掉,不如 OOM 的时候直接杀掉进程。

0 comments on commit c540c39

Please sign in to comment.