[root@localhost]# kubectl get validatingwebhookconfigurations.admissionregistration.k8s.io NAME CREATED AT prometheus-operator-me-admission 2020-11-06T10:47:12Z [root@localhost]# kubectl get MutatingWebhookConfiguration NAME CREATED AT prometheus-operator-me-admission 2020-11-06T10:47:12Z pod-ready.config.common-webhooks.networking.gke.io 2020-02-25T13:52:06Z [root@localhost]# kubectl delete validatingwebhookconfigurations.admissionregistration.k8s.io eve-prometheus-operator-me-admission validatingwebhookconfiguration.admissionregistration.k8s.io "eve-prometheus-operator-me-admission" deleted [root@localhost]# kubectl delete MutatingWebhookConfiguration eve-prometheus-operator-me-admission mutatingwebhookconfiguration.admissionregistration.k8s.io "eve-prometheus-operator-me-admission" deleted
②验证
到prometheus的rules界面,你就可以看到你自定义的规则了
Maybe you could buy me a cup of coffee.
Scan this qrcode
Open alipay app scan this qrcode, buy me a coffee!
Scan this qrcode
Open wechat app scan this qrcode, buy me a coffee!