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/05/27 08:42:37 UTC
[GitHub] [apisix-ingress-controller] AlinsRan opened a new issue, #1050: bug: Deleting apisixroute will delete only one `upstream`.
AlinsRan opened a new issue, #1050:
URL: https://github.com/apache/apisix-ingress-controller/issues/1050
### Issue description
When `ApisixRoute` is configured with multiple services, multiple `upstream` of the same quantity will be created. When `ApisixRoute` is deleted, only one `upstream` will be deleted.
### Environment
- your apisix-ingress-controller version (output of apisix-ingress-controller version --long):
![image](https://user-images.githubusercontent.com/79972061/170663676-016818f5-129d-45e6-8492-8365f0916791.png)
- your Kubernetes cluster version (output of kubectl version):
![image](https://user-images.githubusercontent.com/79972061/170663597-b41d3433-559d-4324-98dc-fecb463d6b00.png)
- if you run apisix-ingress-controller in Bare-metal environment, also show your OS version (uname -a):
![image](https://user-images.githubusercontent.com/79972061/170663315-fe2dd093-ef15-4290-bc60-0065fdaf7035.png)
### Minimal test code / Steps to reproduce
1. Create ApisxiRoute:
```shell
kubectl apply -f config.yaml
```
```yaml
#config.yaml
apiVersion: apisix.apache.org/v2beta3
kind: ApisixRoute
metadata:
name: httpbin-route
spec:
http:
- name: rule1
match:
hosts:
- httpbin.org
paths:
- /ip
backends:
- serviceName: httpbin-service-e2e-test
servicePort: 80
- serviceName: httpbin
servicePort: 80
- serviceName: httpbin2
servicePort: 80
```
**upstream count=3**
![image](https://user-images.githubusercontent.com/79972061/170661760-2f28df9b-4142-496a-9acb-d3c92b016db8.png)
2. Delete ApisixRoute:
```shell
kubectl delete -f config.yaml
```
**upstream count=2**
![image](https://user-images.githubusercontent.com/79972061/170661968-ddd9141f-06dd-461e-badd-9fdac636210e.png)
### Actual result
upstream count=0
### Error log
None.
### Expected result
_No response_
--
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.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-ingress-controller] github-actions[bot] commented on issue #1050: bug: Deleting `ApisixRoute` will delete only one `upstream`.
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #1050:
URL: https://github.com/apache/apisix-ingress-controller/issues/1050#issuecomment-1227916189
This issue has been marked as stale due to 90 days of inactivity. It will be closed in 30 days if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions.
--
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
[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1050: bug: Deleting `ApisixRoute` will delete only one `upstream`.
Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #1050:
URL: https://github.com/apache/apisix-ingress-controller/issues/1050#issuecomment-1139518120
thanks for your report
I will try to reproduce it
--
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