Advertisement

Server Error (Internal): While attempting to create ingress.yaml, the operation resulted in a failure.

阅读量:

生成 ingres 策略的 yaml 配置文件
尝试通过 kubectl apply -f ingress.yaml 执行命令时出现错误
服务器返回了一个内部错误(InternalError):在生成「ingles.yaml」时出现问题
内错原因是无法调用 webhook 服务「validate.nginx.ingles.svc:k8s.io」
无法访问该 webhook 服务
尝试发送 POST 请求至 URL 地址 https://ingles-nginx-controller-admission.ingles-nginx.svc:443/networking/v1/ingresses?timeout=10s 后未成功
连接超时

在这里插入图片描述

【解决方案】
查看kubectl apply -f ingress.yaml

复制代码
    kubectl get validatingwebhookconfigurations

![在这里插入图片描述](https://ad.itadn.com/c/weblog/blog-img/images/2025-05-31/w

全部评论 (0)

还没有任何评论哟~