2022-06-28 20:25:47 UTC
3.04 GB
v1.24.2
[#000] sha256:18ae6bebe21d13de4442e4cafdf4fbf4e5b0d866afe416f302da087f53f04ae1 - 46.12% (1.4 GB)
[#001] sha256:199d820b40871072e593ee5aef2cf7bbef1a414975b64900b8109ab366e8deb8 - 37.61% (1.14 GB)
[#002] sha256:183d41dd41b2205a480f4ff8a6d7132be79a944c12e9d905e1d04ddc4474b66a - 0.0% (1.26 KB)
[#003] sha256:c30da962ff5fa10840b1558a0fa53b2428baef7ad98bfd9e6a23559bd779b747 - 0.29% (8.92 MB)
[#004] sha256:203494ed2651f5ea9d003cccaf88d9361ed40f917088e3c0ca486d0ae5d66fd1 - 0.0% (1.26 KB)
[#005] sha256:601c893513fa0ba26fd90d17b4264ea635cb549af9b6452e5bfb4dbb69b8df1a - 11.07% (345 MB)
[#006] sha256:2dae19a0560a3c4154faf2156ad7047a13fb67c997459368e074a65100576b46 - 0.01% (412 KB)
[#007] sha256:bddd1759ed5ea3bea564ad9c0233bbff6b772a54e9c827cbac26c0317c38514b - 2.31% (72 MB)
[#008] sha256:5165014bb7301ce82f824054e4535757977e0e445bb7ee22df22df0813cca83d - 0.45% (14 MB)
[#009] sha256:a139d23603297320705321a63cb5b38256af74788435be6885b1a9edbb5e9aef - 2.13% (66.3 MB)
[#010] sha256:a3d5dd4159d86f72f6f543f47c0c6a26f39d1c94656ec4814aee0d1d3368eae3 - 0.0% (2.74 KB)
[#011] sha256:417176c508d005c62477f27c6deb2094dc03dcf973b624bdcca89d207ae817cd - 0.0% (1.26 KB)
[#012] sha256:c9294e38eef89869d99fb78ae652546521eb2895f0368b673a9abcbd26c7d2a3 - 0.0% (1.26 KB)
[#013] sha256:4b2d3b615054183558f300efe3b6ad50615faa2652915a5d735b9c5d5a941c82 - 0.0% (1.26 KB)
[#014] sha256:186bd6eeb597b0dc325ec1ceba9100c553c4b78565507c3e4ee029cf324afc0f - 0.0% (1.29 KB)
Apply image 10.0.19042.508
2022-06-09 07:12:06 UTCInstall update 10.0.19042.1766
2022-06-28 20:20:13 UTCpowershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2022-06-28 20:20:38 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-28 20:20:39 UTCpowershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV K8S_VERSION=v1.24.2
2022-06-28 20:21:04 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-28 20:21:13 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-28 20:25:25 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-28 20:25:34 UTCpowershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; Move-Item -Path /kubernetes/node/bin/kubectl.exe -Destination /Windows
2022-06-28 20:25:45 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-28 20:25:45 UTCpowershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) COPY file:a25ff59f87ce735ca258824b8e027055fcc5a2f55b5e3e0346de6848ff3fa9ab in \usr\bin\
2022-06-28 20:25:45 UTCpowershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) LABEL org.label-schema.build-date=2022-06-28T20:15:13Z
2022-06-28 20:25:46 UTCpowershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) LABEL org.label-schema.schema-version=1.0
2022-06-28 20:25:46 UTCpowershell -NoLogo -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) LABEL org.label-schema.vcs-ref=272315aecaeaa0450f9ec076c82ca792b67c76be
2022-06-28 20:25:47 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.