报错“Internal error occurred: failed calling webhook "validate.nginx.ingress.kubernetes.io": ”

 

报错:

 

 

 

 

 解决方案:

输入这条命令

[root@k8s-master01 ingress]# kubectl delete -A ValidatingWebhookConfiguration ingress-nginx-admission
validatingwebhookconfiguration.admissionregistration.k8s.io "ingress-nginx-admission" deleted
[root@k8s-master01 ingress]# kubectl apply -f ingress1.yaml
ingress.networking.k8s.io/nginx-test created
[root@k8s-master01 ingress]#

posted @ 2022-07-25 18:23  屯子里唯一的架构师  阅读(2651)  评论(0编辑  收藏  举报