Commit Graph

24 Commits (issues-48002)

Author SHA1 Message Date
Rey Lejano 930294a0f4
Merge pull request #50366 from hacktivist123/merged-main-dev-1.33
Merged main branch into dev-1.33
2025-04-07 11:26:00 -07:00
Rodrigo Campos bcd9d3b51d userns: Clarify volume usage
Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
2025-03-24 15:54:51 +01:00
Akihiro Suda f39cd36122
user-namespaces: add idsPerPod configuration
Kubernetes v1.33 will support setting `userNamespaces.idsPerPod`
in `KubeletConfiguration`.

Depends on k/k PR 130028

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2025-03-21 01:06:08 +09:00
Kubernetes Prow Robot a77363f404
Merge pull request #49288 from AkihiroSuda/userns-65536
user-namespaces.md: subid count per pod is hard-coded to 65536
2025-01-06 13:56:16 +01:00
Akihiro Suda 07ff00e633
user-namespaces.md: subid count per pod is hard-coded to 65536
The number of subuids and subgids for each of pods is hard-coded to 65536,
regardless to the total ID count specified in `/etc/subuid` and `/etc/subgid`:
https://github.com/kubernetes/kubernetes/blob/v1.32.0/pkg/kubelet/userns/userns_manager.go#L211-L228

This fact was not clarified in the documentation.

Co-authored-by: Tim Bannister <tim@scalefactory.com>
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2025-01-06 21:50:01 +09:00
Akihiro Suda f0265ec30a
Update user-namespaces.md
Fixed an incomplete explanation about the subuid numbers, and moved the sentence for ease of reading
2025-01-06 06:46:09 +09:00
Akihiro Suda b127822e20
content: update UserNS document for runc v1.2 and containerd v2.0
Refs:
- opencontainers/runc PR 3717
- opencontainers/runc PR 3993
- containerd/containerd PR 8803

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2024-11-12 02:22:19 +09:00
Rodrigo Campos 89e0ec8a77 content: Add OCI runtime requirements for userns
Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
2024-03-19 14:59:40 +01:00
Rodrigo Campos 2c3ef64fee content: Document custom ranges for userns
Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
2024-03-19 14:59:39 +01:00
Rodrigo Campos 271bb1a8fb content: Mark userns as beta in 1.30
Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
2024-03-19 14:59:39 +01:00
Sascha Grunert 4e156c738d
Add documentation about user namespaces and PSS
Adding required documentation for
[KEP-127](https://github.com/kubernetes/enhancements/issues/127).

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
Co-authored-by: Tim Bannister <tim@scalefactory.com>
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2023-11-28 11:41:13 +01:00
Rodrigo Campos 6c2a9c574c content: Expand version requirements for userns explanation 2023-08-07 17:16:28 +02:00
Rodrigo Campos c34f1ebb8e content: Userns now supports stateful pods
Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
2023-08-07 17:16:28 +02:00
Rodrigo Campos 922458da9a content: Make userns statement about dockerd timeless
Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
2023-08-07 16:34:43 +02:00
Rodrigo Campos 5e70c9a88a content: Remove old note about userns
The note is no longer valid (the branch was already merged and the
merged was done correctly).

Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
2023-08-07 16:34:43 +02:00
Rodrigo Campos 73d698edf1 content: Fix typos in versions requirements for userns
The variable expansion is wrong: it currently expands to 1.27.3 on the
rendered website, so it says it is supported in 1.27 and that it is not.

Let's just re-work this paragraph so it is cleaerer and the variable
expansion is what we want (1.27 and not 1.27.3)-

Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
2023-08-07 16:34:43 +02:00
Michael 50bec1f123 replace currentVersion with currentPatchVersion in concepts 2023-06-02 18:56:23 +08:00
Mickey Boxell 31439e3d56 Merge branch 'upstream/main' into dev-1.27 2023-04-05 14:20:36 -05:00
Rodrigo Campos 2ffb037188
Document user namespace changes in v1.27 (KEP-127) (#39860)
* content: Update user namespaces version requirements

Also, with the new implementation, the fsGroup was dropped. So removed
the mention to those limitations.

Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>

* content: Add reference to the userns task in the concepts page

Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>

---------

Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
2023-03-30 20:01:48 -07:00
Rodrigo Campos d2cd6ca266 content: Mention containerd 1.7 supports user namespaces
containerd 1.7 was just released with user namespaces support. Let's
mention which kubernetes versions should work with container 1.7.

While we are there, let's clarify the CRI-O version and not duplicate
the requirements in the concept and task pages and just add a link

Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
2023-03-27 16:20:08 +02:00
David Xia 1318d40853
fix docs: update user-namespaces.md for English usage
Make it grammatically correct and more concise.
2023-03-04 07:12:56 -05:00
Rodrigo Campos 28e090aac6 content: Clarify how to verify user abstraction
This was mentioned in #36386.

Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
2022-10-10 15:35:16 +02:00
Giuseppe Scrivano 67afbf50c1
content: fix typo
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2022-08-30 14:59:09 +02:00
Rodrigo Campos 501cde25c7
Add doc for user namespaces in stateless pods
Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
2022-08-18 11:13:00 +02:00