stricklandye commented on issue #12722:
URL: https://github.com/apache/apisix/issues/12722#issuecomment-3479225647

   
   > Hi [@stricklandye](https://github.com/stricklandye) , From the error log, 
you should try change CRD namespace from "monitor " to "1-default-ns"
   
   the scenerio is:
   1. the apisix gateway deployed in `1-default-ns` namespace
   2. the svc and its backend pods deployed in `monitor` namespace 
   3. the CRD was created in `monitor` namepsace 
   
   From the 
[doc](https://apisix.apache.org/docs/ingress-controller/reference/apisix-ingress-controller/api-reference/#apisixroutehttpbackend):
   > ServiceName is the name of the Kubernetes Service. Cross-namespace 
references are not supported—ensure the ApisixRoute and the Service are in the 
same namespace.
   
   So if change the namesapce from `monitor` to `1-default-ns` , the CRD and 
svc are cross-namespace.This is not consistent with the documentation, is it? 
:( 
   I will check it later for sure. 
    
   Thank you  @hanqingwu  @Baoyuantop  for keeping track of this issue. 🤗


-- 
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: [email protected]

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

Reply via email to