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/03/17 19:04:29 UTC

[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #924: bug: panic when apisixRoute resource's backends is not existed

tao12345666333 commented on issue #924:
URL: https://github.com/apache/apisix-ingress-controller/issues/924#issuecomment-1071228991


   what's your apisix-ingress-controller's version? No reproduction in my environment.
   
   ```bash
   root@zhangjintao-1:~/apisix# kubectl scale -n apisix deploy/apisix-ingress-controller --replicas=0                                                                                                        deployment.apps/apisix-ingress-controller scaled                                                                                                                                                          root@zhangjintao-1:~/apisix# kubectl -n apisix apply -f non-exist.yaml                                                                                                                                    
   apisixroute.apisix.apache.org/non-exist created                                                                                                                                                           
   root@zhangjintao-1:~/apisix# kubectl get ar  -A                                                                                                                                                           NAMESPACE   NAME        HOSTS               URIS     AGE                                                                                                                                                  
   apisix      non-exist   ["non-exist.org"]   ["/*"]   4s                                                                                                                                                                                                                                                                                  
   root@zhangjintao-1:~/apisix# kubectl -n apisix get deploy                                                                                                                                                 
   NAME                        READY   UP-TO-DATE   AVAILABLE   AGE                                                                                                                                          
   apisix                      1/1     1            1           6m21s                                                                                                                                        
   apisix-ingress-controller   0/0     0            0           6m21s                                                                                                                                        
   root@zhangjintao-1:~/apisix# kubectl scale -n apisix deploy/apisix-ingress-controller --replicas=1                                                                                                        
   deployment.apps/apisix-ingress-controller scaled                                                                                                                                                          
   root@zhangjintao-1:~/apisix# kubectl -n apisix get deploy                                                                                                                                                 
   NAME                        READY   UP-TO-DATE   AVAILABLE   AGE                                                                                                                                          
   apisix                      1/1     1            1           6m35s                                                                                                                                        
   apisix-ingress-controller   1/1     1            1           6m35s 
   ```
   


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