当前位置: 首页 > 工具软件 > Kin_Tables > 使用案例 >

kube-proxy ip-tables故障解决

洪黎昕
2023-12-01

ingress-nginx日志

iveness probe failed: Get http://10.0.0.4:10254/healthz: dial tcp 10.0.0.4:10254: connect: connection refused
Readiness probe failed: Get http://10.0.0.4:10254/healthz: dial tcp 10.0.0.4:10254: connect: connection refused

kube-proxy日志

E0122 02:24:13.211522   36164 proxier.go:688] Failed to ensure that filter chain KUBE-EXTERNAL-SERVICES exists: error creating chain "KUBE-EXTERNAL-SERVICES": exit status 3: modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/4.18.0-348.2.1.el8_5.x86_64/modules.dep.bin'
modprobe: FATAL: Module ip_tables not found in directory /lib/modules/4.18.0-348.2.1.el8_5.x86_64
iptables v1.6.0: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

解决方案

modprobe  ip_tables 
modprobe  iptable_filter
 类似资料: