From 6ca8bd41033547bb7f225c7d39343dde885ffe86 Mon Sep 17 00:00:00 2001 From: Yu Liao Date: Tue, 29 Oct 2019 16:00:39 -0700 Subject: [PATCH] moved Pull-InfraContainer to the last --- cluster/gce/windows/configure.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cluster/gce/windows/configure.ps1 b/cluster/gce/windows/configure.ps1 index 33e74e14f0d..64ab8d914ab 100644 --- a/cluster/gce/windows/configure.ps1 +++ b/cluster/gce/windows/configure.ps1 @@ -140,7 +140,6 @@ try { Create-DockerRegistryKey Configure-Dockerd - Pull-InfraContainer DownloadAndInstall-KubernetesBinaries Create-NodePki Create-KubeletKubeconfig @@ -159,6 +158,8 @@ try { $config = New-FileRotationConfig Schedule-LogRotation -Pattern '.*\.log$' -Path ${env:LOGS_DIR} -RepetitionInterval $(New-Timespan -Hour 1) -Config $config + + Pull-InfraContainer } catch { Write-Host 'Exception caught in script:'