You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/12/16 02:21:19 UTC

[GitHub] [apisix-ingress-controller] shareinto opened a new issue, #1529: perf: When a large number of errors occured , the controller processes ingress very slowly

shareinto opened a new issue, #1529:
URL: https://github.com/apache/apisix-ingress-controller/issues/1529

   ### Issue description
   
   When a large number of errors occured , the controller processes ingress very slowly
   the ingress provider has FastSlowRateLimitingQueue,when a error occured, we will put the event back to the queue
   But if there are too many errors, it will cause the worker to process the old events all the time, which will cause the new events to be processed untimely
   
   ### Environment
   
   - your apisix-ingress-controller version (output of apisix-ingress-controller version --long):
   Version: 1.5.0
   Git SHA: https://github.com/apache/apisix-ingress-controller/commit/f23454fa30e92a4e4392a8c5b2b0ffd2d3bf80b4
   Go Version: go1.19.2
   Building OS/Arch: linux/amd64
   Running OS/Arch: linux/amd64
   - your Kubernetes cluster version (output of kubectl version):
   Client Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.6", GitCommit:"ad3338546da947756e8a88aa6822e9c11e7eac22", GitTreeState:"clean", BuildDate:"2022-04-14T08:49:13Z", GoVersion:"go1.17.9", Compiler:"gc", Platform:"linux/amd64"}
   Server Version: version.Info{Major:"1", Minor:"19+", GitVersion:"v1.19.16-eks-a05fdea", GitCommit:"a05fdea9a04815782f9c4b08eed73bb2d78b07e3", GitTreeState:"clean", BuildDate:"2022-06-09T21:50:47Z", GoVersion:"go1.15.15", Compiler:"gc", Platform:"linux/amd64"}
   WARNING: version difference between client (1.23) and server (1.19) exceeds the supported minor version skew of +/-1
   - if you run apisix-ingress-controller in Bare-metal environment, also show your OS version (uname -a):
   
   
   ### Minimal test code / Steps to reproduce
   
   1. create many ingress configuration with mistakes
   2. wait for a few minutes
   3. create a new correct ingress configuration
   4. new ingress cannot generate the correct configuration
   
   ### Actual result
   
    new ingress cannot generate the correct configuration
   
   ### Error log
   
   ```
   2022-12-12T11:11:00+08:00       warn    ingress/ingress.go:272  sync ingress failed, will retry {"object": {"Type":1,"Object":{"Key":"wshop-cum59/inner-ingress","GroupVersion":"extensions/v1beta1","OldObject":null},"OldObject":null,"Tombstone":null}, "error": "endpoints: endpoints \"nginx-svc\" not found"}
   
   2022-12-12T11:11:00+08:00       error   ingress/ingress.go:152  failed to translate ingress     {"error": "service.spec.ports: port not defined", "ingress": {}}
   
   2022-12-12T11:11:00+08:00       error   ingress/ingress.go:152  failed to translate ingress     {"error": "endpoints: endpoints \"nginx-svc\" not found", "ingress": {}}
   ```
   
   ### Expected result
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-ingress-controller] AlinsRan commented on issue #1529: perf: When a large number of errors occured , the controller processes ingress very slowly

Posted by GitBox <gi...@apache.org>.
AlinsRan commented on issue #1529:
URL: https://github.com/apache/apisix-ingress-controller/issues/1529#issuecomment-1357171871

   Certainly!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1529: perf: When a large number of errors occured , the controller processes ingress very slowly

Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #1529:
URL: https://github.com/apache/apisix-ingress-controller/issues/1529#issuecomment-1357171334

   @AlinsRan Can you handle this?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org