2021-06-10 17:04:55 UTC
2.96 GB
v1.22.0-alpha.3
[#000] sha256:18ae6bebe21d13de4442e4cafdf4fbf4e5b0d866afe416f302da087f53f04ae1 - 47.38% (1.4 GB)
[#001] sha256:98622c7525a40dec3c88fac81718f4f208a70f5347eb4faf74f15a78149114df - 36.19% (1.07 GB)
[#002] sha256:beccd3abddb7004d828db953a07bac5c8adc0adc0168e35aebe0ef07a398038a - 0.0% (1.3 KB)
[#003] sha256:a3b52e2d6564a8fe93ea68b49014dd30bf31e487557275d63f8061cb81099a95 - 0.29% (8.75 MB)
[#004] sha256:215bc838b1afce49ff73910715b88167cd6540b4a642124a7ea6354eb13fbc2f - 0.0% (1.26 KB)
[#005] sha256:e8b5bfb3659d5a871bc03dfe614d68bf9ed3915995ad1e4f4548bac91a4882a2 - 11.17% (338 MB)
[#006] sha256:914fd658343b00973362fdf9c5426a12cfbe26d978eb9c4fc26634a0f4d26141 - 0.01% (380 KB)
[#007] sha256:f81ecef641318b15c3cb3093cb692b406a9b928e9df7d5cb9f982ffbd84ea766 - 2.38% (72 MB)
[#008] sha256:adda066282e0fe409382e947603a740cdacc342870d889594cbc056b93b96470 - 0.45% (13.8 MB)
[#009] sha256:540021fa428915999966a93d9e7a857822dbb5ff595108a09d50406bb7c8940c - 2.13% (64.4 MB)
[#010] sha256:d564802c58a5e3a8bfdf0a167acded697e15b56fd5ca2fa1174ee16e2d02ba06 - 0.0% (2.75 KB)
[#011] sha256:fc3c4679623deea47a15e25fe3a69da8f798a47c4fa98bf80a0e1237608ea391 - 0.0% (1.26 KB)
[#012] sha256:7f89dfda8585b69225cc17a0d9d7b60f09b00c9824769c9dfdfbe6d56cb4e67c - 0.0% (1.27 KB)
[#013] sha256:8e7aaae6bf9d0ed797c6524d4c980ba32c2ac3313c3253d6e80ecf788748c6e0 - 0.0% (1.3 KB)
[#014] sha256:91f2a58b87edddb774bd78902017932d12b8b6c9dcb8168578494135c5e03be6 - 0.0% (1.27 KB)
Apply image 20H2-RTM-amd64
2021-06-06 19:49:44 UTCInstall update 20H2-amd64
2021-06-10 16:58:19 UTCpowershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2021-06-10 16:58:44 UTCpowershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; if (-not (Get-Command Expand-7Zip -ErrorAction Ignore)) { Install-PackageProvider -Name NuGet -Force -Verbose; Install-Module -Name 7Zip4Powershell -Repository PSGallery -Force -Verbose; if(-not $?) { Write-Error "Failed to install package"; Exit 1; } }
2021-06-10 16:58:44 UTCpowershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV K8S_VERSION=v1.22.0-alpha.3
2021-06-10 16:59:12 UTCpowershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; $URL = ('https://dl.k8s.io/{0}/kubernetes-node-windows-amd64.tar.gz' -f $env:K8S_VERSION); function Expand-GZip ($inFile, $outFile) { $input = New-Object System.IO.FileStream $inFile, ([IO.FileMode]::Open), ([IO.FileAccess]::Read), ([IO.FileShare]::Read); $output = New-Object System.IO.FileStream $outFile, ([IO.FileMode]::Create), ([IO.FileAccess]::Write), ([IO.FileShare]::None); $gzipStream = New-Object System.IO.Compression.GzipStream $input, ([IO.Compression.CompressionMode]::Decompress); try { if (!$input -or !$output -or !$gzipStream) { Write-Error "Failed to Unzip the archive"; Exit 1; } $buffer = New-Object byte[](1024); while ($true) { $read = $gzipstream.Read($buffer, 0, 1024); if ($read -le 0 ) { break; } $output.Write($buffer, 0, $read); } } finally { $gzipStream.Close(); $output.Close(); $input.Close(); } }; Write-Host ('Downloading Kubernetes from {0} ...' -f $URL); [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -UseBasicParsing -OutFile c:\kubernetes.tar.gz -Uri $URL; Write-Host 'Expanding ...'; Expand-GZip c:\kubernetes.tar.gz c:\kubernetes.tar; Expand-7Zip c:\kubernetes.tar c:\; Write-Host 'Complete.'
2021-06-10 16:59:22 UTCpowershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; New-Item -ItemType SymbolicLink -Target "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Path "C:\Windows\System32\WindowsPowerShell\v1.0\pwsh.exe"
2021-06-10 17:04:31 UTCpowershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; $URL = 'https://github.com/rancher/azure-cli/releases/download/v0.0.2/dist.azure-cli.zip'; Write-Host ('Downloading azure-cli from {0} ...' -f $URL); [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -UseBasicParsing -OutFile c:\azure-cli.zip -Uri $URL; Write-Host 'Expanding ...'; Expand-Archive -Force -Path c:\azure-cli.zip -DestinationPath c:\azure-cli; Remove-Item -Force -Path c:\azure-cli.zip; Write-Host 'Complete.'
2021-06-10 17:04:41 UTCpowershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; Move-Item -Path /kubernetes/node/bin/kubectl.exe -Destination /Windows
2021-06-10 17:04:52 UTCpowershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; New-Item -Force -ItemType Directory -Path /etc; New-Item -Force -ItemType Directory -Path /etc/kubernetes; New-Item -Force -ItemType Directory -Path /etc/kubernetes/bin; Move-Item -Path /kubernetes/node/bin/*.exe -Destination /etc/kubernetes/bin/
2021-06-10 17:04:52 UTCpowershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) COPY file:a25ff59f87ce735ca258824b8e027055fcc5a2f55b5e3e0346de6848ff3fa9ab in \usr\bin\
2021-06-10 17:04:53 UTCpowershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) LABEL org.label-schema.build-date=2021-06-10T16:58:18Z
2021-06-10 17:04:53 UTCpowershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) LABEL org.label-schema.schema-version=1.0
2021-06-10 17:04:54 UTCpowershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) LABEL org.label-schema.vcs-ref=337b8b2f0cd871090e8e54100d31a42a0265e858
2021-06-10 17:04:55 UTCpowershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) LABEL org.label-schema.vcs-url=https://github.com/rancher/hyperkube.git
Please be careful as this will not just delete the reference but also the actual content!
For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.