请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

kubectl apply -f 6-6-ingress-nginx-controller.yaml 报错

图片描述

老师我这个是报错了吗?什么问题造成的?

正在回答 回答被采纳积分+3

1回答

清风 2021-10-22 15:14:01

是的,说明你的服务没起来,或者是起来超时,看看容器内部服务的错误日志。如果是超时需要把liveness探针检查时间延长

0 回复 有任何疑惑可以回复我~
  • 提问者 楚丶门 #1
    服务日志:
    NGINX master process died (-1): signal: illegal instruction (core dumped)
    -------------------------------------------------------------------------------
    W1022 18:33:05.356594       6 nginx.go:39] 
    -------------------------------------------------------------------------------
    NGINX master process died (-1): signal: illegal instruction (core dumped)
    -------------------------------------------------------------------------------
    I1022 18:33:05.676695       6 main.go:153] Received SIGTERM, shutting down
    I1022 18:33:05.676744       6 nginx.go:390] Shutting down controller queues
    I1022 18:33:05.676765       6 status.go:117] updating status of Ingress rules (remove)
    I1022 18:33:07.656047       6 status.go:136] removing address from ingress status ([10.1.211.240])
    I1022 18:33:07.656136       6 nginx.go:406] Stopping NGINX process
    I1022 18:33:07.663888       6 main.go:157] Error during shutdown: signal: illegal instruction (core dumped)
    I1022 18:33:07.663932       6 main.go:161] Handled quit, awaiting Pod deletion
    
    这个是我查询的容器日志,我之前改了liveness探针检查时间延长,不行,还是报错
    回复 有任何疑惑可以回复我~ 2021-10-23 15:42:19
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信