mirror of https://github.com/k3s-io/k3s
GCE Windows nodes: leave firewall enabled.
parent
4fed75302a
commit
d47dd75df8
|
@ -230,11 +230,6 @@ function Set-EnvironmentVars {
|
||||||
# Configures various settings and prerequisites needed for the rest of the
|
# Configures various settings and prerequisites needed for the rest of the
|
||||||
# functions in this module and the Kubernetes binaries to operate properly.
|
# functions in this module and the Kubernetes binaries to operate properly.
|
||||||
function Set-PrerequisiteOptions {
|
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.
|
# Windows updates cause the node to reboot at arbitrary times.
|
||||||
Log-Output "Disabling Windows Update service"
|
Log-Output "Disabling Windows Update service"
|
||||||
sc.exe config wuauserv start=disabled
|
sc.exe config wuauserv start=disabled
|
||||||
|
|
Loading…
Reference in New Issue