Kubernetes

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

本文主要是介绍报错“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]#

这篇关于报错“Internal error occurred: failed calling webhook "validate.nginx.ingress.kubernetes.io":的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!