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

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