Update checks.go

match https://github.com/kubernetes/release/pull/653 add
This commit is contained in:
Humberto Nanni 2019-12-03 11:17:11 -06:00 committed by GitHub
parent 4629da28a0
commit 82206578cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1009,6 +1009,7 @@ func addCommonChecks(execer utilsexec.Interface, k8sVersion string, nodeReg *kub
FileContentCheck{Path: bridgenf, Content: []byte{'1'}},
FileContentCheck{Path: ipv4Forward, Content: []byte{'1'}},
SwapCheck{},
InPathCheck{executable: "conntrack", mandatory: true, exec: execer},
InPathCheck{executable: "ip", mandatory: true, exec: execer},
InPathCheck{executable: "iptables", mandatory: true, exec: execer},
InPathCheck{executable: "mount", mandatory: true, exec: execer},