@@ -293,7 +293,7 @@ on pods which use either no volumes or only volumes of the following types:
293
293
This list of volumes was chosen as they can't be used to share files with other
294
294
pods.
295
295
296
- The mapping length will be 65535 , mapping the range 0-65534 to the pod. This wide
296
+ The mapping length will be 65536 , mapping the range 0-65535 to the pod. This wide
297
297
range makes sure most workloads will work fine. Additionally, we don't need to
298
298
worry about fragmentation of IDs, as all pods will use the same length.
299
299
@@ -302,7 +302,7 @@ different pods in this category ("without" volumes) a non-overlapping mapping.
302
302
Giving non-overlapping mappings generates the best isolation for pods.
303
303
304
304
Furthermore, the node UID space of 2^32 can hold up to 2^16 pods each with a
305
- mapping length of 65535 (2^16-1 ) top. This imposes a limit of 65k pods per node,
305
+ mapping length of 65536 (2^16) top. This imposes a limit of 65k pods per node,
306
306
but that is not an issue we will hit in practice for a long time, if ever (today
307
307
we run 110 pods per node by default).
308
308
@@ -381,7 +381,7 @@ some other volume type than the ones listed for phase 1 is used. IOW, when phase
381
381
the phase 2.
382
382
383
383
All pods in this mode will use _ the same_ mapping, chosen by the kubelet, with a
384
- length 65535 , and mapping the range 0-65534 too. IOW, each pod will have its own user
384
+ length 65536 , and mapping the range 0-65535 too. IOW, each pod will have its own user
385
385
namespace, but they will map to _ the same_ UIDs/GIDs in the host.
386
386
387
387
Using the same mapping allows for pods to share files and mitigates all the
0 commit comments