我有两个启用了http-application-routing插件的AKS K8集群(西欧和北欧的1.11.1版)。今天突然,名为addon-http-application-routing-nginx-ingress-controller-xxxx的pod崩溃并显示状态:
State: Waiting
Reason: CrashLoopBackOff
Last State: Terminated
Reason: Error
Exit Code: 255
kubectl日志插件-http-application-routing-nginx-ingress-controller-xxxx 显示:
I1003 20:21:21.129694 7 flags.go:162] Watching for ingress class: addon-http-application-routing
W1003 20:21:21.129745 7 flags.go:165] only Ingress with class "addon-http-application-routing" will be processed by this ingress controller
F1003 20:21:21.129819 7 main.go:59] Port 80 is already in use. Please check the flag --http-port
如果我连接到任何群集上的任何节点,并使用netstat -latun
检查打开的端口,则表明80端口上没有服务。
节点重启没有帮助。
答案 0 :(得分:0)
我刚刚杀死了受影响的节点,它再次开始工作。这是类似解决方案也起作用的链接: https://github.com/kubernetes/ingress-nginx/issues/3177