在创建ingress策略yaml文件
执行kubectl apply -f ingress.yaml命令时报错:
Error from server (InternalError): error when creating “ingress.yaml”: Internal error occurred: failed calling webhook “validate.nginx.ingress.kubernetes.io”: failed to call webhook: Post “https://ingress-nginx-controller- admission.ingress-nginx.svc:443/networking/v1/ingresses?timeout=10s”: dial tcp 10.101.148.253:443: connect: con nection refused

【解决方案】
查看kubectl apply -f ingress.yaml
kubectl get validatingwebhookconfigurations
删除ingress-nginx-admission
kubectl delete -A ValidatingWebhookConfiguration ingress-nginx-admission


1513

被折叠的 条评论
为什么被折叠?



