content: hostUsers can't be ignored from 1.30

Now the kubelet asks the runtime for the features it supports and if it
doesn't report user namespaces support, then the kubelet will fail the
pod creation.

Therefore, it is no longer possible for the field to be ignored.

Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
pull/45178/head
Rodrigo Campos 2024-03-18 11:50:06 +01:00
parent 89e0ec8a77
commit 69b9e71ff6
1 changed files with 0 additions and 4 deletions

View File

@ -57,10 +57,6 @@ If you have a mixture of nodes and only some of the nodes provide user namespace
Pods, you also need to ensure that the user namespace Pods are
[scheduled](/docs/concepts/scheduling-eviction/assign-pod-node/) to suitable nodes.
Please note that **if your container runtime doesn't support user namespaces, the
`hostUsers` field in the pod spec will be silently ignored and the pod will be
created without user namespaces.**
<!-- steps -->
## Run a Pod that uses a user namespace {#create-pod}