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/06/29 13:53:44 UTC

[GitHub] [apisix-ingress-controller] fhuzero opened a new issue #562: discuss: support for APISIXRoute/v2alpha1 type in pkg/type/apisix

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


   ApisixRoute/v1 is obsolete and will be unsupported in the future, and ApisixRoute/v2alpha1 is recommended. However, only type `Route` in pkg/type/apisix/**v1**/types.go is supported now. Should we add type `Route` definition in pkg/type/apisix/**v2alpha1**/types.go to support ApisixRoute/v2alpha1?


-- 
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] fhuzero commented on issue #562: request help: support for APISIXRoute/v2alpha1 type in pkg/type/apisix

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


   @tokers  Could this issue be reopened to continue the discussion? Or I have to open another 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] fhuzero commented on issue #562: discuss: support for APISIXRoute/v2alpha1 type in pkg/type/apisix

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


   @tokers Thanks for your explanation! Maybe I didn't explain my question clearly, my bad. From my understanding, the Apisix Route prototype refers to struct `Route` in _pkg/type/apisix/v1/types.go_. I want to implement traffic-split feature in my code when translating Ingress. Then I find that field `http[].backends.weight` suits my need. But I cannot find a field in `Route`  which represents `http[].backends` field in ApisixRoute/v2alpha1. What should I do if I want to access `backends` field in ApisixRoute/v2alpha1 spec?


-- 
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 #562: discuss: support for APISIXRoute/v2alpha1 type in pkg/type/apisix

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


   @fhuzero The ApisixRoute/v2alpha1 definition is in pkg/kube/apisix/apis/config/v2alpha1. The Apisix Route prototype is not changed.


-- 
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 closed issue #562: discuss: support for APISIXRoute/v2alpha1 type in pkg/type/apisix

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


   


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