docs(content): refresh Kubernetes helper versions

This commit is contained in:
yeasy
2026-05-26 00:45:20 -07:00
parent ea26f96297
commit 3a9ee19d22
3 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -523,7 +523,7 @@ domainname: your_website.com
hostname: test
mac_address: 08-00-27-00-0C-0A
```
允许容器中运行一些特权命令
允许容器中运行一些特权命令`privileged: true` 会显著扩大容器对宿主机设备和 Linux capability 的访问范围生产环境应优先使用更窄的 `cap_add``devices` 或只读挂载更多说明见 [内核能力机制](../18_security/18.4_kernel_capability.md)
```yaml
privileged: true
+2 -2
View File
@@ -272,9 +272,9 @@ $ kubectl get node -o yaml | grep CIDR
podCIDRs:
```
```bash
# 注意:v0.28.2编写本文档时的最新版本,请根据需要替换为当前版本
# 注意:以下以 v0.28.4示例;安装前请到 releases 页面核验当前版本
# 参见 https://github.com/flannel-io/flannel/releases
$ kubectl apply -f https://raw.githubusercontent.com/flannel-io/flannel/v0.28.2/Documentation/kube-flannel.yml
$ kubectl apply -f https://raw.githubusercontent.com/flannel-io/flannel/v0.28.4/Documentation/kube-flannel.yml
```
### 14.1.10 master 节点默认不能运行 pod
+8 -8
View File
@@ -24,12 +24,12 @@
```bash
# 安装 cri-dockerd
# 注意v0.3.24 为编写本文档时的最新版本请根据需要替换为当前版本
# 注意以下以 v0.4.3 为示例安装前请到 releases 页面核验当前版本和校验值
# 参见 https://github.com/Mirantis/cri-dockerd/releases
$ cd /tmp
$ wget https://github.com/Mirantis/cri-dockerd/releases/download/v0.3.24/cri-dockerd-0.3.24.amd64.tgz
$ tar xzvf cri-dockerd-0.3.24.amd64.tgz
$ wget https://github.com/Mirantis/cri-dockerd/releases/download/v0.4.3/cri-dockerd-0.4.3.amd64.tgz
$ tar xzvf cri-dockerd-0.4.3.amd64.tgz
$ sudo mv cri-dockerd/cri-dockerd /usr/local/bin/
# 下载并安装 systemd service 文件
@@ -54,12 +54,12 @@ $ sudo /usr/local/bin/cri-dockerd --version
```bash
# 安装 cri-dockerd
# 注意v0.3.24 为编写本文档时的最新版本请根据需要替换为当前版本
# 注意以下以 v0.4.3 为示例安装前请到 releases 页面核验当前版本和校验值
# 参见 https://github.com/Mirantis/cri-dockerd/releases
$ cd /tmp
$ wget https://github.com/Mirantis/cri-dockerd/releases/download/v0.3.24/cri-dockerd-0.3.24.amd64.tgz
$ tar xzvf cri-dockerd-0.3.24.amd64.tgz
$ wget https://github.com/Mirantis/cri-dockerd/releases/download/v0.4.3/cri-dockerd-0.4.3.amd64.tgz
$ tar xzvf cri-dockerd-0.4.3.amd64.tgz
$ sudo mv cri-dockerd/cri-dockerd /usr/local/bin/
# 下载并安装 systemd service 文件
@@ -290,9 +290,9 @@ $ kubectl get node -o yaml | grep CIDR
podCIDRs:
```
```bash
# 注意v0.28.2 编写本文档时的最新版本请根据需要替换为当前版本
# 注意以下以 v0.28.4 示例安装前请到 releases 页面核验当前版本
# 参见 https://github.com/flannel-io/flannel/releases
$ kubectl apply -f https://raw.githubusercontent.com/flannel-io/flannel/v0.28.2/Documentation/kube-flannel.yml
$ kubectl apply -f https://raw.githubusercontent.com/flannel-io/flannel/v0.28.4/Documentation/kube-flannel.yml
```
### 14.2.10 master 节点默认不能运行 pod