mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 03:11:40 +00:00
Merge pull request #84538 from yliaog/windows
switched to use the pause image served from gcr
This commit is contained in:
commit
382f28ac63
@ -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:'
|
||||||
|
@ -51,7 +51,7 @@
|
|||||||
# - Document functions using proper syntax:
|
# - Document functions using proper syntax:
|
||||||
# https://technet.microsoft.com/en-us/library/hh847834(v=wps.620).aspx
|
# https://technet.microsoft.com/en-us/library/hh847834(v=wps.620).aspx
|
||||||
|
|
||||||
$INFRA_CONTAINER = 'mcr.microsoft.com/k8s/core/pause:1.0.0'
|
$INFRA_CONTAINER = 'gcr.io/gke-release/pause-win:1.0.0'
|
||||||
$GCE_METADATA_SERVER = "169.254.169.254"
|
$GCE_METADATA_SERVER = "169.254.169.254"
|
||||||
# The "management" interface is used by the kubelet and by Windows pods to talk
|
# The "management" interface is used by the kubelet and by Windows pods to talk
|
||||||
# to the rest of the Kubernetes cluster *without NAT*. This interface does not
|
# to the rest of the Kubernetes cluster *without NAT*. This interface does not
|
||||||
|
Loading…
Reference in New Issue
Block a user