gxthrj opened a new issue #471:
URL: https://github.com/apache/apisix-ingress-controller/issues/471


   ### Issue description
   relate to : #421 
   
   when upstream is be used by multi-routes, it will not be allowed to remove 
in. APISIX.
   
   In apisix ingress controller, we delete upstream in order:
   1.[Delete upstream through APISIX admin api 
first](https://github.com/apache/apisix-ingress-controller/blob/master/pkg/apisix/upstream.go#L180)
   2.[Then delete 
cache](https://github.com/apache/apisix-ingress-controller/blob/master/pkg/apisix/upstream.go#L183)
   
   Ingress have checked the reference in cache, but still get error in APISIX 
admin api,which  is done before cache. This is the reason cause retry.
   
   
   ### Environment
   
   * your apisix-ingress-controller version 0.6;
   
   
   


-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to