Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Enabling Azure CNI for Windows #2174

Merged
merged 12 commits into from
Feb 7, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
rebase cleanup
jackfrancis committed Feb 6, 2018
commit 30e4c632a9fe75670eb73dfef2a1e7216e6fa773
3 changes: 1 addition & 2 deletions parts/k8s/kuberneteswindowssetup.ps1
Original file line number Diff line number Diff line change
@@ -280,7 +280,6 @@ c:\k\kubelet.exe --hostname-override=`$global:AzureHostname --pod-infra-containe
$kubeStartStr += @"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use a try-catch block to catch exception.

Write-Host "NetworkPolicy azure, starting kubelet."
$KubeletCommandLine
return 0

"@
} else {
@@ -533,4 +532,4 @@ try
catch
{
Write-Error $_
}
}