clean typos logs in kubelet.

This commit is contained in:
zhanluxianshen 2024-05-22 16:56:06 +08:00
parent 68091805a5
commit e5c229fafa
No known key found for this signature in database
GPG Key ID: 97489C6711E9DDE6
3 changed files with 2 additions and 3 deletions

View File

@ -120,7 +120,7 @@ type ContainerManager interface {
// PrepareDynamicResource prepares dynamic pod resources
PrepareDynamicResources(*v1.Pod) error
// UnrepareDynamicResources unprepares dynamic pod resources
// UnprepareDynamicResources unprepares dynamic pod resources
UnprepareDynamicResources(*v1.Pod) error
// PodMightNeedToUnprepareResources returns true if the pod with the given UID

View File

@ -46,7 +46,6 @@ const (
// We will override user settings and set to either imagefs or nodefs depending on configuration.
SignalContainerFsAvailable Signal = "containerfs.available"
// SignalContainerFsInodesFree is amount of inodes available on filesystem that container runtime uses for container writable layers.
// SignalContainerFsAvailable is amount of storage available on filesystem that container runtime uses for container writable layers.
// In case of a single filesystem, containerfs=nodefs.
// In case of a image filesystem, containerfs=imagefs.
// We will override user settings and set to either imagefs or nodefs depending on configuration.

View File

@ -38,7 +38,7 @@ const (
fsStatsLogs fsStatsType = "logs"
// fsStatsRoot identifies stats for pod container writable layers.
fsStatsRoot fsStatsType = "root"
// fsStatsContainer identifies stats for pod container read-only layers
// fsStatsImages identifies stats for pod container read-only layers
fsStatsImages fsStatsType = "images"
)