AlinsRan commented on issue #941: URL: https://github.com/apache/apisix-ingress-controller/issues/941#issuecomment-1186698551
> 1. yaml and version info > > * apisix-ingress-controller version > > ```shell > $ apisix-ingress-controller version > apisix-ingress-controller version 1.4.1-no-git-module-go1.16.15 > ``` > > * ingress.yaml > > ```yaml > # ingress.yaml > apiVersion: networking.k8s.io/v1 > kind: Ingress > metadata: > name: httpserver-ingress > spec: > # apisix-ingress-controller is only interested in Ingress > # resources with the matched ingressClass name, in our case, > # it's apisix. > ingressClassName: apisix > rules: > - host: httpbin.org > http: > paths: > - backend: > service: > name: httpbin > port: > number: 80 > path: / > pathType: Prefix > ``` > > 2. Recurrence steps > > ```shell > # create ingress resource > $ kubectl apply -f ingress.yaml > > # verify > $ curl http://172.18.0.2:31091/ip -H 'Host:httpbin.org' > { > "origin": "10.244.0.1" > } > # delete ingress resource > $ kukubectl delete ingress httpserver-ingress > ingress.networking.k8s.io "httpserver-ingress" deleted > # result > $ kubectl get pods -n $NS > NAME READY STATUS RESTARTS AGE > apisix-bfd7b7fc-bxljf 1/1 Running 0 6m4s > apisix-etcd-0 1/1 Running 0 6m4s > apisix-etcd-1 1/1 Running 0 6m4s > apisix-etcd-2 1/1 Running 0 6m4s > apisix-ingress-controller-6c4f7b6749-cmwvg 1/1 Running 0 6m4s > ``` Cannot be recurrence. -- 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]
