From 39e7db9cc92fbaca79538f1f146ff366275d6568 Mon Sep 17 00:00:00 2001 From: Paco Xu Date: Tue, 10 Dec 2024 10:05:16 +0800 Subject: [PATCH] kubeadm: remove iptables/ip/tc/ethtool binary preflight check --- cmd/kubeadm/app/preflight/checks_linux.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cmd/kubeadm/app/preflight/checks_linux.go b/cmd/kubeadm/app/preflight/checks_linux.go index cfb27a8da14..d8ad8b2016d 100644 --- a/cmd/kubeadm/app/preflight/checks_linux.go +++ b/cmd/kubeadm/app/preflight/checks_linux.go @@ -83,12 +83,8 @@ func addExecChecks(checks []Checker, execer utilsexec.Interface, k8sVersion stri } 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: "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}) return checks }