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/07/26 06:24:15 UTC

[GitHub] [apisix-ingress-controller] AlinsRan opened a new issue, #1186: proposal: need an interface or function to translate old resource objects

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

   ## backgroup
   At present, for k8s resource update, we use the `TranslateUpstream` method to translate old objects. This method requires parsing the latest services to build objects, resulting in data inconsistency. 
   
   Due to the wrong construction of upstream objects, upstream cannot be deleted, resulting in object redundancy.
   
   ## proposal
   Implement an interface or function for related resources
   Take the route object from the cache to construct Upstream and PluginConfig.
   
   ## dependencies
    - [ ] ApisixRoute
    - [ ] Ingress
    - [ ] Gateway 
        - [ ] HTTPRoute


-- 
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 #1186: proposal: need an interface or function to translate old resource objects

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

   > > Using route to construct Upstream and PluginConfig.
   > 
   > why we need this one?
   
   Because the route object contains upstream_ id and plugin_id. For delete event, we only need these fields


-- 
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 #1186: proposal: need an interface or function to translate old resource objects

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

   >Using route to construct Upstream and PluginConfig.
   
   why we need this one?


-- 
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] AlinsRan commented on issue #1186: proposal: need an interface or function to translate old resource objects

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

   #1050 Or we can realize the function of regularly cleaning up redundant objects in upstream.


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


Re: [I] proposal: need an interface or function to translate old resource objects [apisix-ingress-controller]

Posted by "AlinsRan (via GitHub)" <gi...@apache.org>.
AlinsRan closed issue #1186: proposal: need an interface or function to translate old resource objects
URL: https://github.com/apache/apisix-ingress-controller/issues/1186


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