2022-06-03 05:48:25 UTC
3 GB
v1.21.13
[#000] sha256:18ae6bebe21d13de4442e4cafdf4fbf4e5b0d866afe416f302da087f53f04ae1 - 46.74% (1.4 GB)
[#001] sha256:52eb12a90ff62c5c90193a827fcaf7cb3b7bc762dfb3326ad322ce1afece3728 - 37.3% (1.12 GB)
[#002] sha256:3caaa07393c408279cee1ec711a9c8ccc90037ef2c3b2974f62bf338683e6ea0 - 0.0% (1.29 KB)
[#003] sha256:8d4fcdfd4c607cbfa3f7a9928875e99f76cb449165142ad5e67978506c243316 - 0.29% (8.87 MB)
[#004] sha256:e4d5a1bdfe549729d49b554dd829357e8d5d20862b26d0d55bcdcd0bcf22205c - 0.0% (1.26 KB)
[#005] sha256:194bc8fafef224960486da749df3717d5f5c90c7f929f1ee3b2b305dadaf0b92 - 10.8% (332 MB)
[#006] sha256:769196895aec6aa2d14709d5974b85cc10d57a854b4fa1b1dd16d90513daed08 - 0.01% (408 KB)
[#007] sha256:47cfdb55825070d048452212cf4218a41f510643901dd4288f4c8e80ae5fe2d2 - 2.34% (72 MB)
[#008] sha256:5c42e8b44028a29005044f63a135d6e7b45fbd1c07c33d399475c1823c6e2ca9 - 0.44% (13.5 MB)
[#009] sha256:39bab6f28f97b46692f342b9944a40032a2f2d87132b3b73811e7d5b7402e203 - 2.07% (63.7 MB)
[#010] sha256:06a0a8b358c31f512e6cd544cda3a368b44b400bab5251f29aaf833f90e1032c - 0.0% (2.72 KB)
[#011] sha256:8bb86b64a8e259769bbcb1d1ca1d448ef1db000a47e92e688d4af938f186e581 - 0.0% (1.28 KB)
[#012] sha256:e4d49cc23be6b13ea8154b52fe3995cffaa25123002ca5188318e983cc241c4c - 0.0% (1.26 KB)
[#013] sha256:c88470275c7e7b0ca1734280f11d8c7e4c7a78cf23b55e9e7838b19ad23b2077 - 0.0% (1.29 KB)
[#014] sha256:093aa71afbcaf1505cd673ad83ada9f7586841409843506606d75ec4fe44a8ea - 0.0% (1.26 KB)
Apply image 10.0.19042.508
2022-05-06 22:46:53 UTCInstall update 10.0.19042.1706
2022-06-03 05:42:03 UTCpowershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2022-06-03 05:42:29 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-06-03 05:42:29 UTCpowershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV K8S_VERSION=v1.21.13
2022-06-03 05:42:56 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-06-03 05:43:06 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-06-03 05:47:59 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-06-03 05:48:11 UTCpowershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; Move-Item -Path /kubernetes/node/bin/kubectl.exe -Destination /Windows
2022-06-03 05:48:22 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-06-03 05:48:23 UTCpowershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) COPY file:a25ff59f87ce735ca258824b8e027055fcc5a2f55b5e3e0346de6848ff3fa9ab in \usr\bin\
2022-06-03 05:48:23 UTCpowershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) LABEL org.label-schema.build-date=2022-06-03T05:36:49Z
2022-06-03 05:48:24 UTCpowershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) LABEL org.label-schema.schema-version=1.0
2022-06-03 05:48:24 UTCpowershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) LABEL org.label-schema.vcs-ref=e56c6a9f1cb3fe4a08288ca6e6b0df5892e85cd9
2022-06-03 05:48:25 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.