-
Notifications
You must be signed in to change notification settings - Fork 389
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
Can not delete namespaces #3815
Comments
This error means that the K8s control plane cannot communicate with the Antrea (Controller) API. This is independent of network policies given that the antrea-controller Pod is a hostNetwork Pod. Do you have any VPC security group rules denying such connections? |
No, I have not. |
Antrea uses K8s aggregated APIs to expose some Antrea Controller APIs through the K8s apiserver. Some functions in antctl depend on that. In K8s, if any API (including aggregated APIs) is not reachable, it prevents Namespace deletion. I don't know why you get in a situation where these APIs are not accessible since communication between the K8s control plane and the Antrea Controller doesn't depend on Pod networking. But you can check the status for these apiservices with And if you run |
Closing this. Probably related to #3946 |
I can not delete namespaces.
Get:
To Reproduce
Antrea 1.6.1 on EKS
Expected
The namespace should be deleted.
Actual behavior
The namespace will be forever on terminating state.
Versions:
kubectl version
). v1.22.6-eks-14c7a48I have a default DROP netpolicy, but kube-system can talk to Self and to control-plane and kubelets node IPs. I see no traffic being dropped from the controller to the api.
Anyways, I disabled the default DROP netpolicy and still it does not work.
The text was updated successfully, but these errors were encountered: