无法删除从以前的安装影响到新安装的自定义资源定义

IOT*_*est 5 elasticsearch kibana devops

以前创建的 crd 不会删除。仍处于终止状态。有什么解决方案可以正确删除此 crds?

   Error from server (MethodNotAllowed): error when creating "elkkib.yml": create not allowed while custom resource definition is terminating
    
    Error from server (MethodNotAllowed): error when creating "elkkib.yml": create not allowed while custom resource definition is terminating
Run Code Online (Sandbox Code Playgroud)

DuZ*_*ong 12

尝试这个命令\xef\xbc\x9a

\n
kubectl patch crd/{your crd name} -p \'{"metadata":{"finalizers":[]}}\' --type=merge\n
Run Code Online (Sandbox Code Playgroud)\n

参考这个\xef\xbc\x9a https://github.com/kubernetes/kubernetes/issues/60538

\n