Rancher2.7安装应用prometheus报错x509

Rancher2.7安装应用prometheus报错
Error: failed to create resource: Internal error occurred: failed calling webhook “prometheusrulemutate.monitoring.coreos.com”: failed to call webhook: Post “https://rancher-monitoring-operator.cattle-monitoring-system.svc:443/admission-prometheusrules/validate?timeout=10s”: no endpoints available for service “rancher-monitoring-operator”

已解决:
删除
kubectl delete validatingwebhookconfigurations rancher-monitoring-admission
kubectl delete mutatingwebhookconfigurations rancher-monitoring-admission

1 个赞