mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +00:00
moved Pull-InfraContainer to the last
This commit is contained in:
parent
f574071b8c
commit
6ca8bd4103
@ -140,7 +140,6 @@ try {
|
|||||||
|
|
||||||
Create-DockerRegistryKey
|
Create-DockerRegistryKey
|
||||||
Configure-Dockerd
|
Configure-Dockerd
|
||||||
Pull-InfraContainer
|
|
||||||
DownloadAndInstall-KubernetesBinaries
|
DownloadAndInstall-KubernetesBinaries
|
||||||
Create-NodePki
|
Create-NodePki
|
||||||
Create-KubeletKubeconfig
|
Create-KubeletKubeconfig
|
||||||
@ -159,6 +158,8 @@ try {
|
|||||||
|
|
||||||
$config = New-FileRotationConfig
|
$config = New-FileRotationConfig
|
||||||
Schedule-LogRotation -Pattern '.*\.log$' -Path ${env:LOGS_DIR} -RepetitionInterval $(New-Timespan -Hour 1) -Config $config
|
Schedule-LogRotation -Pattern '.*\.log$' -Path ${env:LOGS_DIR} -RepetitionInterval $(New-Timespan -Hour 1) -Config $config
|
||||||
|
|
||||||
|
Pull-InfraContainer
|
||||||
}
|
}
|
||||||
catch {
|
catch {
|
||||||
Write-Host 'Exception caught in script:'
|
Write-Host 'Exception caught in script:'
|
||||||
|
Loading…
Reference in New Issue
Block a user