2022-06-06 19:22:23 UTC
3.01 GB
v1.24.1
[#000] sha256:18ae6bebe21d13de4442e4cafdf4fbf4e5b0d866afe416f302da087f53f04ae1 - 46.5% (1.4 GB)
[#001] sha256:52eb12a90ff62c5c90193a827fcaf7cb3b7bc762dfb3326ad322ce1afece3728 - 37.11% (1.12 GB)
[#002] sha256:e206c0f7009c3359926d4df50a98998270b656fac10b5c77ce7c15ba8f9e198b - 0.0% (1.31 KB)
[#003] sha256:7661db8537f09e1cf347e549aa783cbd99f5da96cf89ad468337f7634e62913f - 0.29% (8.87 MB)
[#004] sha256:8d50f9bc24c2325bea82441a8b353fb1be5ff7c9d9639493b9e9e99f2993face - 0.0% (1.28 KB)
[#005] sha256:97d20c550843c4430b0a825ae1a1dc30b0e479b4a861469f79041e9478603bfc - 11.16% (344 MB)
[#006] sha256:f1f1b1484d09a587fc06dd4b84afa6cb36ef2f6acbb2352a3215997b607a5c6a - 0.01% (412 KB)
[#007] sha256:e3f451c0475c4b91b0db02f1abdf8bca757850dc176630fc82da1ec7f0a14261 - 2.33% (72 MB)
[#008] sha256:0e8eac9d2ab408840c025df1e07d5fd180db598c88684358d1d4eeee5ce38e4f - 0.45% (14 MB)
[#009] sha256:f1fb329ba4f1897d1db23751d7d3e7e527d9d90705fe52d7b11176519545477e - 2.15% (66.3 MB)
[#010] sha256:bc42882b747e6036e5f03fc9b44aa81a106ebe282990eb5af09fc74352a96a61 - 0.0% (2.77 KB)
[#011] sha256:149f25dd20a21c8c129d759dc81612d3628a4ed7b788e026840db48797b60791 - 0.0% (1.26 KB)
[#012] sha256:f35fd482d501224c6e7a992816eefc02cc623f007269d2ff55ba30bceef0b182 - 0.0% (1.26 KB)
[#013] sha256:8255760f7c2c97dfa2a6339d92d0fbe352ad8c2046a5ce225190414e8f45052c - 0.0% (1.29 KB)
[#014] sha256:d5bf2aa827a7520d336ca88e863e8f36bbc48b69ca7867480c42f55c27701914 - 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-06 19:16:27 UTCpowershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2022-06-06 19:16:55 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-06 19:16:55 UTCpowershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV K8S_VERSION=v1.24.1
2022-06-06 19:17:21 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-06 19:17:30 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-06 19:22:01 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-06 19:22:11 UTCpowershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; Move-Item -Path /kubernetes/node/bin/kubectl.exe -Destination /Windows
2022-06-06 19:22:21 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-06 19:22:21 UTCpowershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) COPY file:a25ff59f87ce735ca258824b8e027055fcc5a2f55b5e3e0346de6848ff3fa9ab in \usr\bin\
2022-06-06 19:22:22 UTCpowershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) LABEL org.label-schema.build-date=2022-06-06T19:11:40Z
2022-06-06 19:22:22 UTCpowershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) LABEL org.label-schema.schema-version=1.0
2022-06-06 19:22:23 UTCpowershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) LABEL org.label-schema.vcs-ref=56aa99b61494fea2cfd9946fb4d8b898d0a98f39
2022-06-06 19:22:23 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.