Skip to content

Commit

Permalink
content: hostUsers can't be ignored from 1.30
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
rata committed Mar 19, 2024
1 parent 89e0ec8 commit 69b9e71
Showing 1 changed file with 0 additions and 4 deletions.
Expand Up @@ -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}
Expand Down

0 comments on commit 69b9e71

Please sign in to comment.