Skip to content

Commit c348bd1

Browse files
committed
pkg/kubelet/userns: Log userns mapping information
Signed-off-by: Rodrigo Campos <[email protected]>
1 parent 69e270f commit c348bd1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/kubelet/userns/userns_manager.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ func MakeUserNsManager(kl userNsPodsManager) (*UsernsManager, error) {
145145
}
146146
off := int(kubeletMappingID / userNsLength)
147147
len := int(kubeletMappingLen / userNsLength)
148+
klog.V(5).InfoS("User namespace manager mapping", "offset", off, "length", len, "idsPerPod", userNsLength)
148149

149150
m := UsernsManager{
150151
used: allocator.NewAllocationMap(len, "user namespaces"),

0 commit comments

Comments
 (0)