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 2021/09/07 07:11:43 UTC

[GitHub] [apisix-ingress-controller] fregie opened a new issue #669: request help: Why using apisix admin api but not modify the data in etcd?

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


   ### Issue description
   Why using apisix admin api but not modify the data in etcd to manage apisix config?
   I think compare and modify the config data in etcd is simpler and more direct,and there is no coupling to apisix


-- 
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] fregie closed issue #669: request help: Why using apisix admin api but not modify the data in etcd?

Posted by GitBox <gi...@apache.org>.
fregie closed issue #669:
URL: https://github.com/apache/apisix-ingress-controller/issues/669


   


-- 
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] fregie commented on issue #669: request help: Why using apisix admin api but not modify the data in etcd?

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


   I think use apisix admin api to do schema things has becoming a problem.It has led to some unnecessary coupling.
   In apisix-dashboard,some schema feature must depend on apisix admin api too, this is really not good.
   How about separating those functions from apisix, make data panel more pure, only communicate with etcd(include register schema information to etcd).Then we offer a common sdk or service to get or verify schema infomation for other service like ingress-controll or dashboard.


-- 
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 #669: request help: Why using apisix admin api but not modify the data in etcd?

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


   APISIX's admin api can help us do some schema verification


-- 
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] fregie commented on issue #669: request help: Why using apisix admin api but not modify the data in etcd?

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


   @tokers 
   I got it.Using admin api is a correct choice


-- 
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] tokers commented on issue #669: request help: Why using apisix admin api but not modify the data in etcd?

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


   > I think use apisix admin api to do schema things has becoming a problem.It has led to some unnecessary coupling.
   > In apisix-dashboard,some schema feature must depend on apisix admin api too, this is really not good.
   > How about separating those functions from apisix, make data panel more pure, only communicate with etcd(include register schema information to etcd).Then we offer a common sdk or service to get or verify schema infomation for other service like ingress-controll or dashboard.
   
   We cannot fetch the first feedback from the config users, i.e. APISIX cluster, if we just write data to ETCD, we won't know any incompatible problems or bugs, instead, Admin APIs do this so we can record the kinds of errors to CRD status or error log, and, the bad config will not be persistent.


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