k8wiz
Kubernetes
Medium
Architecture

What is the default value of userNamespaces.idsPerPod in the KubeletConfiguration?

Select your answer:

Show answer and explanation

Answer: 65536

Explanation

Each Pod with hostUsers set to false gets a block of 65536 host IDs by default, enough to map IDs 0 to 65535 inside the container. The field was added in 1.33 and any custom value must be a multiple of 65536, so 32768 is not even valid.

Read more about Kubernetes