Skip to content

Commit 4ed6a11

Browse files
authored
Merge pull request #51459 from rata/userns-134
docs: Add userns changes in 1.34
2 parents 27c3ac2 + f3a6e8e commit 4ed6a11

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

content/en/docs/concepts/workloads/pods/user-namespaces.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,18 @@ allowed to set any of:
280280
* `hostIPC: true`
281281
* `hostPID: true`
282282

283+
No container can use `volumeDevices` (raw block volumes, like /dev/sda) either.
284+
This includes all the container arrays in the pod spec:
285+
* `containers`
286+
* `initContainers`
287+
* `ephemeralContainers`
288+
289+
## Metrics and observability
290+
291+
The kubelet exports two prometheus metrics specific to user-namespaces:
292+
* `started_user_namespaced_pods_total`: a counter that tracks the number of user namespaced pods that are attempted to be created.
293+
* `started_user_namespaced_pods_errors_total`: a counter that tracks the number of errors creating user namespaced pods.
294+
283295
## {{% heading "whatsnext" %}}
284296

285297
* Take a look at [Use a User Namespace With a Pod](/docs/tasks/configure-pod-container/user-namespaces/)

0 commit comments

Comments
 (0)