mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-09 12:07:47 +00:00
kubeadm: remove iptables/ip/tc/ethtool binary preflight check
This commit is contained in:
parent
a27498ef42
commit
39e7db9cc9
@ -83,12 +83,8 @@ func addExecChecks(checks []Checker, execer utilsexec.Interface, k8sVersion stri
|
|||||||
}
|
}
|
||||||
|
|
||||||
checks = append(checks,
|
checks = append(checks,
|
||||||
InPathCheck{executable: "ip", mandatory: true, exec: execer},
|
|
||||||
InPathCheck{executable: "iptables", mandatory: true, exec: execer},
|
|
||||||
InPathCheck{executable: "mount", mandatory: true, exec: execer},
|
InPathCheck{executable: "mount", mandatory: true, exec: execer},
|
||||||
InPathCheck{executable: "nsenter", mandatory: true, exec: execer},
|
InPathCheck{executable: "nsenter", mandatory: true, exec: execer},
|
||||||
InPathCheck{executable: "ethtool", mandatory: false, exec: execer},
|
|
||||||
InPathCheck{executable: "tc", mandatory: false, exec: execer},
|
|
||||||
InPathCheck{executable: "touch", mandatory: false, exec: execer})
|
InPathCheck{executable: "touch", mandatory: false, exec: execer})
|
||||||
return checks
|
return checks
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user