diff --git a/.pipelines/e2e-windows.yaml b/.pipelines/e2e-windows.yaml index 0f489eede6a..417c87a4631 100644 --- a/.pipelines/e2e-windows.yaml +++ b/.pipelines/e2e-windows.yaml @@ -13,8 +13,6 @@ pr: - 'e2e/windows/*' - 'parts/windows/*' - 'staging/cse/windows/*' - exclude: - - 'vhdbuilder/*' # Use variable group "ab-windows-ms-tenant" and link it to the pipeline "Agentbaker Windows E2E" diff --git a/parts/windows/kuberneteswindowssetup.ps1 b/parts/windows/kuberneteswindowssetup.ps1 index fae93f55810..08195a54360 100644 --- a/parts/windows/kuberneteswindowssetup.ps1 +++ b/parts/windows/kuberneteswindowssetup.ps1 @@ -293,15 +293,6 @@ try Write-Log "Download kubelet binaries and unzip" Get-KubePackage -KubeBinariesSASURL $global:KubeBinariesPackageSASURL - # This overwrites the binaries that are downloaded from the custom packge with binaries. - # The custom package has a few files that are necessary for future steps (nssm.exe) - # this is a temporary work around to get the binaries until we depreciate - # custom package and nssm.exe as defined in aks-engine#3851. - if ($global:WindowsKubeBinariesURL){ - Write-Log "Overwriting kube node binaries from $global:WindowsKubeBinariesURL" - Get-KubeBinaries -KubeBinariesURL $global:WindowsKubeBinariesURL - } - Write-Log "Installing ContainerD" $cniBinPath = $global:AzureCNIBinDir $cniConfigPath = $global:AzureCNIConfDir @@ -468,7 +459,7 @@ try if (Test-Path $CacheDir) { - Write-Log "Removing aks-engine bits cache directory" + Write-Log "Removing aks cache directory" Remove-Item $CacheDir -Recurse -Force } diff --git a/pkg/agent/testdata/AKSWindows2019+CustomCloud/CustomData b/pkg/agent/testdata/AKSWindows2019+CustomCloud/CustomData index 2f53d79fcc2..92ca5fd4dc1 100644 --- a/pkg/agent/testdata/AKSWindows2019+CustomCloud/CustomData +++ b/pkg/agent/testdata/AKSWindows2019+CustomCloud/CustomData @@ -289,15 +289,6 @@ try Write-Log "Download kubelet binaries and unzip" Get-KubePackage -KubeBinariesSASURL $global:KubeBinariesPackageSASURL - # This overwrites the binaries that are downloaded from the custom packge with binaries. - # The custom package has a few files that are necessary for future steps (nssm.exe) - # this is a temporary work around to get the binaries until we depreciate - # custom package and nssm.exe as defined in aks-engine#3851. - if ($global:WindowsKubeBinariesURL){ - Write-Log "Overwriting kube node binaries from $global:WindowsKubeBinariesURL" - Get-KubeBinaries -KubeBinariesURL $global:WindowsKubeBinariesURL - } - Write-Log "Installing ContainerD" $cniBinPath = $global:AzureCNIBinDir $cniConfigPath = $global:AzureCNIConfDir @@ -464,7 +455,7 @@ try if (Test-Path $CacheDir) { - Write-Log "Removing aks-engine bits cache directory" + Write-Log "Removing aks cache directory" Remove-Item $CacheDir -Recurse -Force } diff --git a/pkg/agent/testdata/AKSWindows2019+CustomVnet/CustomData b/pkg/agent/testdata/AKSWindows2019+CustomVnet/CustomData index 75cd2697e63..660d1dacc20 100644 --- a/pkg/agent/testdata/AKSWindows2019+CustomVnet/CustomData +++ b/pkg/agent/testdata/AKSWindows2019+CustomVnet/CustomData @@ -289,15 +289,6 @@ try Write-Log "Download kubelet binaries and unzip" Get-KubePackage -KubeBinariesSASURL $global:KubeBinariesPackageSASURL - # This overwrites the binaries that are downloaded from the custom packge with binaries. - # The custom package has a few files that are necessary for future steps (nssm.exe) - # this is a temporary work around to get the binaries until we depreciate - # custom package and nssm.exe as defined in aks-engine#3851. - if ($global:WindowsKubeBinariesURL){ - Write-Log "Overwriting kube node binaries from $global:WindowsKubeBinariesURL" - Get-KubeBinaries -KubeBinariesURL $global:WindowsKubeBinariesURL - } - Write-Log "Installing ContainerD" $cniBinPath = $global:AzureCNIBinDir $cniConfigPath = $global:AzureCNIConfDir @@ -458,7 +449,7 @@ try if (Test-Path $CacheDir) { - Write-Log "Removing aks-engine bits cache directory" + Write-Log "Removing aks cache directory" Remove-Item $CacheDir -Recurse -Force } diff --git a/pkg/agent/testdata/AKSWindows2019+EnablePrivateClusterHostsConfigAgent/CustomData b/pkg/agent/testdata/AKSWindows2019+EnablePrivateClusterHostsConfigAgent/CustomData index 9cd80ad3f8e..b3b6bf9c8a5 100644 --- a/pkg/agent/testdata/AKSWindows2019+EnablePrivateClusterHostsConfigAgent/CustomData +++ b/pkg/agent/testdata/AKSWindows2019+EnablePrivateClusterHostsConfigAgent/CustomData @@ -289,15 +289,6 @@ try Write-Log "Download kubelet binaries and unzip" Get-KubePackage -KubeBinariesSASURL $global:KubeBinariesPackageSASURL - # This overwrites the binaries that are downloaded from the custom packge with binaries. - # The custom package has a few files that are necessary for future steps (nssm.exe) - # this is a temporary work around to get the binaries until we depreciate - # custom package and nssm.exe as defined in aks-engine#3851. - if ($global:WindowsKubeBinariesURL){ - Write-Log "Overwriting kube node binaries from $global:WindowsKubeBinariesURL" - Get-KubeBinaries -KubeBinariesURL $global:WindowsKubeBinariesURL - } - Write-Log "Installing ContainerD" $cniBinPath = $global:AzureCNIBinDir $cniConfigPath = $global:AzureCNIConfDir @@ -458,7 +449,7 @@ try if (Test-Path $CacheDir) { - Write-Log "Removing aks-engine bits cache directory" + Write-Log "Removing aks cache directory" Remove-Item $CacheDir -Recurse -Force } diff --git a/pkg/agent/testdata/AKSWindows2019+K8S116/CustomData b/pkg/agent/testdata/AKSWindows2019+K8S116/CustomData index d84fe402764..5e4d8a7e2c1 100644 --- a/pkg/agent/testdata/AKSWindows2019+K8S116/CustomData +++ b/pkg/agent/testdata/AKSWindows2019+K8S116/CustomData @@ -289,15 +289,6 @@ try Write-Log "Download kubelet binaries and unzip" Get-KubePackage -KubeBinariesSASURL $global:KubeBinariesPackageSASURL - # This overwrites the binaries that are downloaded from the custom packge with binaries. - # The custom package has a few files that are necessary for future steps (nssm.exe) - # this is a temporary work around to get the binaries until we depreciate - # custom package and nssm.exe as defined in aks-engine#3851. - if ($global:WindowsKubeBinariesURL){ - Write-Log "Overwriting kube node binaries from $global:WindowsKubeBinariesURL" - Get-KubeBinaries -KubeBinariesURL $global:WindowsKubeBinariesURL - } - Write-Log "Installing ContainerD" $cniBinPath = $global:AzureCNIBinDir $cniConfigPath = $global:AzureCNIConfDir @@ -458,7 +449,7 @@ try if (Test-Path $CacheDir) { - Write-Log "Removing aks-engine bits cache directory" + Write-Log "Removing aks cache directory" Remove-Item $CacheDir -Recurse -Force } diff --git a/pkg/agent/testdata/AKSWindows2019+K8S117/CustomData b/pkg/agent/testdata/AKSWindows2019+K8S117/CustomData index a745aba33e2..69af49cc8fa 100644 --- a/pkg/agent/testdata/AKSWindows2019+K8S117/CustomData +++ b/pkg/agent/testdata/AKSWindows2019+K8S117/CustomData @@ -289,15 +289,6 @@ try Write-Log "Download kubelet binaries and unzip" Get-KubePackage -KubeBinariesSASURL $global:KubeBinariesPackageSASURL - # This overwrites the binaries that are downloaded from the custom packge with binaries. - # The custom package has a few files that are necessary for future steps (nssm.exe) - # this is a temporary work around to get the binaries until we depreciate - # custom package and nssm.exe as defined in aks-engine#3851. - if ($global:WindowsKubeBinariesURL){ - Write-Log "Overwriting kube node binaries from $global:WindowsKubeBinariesURL" - Get-KubeBinaries -KubeBinariesURL $global:WindowsKubeBinariesURL - } - Write-Log "Installing ContainerD" $cniBinPath = $global:AzureCNIBinDir $cniConfigPath = $global:AzureCNIConfDir @@ -458,7 +449,7 @@ try if (Test-Path $CacheDir) { - Write-Log "Removing aks-engine bits cache directory" + Write-Log "Removing aks cache directory" Remove-Item $CacheDir -Recurse -Force } diff --git a/pkg/agent/testdata/AKSWindows2019+K8S118/CustomData b/pkg/agent/testdata/AKSWindows2019+K8S118/CustomData index 97635b85fb4..fec356c2a7d 100644 --- a/pkg/agent/testdata/AKSWindows2019+K8S118/CustomData +++ b/pkg/agent/testdata/AKSWindows2019+K8S118/CustomData @@ -289,15 +289,6 @@ try Write-Log "Download kubelet binaries and unzip" Get-KubePackage -KubeBinariesSASURL $global:KubeBinariesPackageSASURL - # This overwrites the binaries that are downloaded from the custom packge with binaries. - # The custom package has a few files that are necessary for future steps (nssm.exe) - # this is a temporary work around to get the binaries until we depreciate - # custom package and nssm.exe as defined in aks-engine#3851. - if ($global:WindowsKubeBinariesURL){ - Write-Log "Overwriting kube node binaries from $global:WindowsKubeBinariesURL" - Get-KubeBinaries -KubeBinariesURL $global:WindowsKubeBinariesURL - } - Write-Log "Installing ContainerD" $cniBinPath = $global:AzureCNIBinDir $cniConfigPath = $global:AzureCNIConfDir @@ -458,7 +449,7 @@ try if (Test-Path $CacheDir) { - Write-Log "Removing aks-engine bits cache directory" + Write-Log "Removing aks cache directory" Remove-Item $CacheDir -Recurse -Force } diff --git a/pkg/agent/testdata/AKSWindows2019+K8S119+CSI/CustomData b/pkg/agent/testdata/AKSWindows2019+K8S119+CSI/CustomData index c6e9e7ecc04..e7862c17d82 100644 --- a/pkg/agent/testdata/AKSWindows2019+K8S119+CSI/CustomData +++ b/pkg/agent/testdata/AKSWindows2019+K8S119+CSI/CustomData @@ -289,15 +289,6 @@ try Write-Log "Download kubelet binaries and unzip" Get-KubePackage -KubeBinariesSASURL $global:KubeBinariesPackageSASURL - # This overwrites the binaries that are downloaded from the custom packge with binaries. - # The custom package has a few files that are necessary for future steps (nssm.exe) - # this is a temporary work around to get the binaries until we depreciate - # custom package and nssm.exe as defined in aks-engine#3851. - if ($global:WindowsKubeBinariesURL){ - Write-Log "Overwriting kube node binaries from $global:WindowsKubeBinariesURL" - Get-KubeBinaries -KubeBinariesURL $global:WindowsKubeBinariesURL - } - Write-Log "Installing ContainerD" $cniBinPath = $global:AzureCNIBinDir $cniConfigPath = $global:AzureCNIConfDir @@ -458,7 +449,7 @@ try if (Test-Path $CacheDir) { - Write-Log "Removing aks-engine bits cache directory" + Write-Log "Removing aks cache directory" Remove-Item $CacheDir -Recurse -Force } diff --git a/pkg/agent/testdata/AKSWindows2019+K8S119+FIPS/CustomData b/pkg/agent/testdata/AKSWindows2019+K8S119+FIPS/CustomData index 42195615316..84305166f42 100644 --- a/pkg/agent/testdata/AKSWindows2019+K8S119+FIPS/CustomData +++ b/pkg/agent/testdata/AKSWindows2019+K8S119+FIPS/CustomData @@ -289,15 +289,6 @@ try Write-Log "Download kubelet binaries and unzip" Get-KubePackage -KubeBinariesSASURL $global:KubeBinariesPackageSASURL - # This overwrites the binaries that are downloaded from the custom packge with binaries. - # The custom package has a few files that are necessary for future steps (nssm.exe) - # this is a temporary work around to get the binaries until we depreciate - # custom package and nssm.exe as defined in aks-engine#3851. - if ($global:WindowsKubeBinariesURL){ - Write-Log "Overwriting kube node binaries from $global:WindowsKubeBinariesURL" - Get-KubeBinaries -KubeBinariesURL $global:WindowsKubeBinariesURL - } - Write-Log "Installing ContainerD" $cniBinPath = $global:AzureCNIBinDir $cniConfigPath = $global:AzureCNIConfDir @@ -458,7 +449,7 @@ try if (Test-Path $CacheDir) { - Write-Log "Removing aks-engine bits cache directory" + Write-Log "Removing aks cache directory" Remove-Item $CacheDir -Recurse -Force } diff --git a/pkg/agent/testdata/AKSWindows2019+K8S119/CustomData b/pkg/agent/testdata/AKSWindows2019+K8S119/CustomData index aca8a21177c..975e1d89169 100644 --- a/pkg/agent/testdata/AKSWindows2019+K8S119/CustomData +++ b/pkg/agent/testdata/AKSWindows2019+K8S119/CustomData @@ -289,15 +289,6 @@ try Write-Log "Download kubelet binaries and unzip" Get-KubePackage -KubeBinariesSASURL $global:KubeBinariesPackageSASURL - # This overwrites the binaries that are downloaded from the custom packge with binaries. - # The custom package has a few files that are necessary for future steps (nssm.exe) - # this is a temporary work around to get the binaries until we depreciate - # custom package and nssm.exe as defined in aks-engine#3851. - if ($global:WindowsKubeBinariesURL){ - Write-Log "Overwriting kube node binaries from $global:WindowsKubeBinariesURL" - Get-KubeBinaries -KubeBinariesURL $global:WindowsKubeBinariesURL - } - Write-Log "Installing ContainerD" $cniBinPath = $global:AzureCNIBinDir $cniConfigPath = $global:AzureCNIConfDir @@ -458,7 +449,7 @@ try if (Test-Path $CacheDir) { - Write-Log "Removing aks-engine bits cache directory" + Write-Log "Removing aks cache directory" Remove-Item $CacheDir -Recurse -Force } diff --git a/pkg/agent/testdata/AKSWindows2019+KubeletClientTLSBootstrapping/CustomData b/pkg/agent/testdata/AKSWindows2019+KubeletClientTLSBootstrapping/CustomData index 43004408dc7..b0aeeb035e6 100644 --- a/pkg/agent/testdata/AKSWindows2019+KubeletClientTLSBootstrapping/CustomData +++ b/pkg/agent/testdata/AKSWindows2019+KubeletClientTLSBootstrapping/CustomData @@ -289,15 +289,6 @@ try Write-Log "Download kubelet binaries and unzip" Get-KubePackage -KubeBinariesSASURL $global:KubeBinariesPackageSASURL - # This overwrites the binaries that are downloaded from the custom packge with binaries. - # The custom package has a few files that are necessary for future steps (nssm.exe) - # this is a temporary work around to get the binaries until we depreciate - # custom package and nssm.exe as defined in aks-engine#3851. - if ($global:WindowsKubeBinariesURL){ - Write-Log "Overwriting kube node binaries from $global:WindowsKubeBinariesURL" - Get-KubeBinaries -KubeBinariesURL $global:WindowsKubeBinariesURL - } - Write-Log "Installing ContainerD" $cniBinPath = $global:AzureCNIBinDir $cniConfigPath = $global:AzureCNIConfDir @@ -458,7 +449,7 @@ try if (Test-Path $CacheDir) { - Write-Log "Removing aks-engine bits cache directory" + Write-Log "Removing aks cache directory" Remove-Item $CacheDir -Recurse -Force } diff --git a/pkg/agent/testdata/AKSWindows2019+ManagedIdentity/CustomData b/pkg/agent/testdata/AKSWindows2019+ManagedIdentity/CustomData index 7bf186f2b26..e1878a8fbaa 100644 --- a/pkg/agent/testdata/AKSWindows2019+ManagedIdentity/CustomData +++ b/pkg/agent/testdata/AKSWindows2019+ManagedIdentity/CustomData @@ -289,15 +289,6 @@ try Write-Log "Download kubelet binaries and unzip" Get-KubePackage -KubeBinariesSASURL $global:KubeBinariesPackageSASURL - # This overwrites the binaries that are downloaded from the custom packge with binaries. - # The custom package has a few files that are necessary for future steps (nssm.exe) - # this is a temporary work around to get the binaries until we depreciate - # custom package and nssm.exe as defined in aks-engine#3851. - if ($global:WindowsKubeBinariesURL){ - Write-Log "Overwriting kube node binaries from $global:WindowsKubeBinariesURL" - Get-KubeBinaries -KubeBinariesURL $global:WindowsKubeBinariesURL - } - Write-Log "Installing ContainerD" $cniBinPath = $global:AzureCNIBinDir $cniConfigPath = $global:AzureCNIConfDir @@ -458,7 +449,7 @@ try if (Test-Path $CacheDir) { - Write-Log "Removing aks-engine bits cache directory" + Write-Log "Removing aks cache directory" Remove-Item $CacheDir -Recurse -Force } diff --git a/pkg/agent/testdata/AKSWindows2019+SecurityProfile/CustomData b/pkg/agent/testdata/AKSWindows2019+SecurityProfile/CustomData index 34042944d54..d16c3669a4e 100644 --- a/pkg/agent/testdata/AKSWindows2019+SecurityProfile/CustomData +++ b/pkg/agent/testdata/AKSWindows2019+SecurityProfile/CustomData @@ -289,15 +289,6 @@ try Write-Log "Download kubelet binaries and unzip" Get-KubePackage -KubeBinariesSASURL $global:KubeBinariesPackageSASURL - # This overwrites the binaries that are downloaded from the custom packge with binaries. - # The custom package has a few files that are necessary for future steps (nssm.exe) - # this is a temporary work around to get the binaries until we depreciate - # custom package and nssm.exe as defined in aks-engine#3851. - if ($global:WindowsKubeBinariesURL){ - Write-Log "Overwriting kube node binaries from $global:WindowsKubeBinariesURL" - Get-KubeBinaries -KubeBinariesURL $global:WindowsKubeBinariesURL - } - Write-Log "Installing ContainerD" $cniBinPath = $global:AzureCNIBinDir $cniConfigPath = $global:AzureCNIConfDir @@ -458,7 +449,7 @@ try if (Test-Path $CacheDir) { - Write-Log "Removing aks-engine bits cache directory" + Write-Log "Removing aks cache directory" Remove-Item $CacheDir -Recurse -Force } diff --git a/pkg/templates/templates_generated.go b/pkg/templates/templates_generated.go index 5827de3a052..150514c4fa1 100644 --- a/pkg/templates/templates_generated.go +++ b/pkg/templates/templates_generated.go @@ -7618,15 +7618,6 @@ try Write-Log "Download kubelet binaries and unzip" Get-KubePackage -KubeBinariesSASURL $global:KubeBinariesPackageSASURL - # This overwrites the binaries that are downloaded from the custom packge with binaries. - # The custom package has a few files that are necessary for future steps (nssm.exe) - # this is a temporary work around to get the binaries until we depreciate - # custom package and nssm.exe as defined in aks-engine#3851. - if ($global:WindowsKubeBinariesURL){ - Write-Log "Overwriting kube node binaries from $global:WindowsKubeBinariesURL" - Get-KubeBinaries -KubeBinariesURL $global:WindowsKubeBinariesURL - } - Write-Log "Installing ContainerD" $cniBinPath = $global:AzureCNIBinDir $cniConfigPath = $global:AzureCNIConfDir @@ -7793,7 +7784,7 @@ try if (Test-Path $CacheDir) { - Write-Log "Removing aks-engine bits cache directory" + Write-Log "Removing aks cache directory" Remove-Item $CacheDir -Recurse -Force }