kube-proxy报错 Failed to delete stale service IP

一、故障描述

玩着玩着突然发现kube-proxy报错了,吓了我一跳,报错我已经解决了,就不复现了,这里直接引用其他博主的报错描述

6月 19 09:57:07 node1 kube-proxy[17770]: E0619 09:57:07.022125 17770 proxier.go:1319] Failed to delete stale service IP 
10.254.0.2 connections, error: error deleting connection tracking state for UDP service IP: 10.254.0.2, error: error looking for path
 of conntrack: exec: "conntrack": executable file not found in $PATH

二、故障原因

没有安装conntrack工具

三、解决方案

在每个node节点执行

yum -y install conntrack
systemctl restart kube-proxy

详见
https://blog.csdn.net/mayifan0/article/details/80731507

posted @ 2021-11-19 15:56  努力吧阿团  阅读(814)  评论(0编辑  收藏  举报