配置prometheus监控traefik-ingress重启traefik-ingress容器一直无法running报错解决

  • 内容
  • 相关

报错:
Failed create pod sandbox: r
pc error: 
code = Unknown desc =
failed to start sandbox container for pod 
"traefik-ingress-m7flh": Error response from daemon: driver failed programming external connectivity on endpoint 
k8s_POD_traefik-ingress-m7flh_kube-system_f4f2121c-8252-4f79-b6fd-34f3c3719459_0 (7517afa6fe72e69459f52366d8f06480705156ffb9b48f8d0cfb982c4f9d8b0f): (iptables failed: iptables --wait -t filter -A DOCKER ! -i docker0 -o docker0 -p tcp -d 172.7.21.2 --dport 80 -j ACCEPT: iptables: No chain/target/match by that name. (exit status 1))

解决:
[root@hdss7-21 ~]# systemctl restart docker
[root@hdss7-21 ~]# kubectl get pods -n kube-system
traefik-ingress-2vl6d                  0/1     ContainerCreating   0          6m47s
[root@hdss7-21 ~]# kubectl delete pods traefik-ingress-2vl6d  -n kube-system --force --grace-period=0



本文标签:

版权声明:若无特殊注明,本文皆为《技术张儿》原创,转载请保留文章出处。

本文链接:配置prometheus监控traefik-ingress重启traefik-ingress容器一直无法running报错解决 - http://poweroff.cn/kubernetes/387.html