MirtoBusico commented on issue #853:
URL: 
https://github.com/apache/apisix-ingress-controller/issues/853#issuecomment-1037340275


   Hi @liangyuanpeng with this chart it seems to work
   The delete route command (timestam in Rome time thea are UTC+1 - So in 
apisix log look for 17 instead of 18)
   ```
   sysop@m01serv:~/software/apisisx$ kubectl get apisixroute -n bookinfo
   NAME          HOSTS              URIS     AGE
   productpage   ["www2.m01.net"]   ["/*"]   22h
   sysop@m01serv:~/software/apisisx$ kubectl delete apisixroute productpage -n 
bookinfo
   apisixroute.apisix.apache.org "productpage" deleted
   sysop@m01serv:~/software/apisisx$ date
   sab 12 feb 2022, 18:31:10, CET
   sysop@m01serv:~/software/apisisx$ 
   ```
    The apisix ingress controller log (nothing appear here)
   ```
   2022-02-12T17:30:36.560Z | [GIN] 2022/02/13 - 01:30:36 | 200 | 31.21µs | 
127.0.0.6 | GET "/healthz"
   2022-02-12T17:30:41.352Z | [GIN] 2022/02/13 - 01:30:41 | 200 | 43.929µs | 
127.0.0.6 | GET "/healthz"
   2022-02-12T17:30:46.559Z | [GIN] 2022/02/13 - 01:30:46 | 200 | 40.559µs | 
127.0.0.6 | GET "/healthz"
   2022-02-12T17:30:51.352Z | [GIN] 2022/02/13 - 01:30:51 | 200 | 35.86µs | 
127.0.0.6 | GET "/healthz"
   2022-02-12T17:30:56.558Z | [GIN] 2022/02/13 - 01:30:56 | 200 | 34.359µs | 
127.0.0.6 | GET "/healthz"
   2022-02-12T17:31:01.352Z | [GIN] 2022/02/13 - 01:31:01 | 200 | 29.04µs | 
127.0.0.6 | GET "/healthz"
   2022-02-12T17:31:06.560Z | [GIN] 2022/02/13 - 01:31:06 | 200 | 40.28µs | 
127.0.0.6 | GET "/healthz"
   2022-02-12T17:31:11.352Z | [GIN] 2022/02/13 - 01:31:11 | 200 | 37.56µs | 
127.0.0.6 | GET "/healthz"
   2022-02-12T17:31:16.559Z | [GIN] 2022/02/13 - 01:31:16 | 200 | 36.14µs | 
127.0.0.6 | GET "/healthz"
   2022-02-12T17:31:21.352Z | [GIN] 2022/02/13 - 01:31:21 | 200 | 29.45µs | 
127.0.0.6 | GET "/healthz"
   2022-02-12T17:31:26.559Z | [GIN] 2022/02/13 - 01:31:26 | 200 | 30.51µs | 
127.0.0.6 | GET "/healthz"
   2022-02-12T17:31:31.353Z | [GIN] 2022/02/13 - 01:31:31 | 200 | 33.74µs | 
127.0.0.6 | GET "/healthz"
   2022-02-12T17:31:36.559Z | [GIN] 2022/02/13 - 01:31:36 | 200 | 29.13µs | 
127.0.0.6 | GET "/healthz"
   2022-02-12T17:31:41.352Z | [GIN] 2022/02/13 - 01:31:41 | 200 | 40.02µs | 
127.0.0.6 | GET "/healthz"
   2022-02-12T17:31:46.559Z | [GIN] 2022/02/13 - 01:31:46 | 200 | 30.469µs | 
127.0.0.6 | GET "/healthz"
   2022-02-12T17:31:51.352Z | [GIN] 2022/02/13 - 01:31:51 | 200 | 45.11µs | 
127.0.0.6 | GET "/healthz"
   2022-02-12T17:31:56.559Z | [GIN] 2022/02/13 - 01:31:56 | 200 | 30.39µs | 
127.0.0.6 | GET "/healthz"
   2022-02-12T17:32:01.353Z | [GIN] 2022/02/13 - 01:32:01 | 200 | 36.09µs | 
127.0.0.6 | GET "/healthz"
   2022-02-12T17:32:06.559Z | [GIN] 2022/02/13 - 01:32:06 | 200 | 33.08µs | 
127.0.0.6 | GET "/healthz"
   2022-02-12T17:32:11.352Z | [GIN] 2022/02/13 - 01:32:11 | 200 | 28.96µs | 
127.0.0.6 | GET "/healthz"
   2022-02-12T17:32:16.559Z | [GIN] 2022/02/13 - 01:32:16 | 200 | 33.39µs | 
127.0.0.6 | GET "/healthz"
   2022-02-12T17:32:21.115Z | W0213 01:32:21.115801 1 warnings.go:70] 
apisix.apache.org/v2beta1 ApisixRoute is deprecated; use 
apisix.apache.org/v2beta3 ApisixRoute
   2022-02-12T17:32:21.352Z | [GIN] 2022/02/13 - 01:32:21 | 200 | 29.149µs | 
127.0.0.6 | GET "/healthz"
   ```
   In the apisix dasboard the route and upstream disappeared as expected
   
![route_deleted](https://user-images.githubusercontent.com/11090934/153722005-010eabe5-7f64-45c6-88ae-a2d837e2d4fd.jpg)
   
   


-- 
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-unsubscr...@apisix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to