You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When doing microk8s reset, validatingwebhookconfigurations.admissionregistration.k8s.io are not deleted. This can lead to weird errors, as mentioned also here. In my case, the problem was with the ingress-nginx-controller.
What Should Happen Instead?
microk8s reset should delete all previously resources, effectively providing a fresh cluster.
Reproduction Steps
Setup microk8s cluster.
Install ingress-nginx-controller as described here.
Run microk8s reset
Run microk8s.kubectl get validatingwebhookconfigurations.admissionregistration.k8s.io
There should be still an ingress-nginx-admission webhook.
Introspection Report
I don't think it's needed.
Can you suggest a fix?
The problem is that here, from the non-namespaced API resources, only crds, priority classes, storage classes and namespaces are deleted. I'm not exactly sure which of the non-namepsaced API should be cleaned up, but probably there are more than just validating webhooks.
Are you interested in contributing with a fix?
Probably, if I was informed what resources should be actually deleted.
The text was updated successfully, but these errors were encountered:
Summary
When doing
microk8s reset
,validatingwebhookconfigurations.admissionregistration.k8s.io
are not deleted. This can lead to weird errors, as mentioned also here. In my case, the problem was with theingress-nginx-controller
.What Should Happen Instead?
microk8s reset
should delete all previously resources, effectively providing a fresh cluster.Reproduction Steps
microk8s reset
microk8s.kubectl get validatingwebhookconfigurations.admissionregistration.k8s.io
There should be still an
ingress-nginx-admission
webhook.Introspection Report
I don't think it's needed.
Can you suggest a fix?
The problem is that here, from the non-namespaced API resources, only crds, priority classes, storage classes and namespaces are deleted. I'm not exactly sure which of the non-namepsaced API should be cleaned up, but probably there are more than just validating webhooks.
Are you interested in contributing with a fix?
Probably, if I was informed what resources should be actually deleted.
The text was updated successfully, but these errors were encountered: