详细报错信息:
Error: could not get apiVersions from Kubernetes: unable to retrieve the complete list of server APIs: metrics.k8s.io/v1beta1: the server is currently unable to handle the request
查看api
kubectl get apiservice
![Error: could not get apiVersions from Kubernetes: unable to retrieve the complete list of server API](https://devopstack.cn/wp-content/uploads/2022/08/05fcb5f7d6918318cd18a9de44c9ae8d.png)
删除False的apiservice即可
[root@k8s-master01 ms]# kubectl delete apiservice v1beta1.custom.metrics.k8s.io
apiservice.apiregistration.k8s.io "v1beta1.custom.metrics.k8s.io" deleted
- 我的微信
- 这是我的微信扫一扫
-
- 我的微信公众号
- 我的微信公众号扫一扫
-