Merge pull request #78507 from pjh/gce-firewall-enabled

GCE Windows nodes: leave firewall enabled.
k3s-v1.15.3
Kubernetes Prow Robot 2019-06-01 06:22:17 -07:00 committed by GitHub
commit 21c9c7a6ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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