Skip to content

Pause container always runs ping.exe #1576

@marosset

Description

@marosset

createPod() always runs cmd /c ping -t 127.0.0.1 > nul for the pause container for Windows process isolated pods.
https://github.com/microsoft/hcsshim/blob/main/cmd/containerd-shim-runhcs-v1/pod.go#L240-L245

Kubernetes maintains a Windows pause image that is supposed to run pause.exe instead of ping.exe.
ping.exe creates unnecessary I/O which can cause performance issues on machines running large numbers of pods/containers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions