-
Notifications
You must be signed in to change notification settings - Fork 350
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: Unable to completely delete upstream data in ETCD #2292
Comments
1.Does the controller log say anything?2.What is the controller version? |
apisix :2.15 |
已经收到了谢谢
|
If this is just a demo, it is recommended to upgrade apisix . Ingress1.8 which should correspond to apisix3.0+ |
已经投入生产, 运行了有几个月的时间了 |
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 [email protected] list. Thank you for your contributions. |
已经收到了谢谢
|
Current Behavior
I created an apisixRoute, and when I tried to delete it, I found that the data in ETCD was not deleted.
deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: testhttpbin
labels:
app: testhttpbin
spec:
replicas: 2
selector:
matchLabels:
app: testhttpbin
template:
metadata:
labels:
app: testhttpbin
spec:
containers:
- name: testhttpbin
image: reg.sprucetec.com/apptest/echo-server
ports:
- containerPort: 80
- containerPort: 8089
apiVersion: v1
kind: Service
metadata:
name: testhttpbin
spec:
selector:
app: testhttpbin
ports:
- protocol: TCP
port: 80
targetPort: 80
name: http
- protocol: TCP
port: 8089
targetPort: 8089
name: http-test
apiVersion: v1
kind: Service
metadata:
name: testhttpbin-preview
spec:
selector:
app: testhttpbin
ports:
- protocol: TCP
port: 80
targetPort: 80
name: http
- protocol: TCP
port: 8089
targetPort: 8089
name:
apiVersion: apisix.apache.org/v2beta3
kind: ApisixRoute
metadata:
name: testhttpserver-route
spec:
http:
name: testhttpbin
match:
hosts:
paths:
backends:
servicePort: 80
serviceName: testhttpbin
servicePort: 80
name: testhttpbin8089
match:
hosts:
paths:
backends:
servicePort: 8089
serviceName: testhttpbin
servicePort: 8089
Expected Behavior
I executed kubectl delete apisixRoute testhttpserver-route, and it has been deleted from Kubernetes, but checking ETCD still shows that the data exists.
Error Logs
No response
Steps to Reproduce
1、 kubectl apply -f deployment.yaml
2、 kubectl delete apisixRoute testhttpserver-route
Environment
apisix-ingress-controller version --long
)kubectl version
)uname -a
)The text was updated successfully, but these errors were encountered: