Skip to content

Commit

Permalink
Merge pull request #1855 from swordqiu/automated-cherry-pick-of-#1854…
Browse files Browse the repository at this point in the history
…-upstream-release-3.10

Automated cherry pick of #1854: fix: minor updates 20231206
  • Loading branch information
swordqiu committed Dec 7, 2023
2 parents 4382e23 + fda9108 commit 9f6e9f1
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
5 changes: 5 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,11 @@ time_format_blog = "02.01.2006"
url = "docs/swagger"
weight = 70

[[languages.zh.menu.main]]
name = "新版文档"
url = "https://v2.cloudpods.org/"
weight = 2000

[languages.en]
languageName = "English"
contentDir = "content/en"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,9 +222,24 @@ ovs_offload_nics:
- bond0
```

### 常见问题
## 虚拟机配置

#### 如何验证一个PCI设备支持SR-IOV?
SR-IOV透传到虚拟机后,对虚拟机表现为同型号的物理网卡,对于Mellanox的网卡,也建议安装官方的OFED驱动。

```
$ wget https://content.mellanox.com/ofed/MLNX_OFED-5.8-1.1.2.1/MLNX_OFED_LINUX-5.8-1.1.2.1-rhel7.9-x86_64.iso
$ mount -o loop MLNX_OFED_LINUX-5.8-1.1.2.1-rhel7.9-x86_64.iso /mnt
$ cd /mnt
$ ./mlnxofedinstall
$ dracut -f
$ /etc/init.d/openibd restart
$ reboot
```


## 常见问题

### 如何验证一个PCI设备支持SR-IOV?

执行命令如下命令,查看设备的 capabilities 中是否包含了 SR-IOV:

Expand Down
6 changes: 6 additions & 0 deletions content/zh/docs/ops/k8s/dnserror.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ calicoctl patch ippool default-ipv4-ippool -p '{"spec":{"ipipMode":"Never", "vxl
calicoctl patch felixconfig default -p '{"spec":{"ipipEnabled":false}}'
```

如果需要调整MTU,请用如下命令:
```bash
calicoctl patch felixconfig default -p '{"spec":{"ipipMtu":1430}}'
calicoctl patch felixconfig default -p '{"spec":{"vxlanMtu":1430}}'
```


## 原因排查

Expand Down

0 comments on commit 9f6e9f1

Please sign in to comment.