Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kong ingress controller get error when targets more than 3 #643

Closed
yaoice opened this issue May 7, 2020 · 3 comments
Closed

kong ingress controller get error when targets more than 3 #643

yaoice opened this issue May 7, 2020 · 3 comments

Comments

@yaoice
Copy link

yaoice commented May 7, 2020

Summary

I use kong and kubernetes ingress controller in arm64v8 environment, but I encountered a strange problem, kubernetes-ingress-controller failed to send post to kong admin api. At first, I thought it was a kubernetes-ingress-controller bug, and later I found that it was a kong problem.

kong ingress controller error message:

E0507 13:35:46.952831 1 controller.go:119] unexpected failure updating Kong configuration:
posting new config to /config: making HTTP reqeust: Post http://localhost:8001/config?check_hash=1: EOF
W0507 13:35:46.952869 1 queue.go:112] requeuing tcnp/dashboard, err posting new config to /config: making HTTP reqeust: Post http://localhost:8001/config?check_hash=1: EOF

Steps To Reproduce

  1. Use all-in-one-dbless.yaml to Install kubernetes kong ingress controller
  2. Run an deployment with ingress in k8s
  3. Scale deployment replicas to 5, then kubernetes ingress controller will get error
  4. Scale deployment replicas to 3, wait an while, kubernetes ingress controller will get back to ok

Additional Details & Logs

Kubernetes version: 1.14.6
Kong version 1.4.3
kubernetes-ingress-controller version: 0.7.1
Kong debug-level startup logs ($ kong start --vv)
Kong error logs ( It seems that none error message) log link
Kubernetes-ingress-controller error logs: log link
Json post to kong admin api: JSON
Operating system: Ubuntu 9.1.0-2ubuntu2~16.04
Arch: arm64v8

@yaoice
Copy link
Author

yaoice commented May 8, 2020

@hbagdi Please help to check

@hbagdi
Copy link
Member

hbagdi commented May 8, 2020

Can you upgrade Kong to 2.0.4?
This seems a problem with balancer worker events.

@Tieske Can you take a look at the logs?

@hbagdi
Copy link
Member

hbagdi commented May 8, 2020

Duplicate of Kong/kong#5869

@hbagdi hbagdi marked this as a duplicate of Kong/kong#5869 May 8, 2020
@hbagdi hbagdi closed this as completed May 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants