File tree Expand file tree Collapse file tree 2 files changed +14
-10
lines changed
tasks/configure-pod-container Expand file tree Collapse file tree 2 files changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -29,22 +29,24 @@ mitigate some future vulnerabilities too.
29
29
<!-- body -->
30
30
## {{% heading "prerequisites" %}}
31
31
32
- {{% thirdparty-content single="true" %}}
33
- <!-- if adding another runtime in the future, omit the single setting -->
32
+ {{% thirdparty-content %}}
34
33
34
+ <!-- When merging this with the dev-1.27 branch conflicts will arise. The text
35
+ as it is in the dev-1.27 branch should be used. -->
35
36
This is a Linux only feature. In addition, support is needed in the
36
37
{{< glossary_tooltip text="container runtime" term_id="container-runtime" >}}
37
38
to use this feature with Kubernetes stateless pods:
38
39
39
- * CRI-O: v1 .25 has support for user namespaces.
40
+ * CRI-O: version 1 .25 (and later) supports user namespaces for containers .
40
41
41
- * containerd: support is planned for the 1.7 release. See containerd
42
- issue [ #7063 ] [ containerd-userns-issue ] for more details.
42
+ * containerd: version 1.7 supports user namespaces for containers, compatible
43
+ with Kubernetes v1.25 and v1.26, but not with later releases. If you are
44
+ running a different version of Kubernetes, check the documentation for that
45
+ Kubernetes release.
43
46
44
47
Support for this in [ cri-dockerd is not planned] [ CRI-dockerd-issue ] yet.
45
48
46
49
[ CRI-dockerd-issue ] : https://github.com/Mirantis/cri-dockerd/issues/74
47
- [ containerd-userns-issue ] : https://github.com/containerd/containerd/issues/7063
48
50
49
51
## Introduction
50
52
Original file line number Diff line number Diff line change @@ -43,11 +43,13 @@ this is true when user namespaces are used.
43
43
* You need to be able to exec into pods
44
44
* Feature gate ` UserNamespacesStatelessPodsSupport ` need to be enabled.
45
45
46
- In addition, support is needed in the
47
- {{< glossary_tooltip text="container runtime" term_id="container-runtime" >}}
48
- to use this feature with Kubernetes stateless pods:
46
+ The cluster that you're using ** must ** include at least one node that meets the
47
+ [ requirements ] ( /docs/concepts/workloads/pods/user-namespaces/#before-you-begin )
48
+ for using user namespaces with Pods.
49
49
50
- * CRI-O: v1.25 has support for user namespaces.
50
+ If you have a mixture of nodes and only some of the nodes provide user namespace support for
51
+ Pods, you also need to ensure that the user namespace Pods are
52
+ [ scheduled] ( /docs/concepts/scheduling-eviction/assign-pod-node/ ) to suitable nodes.
51
53
52
54
Please note that ** if your container runtime doesn't support user namespaces, the
53
55
new ` pod.spec ` field will be silently ignored and the pod will be created without
You can’t perform that action at this time.
0 commit comments