moved Pull-InfraContainer to the last

This commit is contained in:
Yu Liao 2019-10-29 16:00:39 -07:00
parent f574071b8c
commit 6ca8bd4103

View File

@ -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:'