Kubernetes-ingress: E0122 1 reflector.go:123] /home/ec2-user/workspace/PI_IC_kubernetes-ingress_master/internal/k8s/controller.go:340: Failed to list

Created on 22 Jan 2020  路  5Comments  路  Source: nginxinc/kubernetes-ingress

I have installed the ingress controller step by step as mentioned, it is working fine but there are continuous errors in logs.
Error:
E0122 09:33:21.980347 1 reflector.go:123] /home/ec2-user/workspace/PI_IC_kubernetes-ingress_master/internal/k8s/controller.go:340: Failed to list

To Reproduce
Steps to reproduce the behavior:

  1. Deploy ingress
  2. View logs "kubectl logs "
  3. See error

Expected behavior
There should be no errors in logs.

bug

Most helpful comment

hi again.

i did "- -enable-custom-resources=false " like as Rulox said. 陌t worked.

All 5 comments

Hi @infrainuxumedia

Can you tell me which version of the Ingress Controller you are using? And also if you did a fresh install or you were using an older version and then just updated the Ingress Controller image?

Also, if you are not using our CRDs (VirtualServer and VirtualServerRoute) , can you try to set enable-custom-resources to false? It's a command line argument (more info here) and check if the error is gone?

Thanks!

OMG!!
It was my mistake. Thanks, Rulox. I missed CRD while deploying ingress.
After running the following problem solved.

kubectl create -f kubernetes-ingress/deployments/common/custom-resource-definitions.yaml

Thanks for the help.

Glad I could help!

Closing this

hello everyone i have same issue. i deployed custom-resource-definitions.yaml but it didnt work. Could any one help me?

hi again.

i did "- -enable-custom-resources=false " like as Rulox said. 陌t worked.

Was this page helpful?
0 / 5 - 0 ratings