Skip to content

Commit e818574

Browse files
authored
Merge pull request kubernetes#129131 from pacoxu/kubeadm-iptables-check
kubeadm: remove iptables/ip/tc/ethtool binary preflight check
2 parents 30ef611 + 39e7db9 commit e818574

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

cmd/kubeadm/app/preflight/checks_linux.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,8 @@ func addExecChecks(checks []Checker, execer utilsexec.Interface, k8sVersion stri
8383
}
8484

8585
checks = append(checks,
86-
InPathCheck{executable: "ip", mandatory: true, exec: execer},
87-
InPathCheck{executable: "iptables", mandatory: true, exec: execer},
8886
InPathCheck{executable: "mount", mandatory: true, exec: execer},
8987
InPathCheck{executable: "nsenter", mandatory: true, exec: execer},
90-
InPathCheck{executable: "ethtool", mandatory: false, exec: execer},
91-
InPathCheck{executable: "tc", mandatory: false, exec: execer},
9288
InPathCheck{executable: "touch", mandatory: false, exec: execer})
9389
return checks
9490
}

0 commit comments

Comments
 (0)