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/05/11 08:48:35 UTC

[GitHub] [apisix-ingress-controller] shuoshadow opened a new issue #433: request help: 配置路由不生效,访问404

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


   ### Issue description
   按照文档部署后,运行正常,但是apisix-ingress-controller pod一直刷warn日志。配置ingress和apisixroute都无效。
   ![image](https://user-images.githubusercontent.com/10016360/117786642-4fd34e80-b278-11eb-9a21-a12f147b0d91.png)
   
   这个是apisix的日志
   ![image](https://user-images.githubusercontent.com/10016360/117786802-798c7580-b278-11eb-817e-a99120644ff1.png)
   ![image](https://user-images.githubusercontent.com/10016360/117787017-a771ba00-b278-11eb-9a6b-6622aff79b87.png)
   
   
   ### Environment
   
   * your apisix-ingress-controller version (output of `apisix-ingress-controller version --long`);
   Version: 0.5.0
   Git SHA:
   Go Version: go1.13.8
   Building OS/Arch: linux/amd64
   Running OS/Arch: linux/amd64
   
   * your Kubernetes cluster version (output of `kubectl version`);
    Client Version: version.Info{Major:"1", Minor:"18+", GitVersion:"v1.18.8-aliyun.1", GitCommit:"d2f5a0f", GitTreeState:"", BuildDate:"2020-11-17T03:28:04Z", GoVersion:"go1.13.15", Compiler:"gc", Platform:"linux/amd64"}
   Server Version: version.Info{Major:"1", Minor:"18+", GitVersion:"v1.18.8-aliyun.1", GitCommit:"5959bcb", GitTreeState:"", BuildDate:"2021-03-11T11:16:47Z", GoVersion:"go1.13.15", Compiler:"gc", Platform:"linux/amd64"}
   
   \


-- 
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:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] tokers commented on issue #433: request help: 配置路由不生效,访问404

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


   @shuoshadow What does your ApisixRoute or Ingress resource look like?


-- 
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:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] tokers closed issue #433: request help: 配置路由不生效,访问404

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


   


-- 
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:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] tokers edited a comment on issue #433: request help: 配置路由不生效,访问404

Posted by GitBox <gi...@apache.org>.
tokers edited a comment on issue #433:
URL: https://github.com/apache/apisix-ingress-controller/issues/433#issuecomment-838123809


   @shuoshadow What does your ApisixRoute or Ingress resource look like? And these warn log messages are harmless.


-- 
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:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] shuoshadow commented on issue #433: request help: 配置路由不生效,访问404

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


   
   ![image](https://user-images.githubusercontent.com/10016360/117790941-6b405880-b27c-11eb-9b2e-dd51ddf8083d.png)
   


-- 
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:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] shuoshadow commented on issue #433: request help: 配置路由不生效,访问404

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


   I also find a problem, i delete ingress and apisixroute resource,but the url can be accessed even after 10 min
   ![image](https://user-images.githubusercontent.com/10016360/117795820-1a7f2e80-b281-11eb-8534-a55d6069ad5c.png)
   
   ![image](https://user-images.githubusercontent.com/10016360/117795872-223ed300-b281-11eb-86ff-a6eefa1e417d.png)
   
   ![image](https://user-images.githubusercontent.com/10016360/117795958-384c9380-b281-11eb-9de1-4b479846ee26.png)
   
   ![image](https://user-images.githubusercontent.com/10016360/117796128-5ca87000-b281-11eb-8ead-6a759121a71b.png)
   
   


-- 
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:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] shuoshadow edited a comment on issue #433: request help: 配置路由不生效,访问404

Posted by GitBox <gi...@apache.org>.
shuoshadow edited a comment on issue #433:
URL: https://github.com/apache/apisix-ingress-controller/issues/433#issuecomment-838162182


   > @shuoshadow It seems your CRDs about ApisixRoute is obsolete, you may need to re-apply these new [CRDs](https://github.com/apache/apisix-ingress-controller/tree/v0.5.0/samples/deploy/crd/v1beta1) .
   > 
   > Also, the ApisixRoute format is the `v1` style, you can check out the v2 style from http://apisix.apache.org/docs/ingress-controller/concepts/apisix_route
   
   thanks ! it's works when i apply the new crds,the ingress resource can work now!
   but i test apisixroute resource, and can not work
   ![image](https://user-images.githubusercontent.com/10016360/117796289-806bb600-b281-11eb-8c39-f774b86cb771.png)
   
   


-- 
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:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] tokers commented on issue #433: request help: 配置路由不生效,访问404

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


   @shuoshadow It seems your CRDs about ApisixRoute is obsolete, you may need to re-apply these new [CRDs](https://github.com/apache/apisix-ingress-controller/tree/v0.5.0/samples/deploy/crd/v1beta1) .
   
   Also, the ApisixRoute format is the `v1` style, you can check out the v2 style from http://apisix.apache.org/docs/ingress-controller/concepts/apisix_route


-- 
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:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] shuoshadow commented on issue #433: request help: 配置路由不生效,访问404

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


   > > > @shuoshadow It seems your CRDs about ApisixRoute is obsolete, you may need to re-apply these new [CRDs](https://github.com/apache/apisix-ingress-controller/tree/v0.5.0/samples/deploy/crd/v1beta1) .
   > > > Also, the ApisixRoute format is the `v1` style, you can check out the v2 style from http://apisix.apache.org/docs/ingress-controller/concepts/apisix_route
   > > 
   > > 
   > > thanks ! it's works when i apply the new crds,the ingress resource can work now!
   > > but i test apisixroute resource, and can not work
   > > ![image](https://user-images.githubusercontent.com/10016360/117796289-806bb600-b281-11eb-8c39-f774b86cb771.png)
   > > ![image](https://user-images.githubusercontent.com/10016360/117797184-52d33c80-b282-11eb-95f1-dd3053f36d25.png)
   > > ![image](https://user-images.githubusercontent.com/10016360/117797090-3cc57c00-b282-11eb-8d8c-1aae2c8de049.png)
   > 
   > From your error log snippet, apisix-ingress-controller doesn't find the service koa-svc in default namespace.
   
   oh, sorry,i didn't set namespace. Thanks, problem solved


-- 
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:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] shuoshadow edited a comment on issue #433: request help: 配置路由不生效,访问404

Posted by GitBox <gi...@apache.org>.
shuoshadow edited a comment on issue #433:
URL: https://github.com/apache/apisix-ingress-controller/issues/433#issuecomment-838162182


   > @shuoshadow It seems your CRDs about ApisixRoute is obsolete, you may need to re-apply these new [CRDs](https://github.com/apache/apisix-ingress-controller/tree/v0.5.0/samples/deploy/crd/v1beta1) .
   > 
   > Also, the ApisixRoute format is the `v1` style, you can check out the v2 style from http://apisix.apache.org/docs/ingress-controller/concepts/apisix_route
   
   thanks ! it's works when i apply the new crds,the ingress resource can work now!
   but i test apisixroute resource, and can not work
   ![image](https://user-images.githubusercontent.com/10016360/117796289-806bb600-b281-11eb-8c39-f774b86cb771.png)
   
   ![image](https://user-images.githubusercontent.com/10016360/117797184-52d33c80-b282-11eb-95f1-dd3053f36d25.png)
   
   ![image](https://user-images.githubusercontent.com/10016360/117797090-3cc57c00-b282-11eb-8d8c-1aae2c8de049.png)
   
   


-- 
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:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] shuoshadow edited a comment on issue #433: request help: 配置路由不生效,访问404

Posted by GitBox <gi...@apache.org>.
shuoshadow edited a comment on issue #433:
URL: https://github.com/apache/apisix-ingress-controller/issues/433#issuecomment-838162182


   > @shuoshadow It seems your CRDs about ApisixRoute is obsolete, you may need to re-apply these new [CRDs](https://github.com/apache/apisix-ingress-controller/tree/v0.5.0/samples/deploy/crd/v1beta1) .
   > 
   > Also, the ApisixRoute format is the `v1` style, you can check out the v2 style from http://apisix.apache.org/docs/ingress-controller/concepts/apisix_route
   
   thanks ! it's works when i apply the new crds,the ingress resource can work now!
   but i test apisixroute resource, and can not work
   ![image](https://user-images.githubusercontent.com/10016360/117796289-806bb600-b281-11eb-8c39-f774b86cb771.png)
   
   ![image](https://user-images.githubusercontent.com/10016360/117796991-26b7bb80-b282-11eb-83ee-970d52064042.png)
   
   ![image](https://user-images.githubusercontent.com/10016360/117797090-3cc57c00-b282-11eb-8d8c-1aae2c8de049.png)
   
   


-- 
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:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] tokers commented on issue #433: request help: 配置路由不生效,访问404

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


   > > @shuoshadow It seems your CRDs about ApisixRoute is obsolete, you may need to re-apply these new [CRDs](https://github.com/apache/apisix-ingress-controller/tree/v0.5.0/samples/deploy/crd/v1beta1) .
   > > Also, the ApisixRoute format is the `v1` style, you can check out the v2 style from http://apisix.apache.org/docs/ingress-controller/concepts/apisix_route
   > 
   > thanks ! it's works when i apply the new crds,the ingress resource can work now!
   > but i test apisixroute resource, and can not work
   > ![image](https://user-images.githubusercontent.com/10016360/117796289-806bb600-b281-11eb-8c39-f774b86cb771.png)
   > 
   > ![image](https://user-images.githubusercontent.com/10016360/117797184-52d33c80-b282-11eb-95f1-dd3053f36d25.png)
   > 
   > ![image](https://user-images.githubusercontent.com/10016360/117797090-3cc57c00-b282-11eb-8d8c-1aae2c8de049.png)
   
   From your error log snippet, apisix-ingress-controller doesn't find the service koa-svc in default namespace.


-- 
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:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] shuoshadow commented on issue #433: request help: 配置路由不生效,访问404

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


   > @shuoshadow What does your ApisixRoute or Ingress resource look like? And these warn log messages are harmless.
   
   hi, this is
   ingress resource
   ![image](https://user-images.githubusercontent.com/10016360/117790457-f10fd400-b27b-11eb-8bf5-09f427d91c2b.png)
   
   apisixroute resource
   ![image](https://user-images.githubusercontent.com/10016360/117790538-097fee80-b27c-11eb-8fd3-0d5505ce3179.png)
   
   


-- 
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:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] tokers commented on issue #433: request help: 配置路由不生效,访问404

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


   Consider it as solved, will close this issue now.


-- 
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:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] shuoshadow commented on issue #433: request help: 配置路由不生效,访问404

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


   > @shuoshadow It seems your CRDs about ApisixRoute is obsolete, you may need to re-apply these new [CRDs](https://github.com/apache/apisix-ingress-controller/tree/v0.5.0/samples/deploy/crd/v1beta1) .
   > 
   > Also, the ApisixRoute format is the `v1` style, you can check out the v2 style from http://apisix.apache.org/docs/ingress-controller/concepts/apisix_route
   
   thanks ! it's works when i apply the new crds,the ingress resource can work now!
   but i test apisixroute resource, and can not work
   ![image](https://user-images.githubusercontent.com/10016360/117794037-6c26b980-b27f-11eb-8f1b-992a57e1897d.png)
   


-- 
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:
users@infra.apache.org