diff --git a/cluster/gce/windows/k8s-node-setup.psm1 b/cluster/gce/windows/k8s-node-setup.psm1 index 103701fc25b..9cb85b47d43 100644 --- a/cluster/gce/windows/k8s-node-setup.psm1 +++ b/cluster/gce/windows/k8s-node-setup.psm1 @@ -1635,6 +1635,8 @@ function Install-Pigz { # Windows path it'll use it instead of the default unzipper. # See: https://github.com/containerd/containerd/issues/1896 Add-MachineEnvironmentPath -Path $PIGZ_ROOT + # Add process exclusion for Windows Defender to boost performance. + Add-MpPreference -ExclusionProcess "$PIGZ_ROOT\unpigz.exe" Log-Output "Installed Pigz $PIGZ_VERSION" } else { Log-Output "Pigz already installed."