GCE Windows nodes: leave firewall enabled.

k3s-v1.15.3
Peter Hornyack 2019-05-29 18:08:52 -07:00
parent 4fed75302a
commit d47dd75df8
1 changed files with 0 additions and 5 deletions

View File

@ -230,11 +230,6 @@ function Set-EnvironmentVars {
# Configures various settings and prerequisites needed for the rest of the
# functions in this module and the Kubernetes binaries to operate properly.
function Set-PrerequisiteOptions {
# The Windows firewall interferes with Kubernetes networking; GCE's firewall
# should be sufficient.
Log-Output "Disabling Windows Firewall"
Set-NetFirewallProfile -Profile Domain, Public, Private -Enabled False
# Windows updates cause the node to reboot at arbitrary times.
Log-Output "Disabling Windows Update service"
sc.exe config wuauserv start=disabled