2022-01-12 03:18:20 UTC
2.95 GB
v1.20.14
[#000] sha256:18ae6bebe21d13de4442e4cafdf4fbf4e5b0d866afe416f302da087f53f04ae1 - 47.55% (1.4 GB)
[#001] sha256:3aff99b000970ade8766a006338a898f0d5d035a89037044890b777928da56bd - 38.38% (1.13 GB)
[#002] sha256:044c41282ce6aac0308401597f4aa4cedd07155c200a15aa20bb695b0cd3ed7d - 0.0% (1.26 KB)
[#003] sha256:3b164fcaa795c9b579ed9815f13db88a8a1b81dd474808a39bce533e748ddb15 - 0.29% (8.84 MB)
[#004] sha256:446821a82365d78bddafa774df8ded812ff6435138e7477d27edd2f9b40c9406 - 0.0% (1.26 KB)
[#005] sha256:3b5fa74800fc5238145d147283fb4cf5b10828f7bf32b124b06b922109d9edf5 - 9.33% (282 MB)
[#006] sha256:ca309a5a3f6e1dad783d3b47db078549ae828e9b101e2e150ff307ed324d75b3 - 0.01% (368 KB)
[#007] sha256:d22ac48c860e9d5a7c66686497fcaf26326f17ba251e3efbc70163ca0fab31c6 - 2.38% (71.9 MB)
[#008] sha256:847f317becb963f775220f7039a85e652ca64d22a920e141b3af80fa7ec44111 - 0.4% (12.1 MB)
[#009] sha256:5f6bc1fd074ae7f75156071de98cdbf6b15d43d4248f4fe4a71617f7bb1f8fcc - 1.66% (50 MB)
[#010] sha256:6a83ec0b8ef9aef4a5d1a8c8bf6f94cec09b283d2822a448be370bf9c2a8f311 - 0.0% (2.73 KB)
[#011] sha256:358a234dc2c51d1df6c2f2abfc9e64742c9fa0e79d16f563f78e9275792383b3 - 0.0% (1.3 KB)
[#012] sha256:7c284ae0183159cde0dba1b3acbdca5d4f9d0c2f14b74bd420d385e5ea86e1bd - 0.0% (1.29 KB)
[#013] sha256:d5bd2a4e4f30a2b295ed6018e230a72aece6933c94e0783caccc2db515c2ef4d - 0.0% (1.28 KB)
[#014] sha256:d549f26b99cccb2e08cf94fac2461930072969fd40310211c7a6ff7a6b229d1d - 0.0% (1.29 KB)
Apply image 20H2-RTM-amd64
2022-01-08 08:44:10 UTCInstall update 20H2-amd64
2022-01-12 03:12:32 UTCpowershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2022-01-12 03:13:20 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; } }
2022-01-12 03:13:20 UTCpowershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV K8S_VERSION=v1.20.14
2022-01-12 03:13:43 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.'
2022-01-12 03:13:51 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"
2022-01-12 03:18:00 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.'
2022-01-12 03:18:08 UTCpowershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; Move-Item -Path /kubernetes/node/bin/kubectl.exe -Destination /Windows
2022-01-12 03:18:17 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/
2022-01-12 03:18:18 UTCpowershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) COPY file:a25ff59f87ce735ca258824b8e027055fcc5a2f55b5e3e0346de6848ff3fa9ab in \usr\bin\
2022-01-12 03:18:18 UTCpowershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) LABEL org.label-schema.build-date=2022-01-12T03:08:25Z
2022-01-12 03:18:19 UTCpowershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) LABEL org.label-schema.schema-version=1.0
2022-01-12 03:18:19 UTCpowershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) LABEL org.label-schema.vcs-ref=c9f60ae5e4ec2690843a8c05beda85a6ae1b5629
2022-01-12 03:18:20 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.