Skip to content

Commit

Permalink
Merge pull request kubernetes#125047 from zhanluxianshen/clean-typos-…
Browse files Browse the repository at this point in the history
…in-kubelet

clean typos logs in kubelet.
  • Loading branch information
k8s-ci-robot committed Jun 28, 2024
2 parents 19d9e4f + e5c229f commit 16b7d53
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/kubelet/cm/container_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion pkg/kubelet/eviction/api/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion pkg/kubelet/eviction/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down

0 comments on commit 16b7d53

Please sign in to comment.