mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 05:27:21 +00:00
pkg/kubelet/userns: Log userns mapping information
Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
This commit is contained in:
parent
69e270f509
commit
c348bd10e6
@ -145,6 +145,7 @@ func MakeUserNsManager(kl userNsPodsManager) (*UsernsManager, error) {
|
|||||||
}
|
}
|
||||||
off := int(kubeletMappingID / userNsLength)
|
off := int(kubeletMappingID / userNsLength)
|
||||||
len := int(kubeletMappingLen / userNsLength)
|
len := int(kubeletMappingLen / userNsLength)
|
||||||
|
klog.V(5).InfoS("User namespace manager mapping", "offset", off, "length", len, "idsPerPod", userNsLength)
|
||||||
|
|
||||||
m := UsernsManager{
|
m := UsernsManager{
|
||||||
used: allocator.NewAllocationMap(len, "user namespaces"),
|
used: allocator.NewAllocationMap(len, "user namespaces"),
|
||||||
|
Loading…
Reference in New Issue
Block a user