2022-06-21 15:45:31 UTC
3.03 GB
v1.23.8
[#000] sha256:18ae6bebe21d13de4442e4cafdf4fbf4e5b0d866afe416f302da087f53f04ae1 - 46.2% (1.4 GB)
[#001] sha256:199d820b40871072e593ee5aef2cf7bbef1a414975b64900b8109ab366e8deb8 - 37.68% (1.14 GB)
[#002] sha256:550e261fee15617de04a69d24123d7cbfb38100c3c581ed3eae1dbff033e5455 - 0.0% (1.32 KB)
[#003] sha256:1e58404f8c3dfd24e8c4f340f7310398ebe085edfe44d1e33850cfdd174e9738 - 0.29% (8.91 MB)
[#004] sha256:c45a87db7517a56a365f29f5d115ec0d9f5babb7700b04bec493450d97a6c6a8 - 0.0% (1.28 KB)
[#005] sha256:d2bdd4ccafbfb501381e33362f7937992cca261752fd508e924f93604c588bf1 - 10.97% (341 MB)
[#006] sha256:3f7c01902a8981bf3f481fc3f2ee39d9deb019cfe40cda44398765fa1f222de0 - 0.01% (407 KB)
[#007] sha256:ae197316a8f11bb14e123b7fd59c8c8f02bbbbfa73a76373061db12cdc670f74 - 2.32% (72 MB)
[#008] sha256:e8f9708127a3b775dbab45779c95caeb7e394be360767e87b38b30b3ade29a37 - 0.43% (13.4 MB)
[#009] sha256:fad4a1cf030000bd752dcb7169960f7fa5b941201de0d8e7bfed7965eb2f3c60 - 2.09% (65.1 MB)
[#010] sha256:5e8cef2f864fb750592e07acc2c1e0612bcd0181f110fb140f175b786a18240e - 0.0% (2.74 KB)
[#011] sha256:a6fefb07a58125b634334abbe3db5d54c864213e033b108cbb70f48ed869cb93 - 0.0% (1.27 KB)
[#012] sha256:f16080a40e9f0cddcab840533ee8b6b281ab3f9e4f51458147a18e62ba1f0ff7 - 0.0% (1.29 KB)
[#013] sha256:e9b4b09124db7200492943f7f7edace83bc35138d51ba47732e3b52fcc72b011 - 0.0% (1.26 KB)
[#014] sha256:d3e3de28889eece493de77a6373a6da779d024b13c32d1b188f44edda094575e - 0.0% (1.26 KB)
Apply image 10.0.19042.508
2022-06-09 07:12:06 UTCInstall update 10.0.19042.1766
2022-06-21 15:39:02 UTCpowershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2022-06-21 15:39: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-21 15:39:30 UTCpowershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV K8S_VERSION=v1.23.8
2022-06-21 15:39:58 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-21 15:40:09 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-21 15:45:06 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-21 15:45:16 UTCpowershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; Move-Item -Path /kubernetes/node/bin/kubectl.exe -Destination /Windows
2022-06-21 15:45:28 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-21 15:45:28 UTCpowershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) COPY file:a25ff59f87ce735ca258824b8e027055fcc5a2f55b5e3e0346de6848ff3fa9ab in \usr\bin\
2022-06-21 15:45:29 UTCpowershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) LABEL org.label-schema.build-date=2022-06-21T15:34:31Z
2022-06-21 15:45:29 UTCpowershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) LABEL org.label-schema.schema-version=1.0
2022-06-21 15:45:30 UTCpowershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) LABEL org.label-schema.vcs-ref=f4c9c091efaff0d0f12aa57944c351d6fe0e6b7d
2022-06-21 15:45:31 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.