зеркало из https://github.com/Azure/aks-engine.git
fix: Force restart kubeproxy to avoid stucking (#4375)
This commit is contained in:
Родитель
e6f43bcb04
Коммит
73d698122b
|
@ -195,7 +195,7 @@ if ($global:NetworkPlugin -eq "azure") {
|
|||
|
||||
# Restart Kubeproxy, which would wait, until the network is created
|
||||
# This was fixed in 1.15, workaround still needed for 1.14 https://github.com/kubernetes/kubernetes/pull/78612
|
||||
Restart-Service Kubeproxy
|
||||
Restart-Service Kubeproxy -Force
|
||||
|
||||
# Set env file for Azure Stack
|
||||
$env:AZURE_ENVIRONMENT_FILEPATH = "c:\k\azurestackcloud.json"
|
||||
|
|
|
@ -107,7 +107,6 @@ if ($global:CsiProxyEnabled) {
|
|||
Write-Log "Starting kubelet service"
|
||||
Start-Service kubelet
|
||||
|
||||
Write-Log "Starting kubeproxy service"
|
||||
Start-Service kubeproxy
|
||||
Write-Log "Do not start kubeproxy service since kubelet will restart kubeproxy"
|
||||
|
||||
Write-Log "Exiting windowsnodereset.ps1"
|
||||
|
|
Загрузка…
Ссылка в новой задаче