AlinsRan commented on issue #1528:
URL: 
https://github.com/apache/apisix-ingress-controller/issues/1528#issuecomment-1354166264

   It only takes two steps to reproduce it.
   
   1. ready resource
   ```yaml
   # ingress.yaml
   apiVersion: networking.k8s.io/v1
   kind: Ingress
   metadata:
     name: httpbin-demo-apisix
   spec:
     ingressClassName: apisix
     rules:
     - host: httpbin.org
       http:
         paths:
         - backend:
             service:
               name: httpbin
               port:
                 number: 80
           path: /headers
           pathType: Prefix
   ```
   2. `kubectl delete svc httpbin`
   3. `kubectl delete -f ingress.yaml`
   4. result
   
![image](https://user-images.githubusercontent.com/79972061/208019245-210aa9a3-49c4-4cce-be8f-24e535aa7973.png)
   
   ```shell
   $ curl http://51.159.206.18/headers  -H 'Host: httpbin.org'
   <html>
   <head><title>503 Service Temporarily Unavailable</title></head>
   <body>
   <center><h1>503 Service Temporarily Unavailable</h1></center>
   <hr><center>openresty</center>
   <p><em>Powered by <a 
href="https://apisix.apache.org/";>APISIX</a>.</em></p></body>
   </html>
   ```


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