@@ -80,33 +80,39 @@ ext4, xfs, fat, tmpfs, overlayfs.
80
80
Linux 6.3 中支持 idmap 挂载的一些比较流行的文件系统是:btrfs、ext4、xfs、fat、
81
81
tmpfs、overlayfs。
82
82
83
- <!-- When merging this with the dev-1.27 branch conflicts will arise. The text
84
- as it is in the dev-1.27 branch should be used. -->
85
83
<!--
86
84
In addition, support is needed in the
87
85
{{< glossary_tooltip text="container runtime" term_id="container-runtime" >}}
88
86
to use this feature with Kubernetes stateless pods:
89
87
90
88
* CRI-O: version 1.25 (and later) supports user namespaces for containers.
91
-
92
- Please note that containerd v1.7 supports user namespaces for containers,
93
- compatible with Kubernetes {{< skew currentPatchVersion >}}. It should not be used
94
- with Kubernetes 1.27 (and later).
95
-
96
- Support for this in [cri-dockerd is not planned][CRI-dockerd-issue] yet.
97
89
-->
98
90
99
91
此外,需要在{{< glossary_tooltip text="容器运行时" term_id="container-runtime" >}}提供支持,
100
92
才能在 Kubernetes 无状态 Pod 中使用这一功能:
101
93
102
94
* CRI-O:1.25(及更高)版本支持配置容器的用户命名空间。
103
95
104
- 请注意,containerd v1.7 支持配置容器的用户命名空间,与 Kubernetes {{< skew currentPatchVersion >}}
105
- 兼容。它不应与 Kubernetes 1.27(及更高)版本一起使用。
106
-
107
- 目前 [ cri-dockerd 没有计划] [ CRI-dockerd-issue ] 支持此功能。
108
-
109
- [ CRI-dockerd-issue ] : https://github.com/Mirantis/cri-dockerd/issues/74
96
+ <!--
97
+ containerd v1.7 is not compatible with the userns support in Kubernetes v{{< skew currentVersion >}}.
98
+ Kubernetes v1.25 and v1.26 used an earlier implementation that **is** compatible with containerd v1.7,
99
+ in terms of userns support.
100
+ If you are using a version of Kubernetes other than {{< skew currentVersion >}},
101
+ check the documentation for that version of Kubernetes for the most relevant information.
102
+ If there is a newer release of containerd than v1.7 available for use, also check the containerd
103
+ documentation for compatibility information.
104
+
105
+ You can see the status of user namespaces support in cri-dockerd tracked in an [issue][CRI-dockerd-issue]
106
+ on GitHub.
107
+ -->
108
+ containerd v1.7 与 Kubernetes v{{< skew currentVersion >}} 中的用户命名空间不兼容。
109
+ Kubernetes v1.25 和 v1.26 使用了早期的实现,在用户命名空间方面与 containerd v1.7 兼容。
110
+ 如果你使用的 Kubernetes 版本不是 {{< skew currentVersion >}},请查看该版本 Kubernetes
111
+ 的文档以获取更准确的信息。
112
+ 如果有比 v1.7 更新的 containerd 版本可供使用,请检查 containerd 文档以获取兼容性信息。
113
+
114
+ 你可以在 GitHub 上的 [ issue] [ CRI-dockerd-issue ] 中查看 cri-dockerd
115
+ 中用户命名空间支持的状态。
110
116
111
117
<!--
112
118
## Introduction
0 commit comments