报错“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]#