mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-07 11:13:48 +00:00
Merge pull request #129131 from pacoxu/kubeadm-iptables-check
kubeadm: remove iptables/ip/tc/ethtool binary preflight check
This commit is contained in:
commit
e818574885
@ -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