云容器引擎 CCE-命名空间因APIService对象访问失败无法删除:问题现象

时间:2023-11-01 16:18:15

问题现象

删除命名空间时,命名空间一直处“删除中”状态,无法删除。查看命名空间yaml配置,status中有报错“DiscoveryFailed”,示例如下:

上图中报错信息为:Discovery failed for some groups, 1 failing: unable to retrieve the complete list of server APIs: metrics.k8s.io/v1beta1: the server is currently unable to handle the request

表示当前删除命名空间动作阻塞在kube-apiserver访问metrics.k8s.io/v1beta1 接口的APIService资源对象。

support.huaweicloud.com/cce_faq/cce_faq_00325.html