SataQiu
75238e592d
kubeadm: remove bridge-nf-call-iptables and bridge-nf-call-ip6tables preflight checks since not all the network implementations require this setting
2024-02-23 15:37:42 +08:00
aimuz
4860b67b48
kubeadm: replace Runtime.GOOS with go:build tag
...
Signed-off-by: aimuz <mr.imuz@gmail.com >
2022-12-15 17:57:45 +08:00
Stephen Augustus
481cf6fbe7
generated: Run hack/update-gofmt.sh
...
Signed-off-by: Stephen Augustus <foo@auggie.dev >
2021-08-24 15:47:49 -04:00
Lubomir I. Ivanov
8e5a982442
kubeadm: remove the cgroup driver detection code for Docker
...
Ideally this should be part of dockershim/CRI and not on the
side of kubeadm.
Remove the detection during:
- During preflight
- During kubelet config defaulting
2021-05-25 22:05:42 +03:00
pacoxu
2fdbfd8a27
kubeadm: move cgroupDriver defaulting to componentconfigs/kubelet.go#Default()
...
Signed-off-by: pacoxu <paco.xu@daocloud.io >
2021-05-21 17:27:40 +08:00
Abel Barrera Duran
52979da973
32bit > 4GB integer overflow edge case fix
2020-12-21 13:12:42 -05:00
Xianglin Gao
c6975a7750
add test case for kubeadm memory check
...
Signed-off-by: Xianglin Gao <xianglin.gxl@alibaba-inc.com >
2020-07-24 10:57:22 +08:00
tanjunchen
b1e03256d7
alias kubeadmutil for k8s.io/kubernetes/cmd/kubeadm/app/util
2019-12-27 17:57:04 +08:00
Yassine TIJANI
05326f8489
remove the ipvs checks from the preflight checks
...
Signed-off-by: Yassine TIJANI <ytijani@vmware.com >
2019-08-22 17:10:22 +01:00
SataQiu
36bb0b9a53
kubeadm: cleanup unnecessary slice initialization statements
2019-08-12 23:42:56 +08:00
Ed Bartosh
2914171ed4
kubeadm: reimplement IPVS check
...
Used existing IPVS Proxier API CanUseIPVSProxier instead
of custom implementation.
Fixes kubernetes/kubeadm#975
2019-03-14 16:52:21 +02:00
Lubomir I. Ivanov
1d032c40d3
kubeadm: add a preflight check for Docker and cgroup driver
...
systemd is the recommended driver as per the setup of running
the kubelet using systemd as the init system. Add a preflight
check that throws a warning if this isn't the case.
2019-02-08 19:31:22 +02:00