mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-07 11:13:48 +00:00
Merge pull request #78507 from pjh/gce-firewall-enabled
GCE Windows nodes: leave firewall enabled.
This commit is contained in:
commit
21c9c7a6ab
@ -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
Block a user