我已经在EKS上运行服务一段时间了,今天不小心删除了nginx入口。现在,当我尝试使用以下网址中的入口控制器模板设置入口时,需要进行一些修改:
现在没有启动豆荚。在查看日志时出现以下问题。
kubectl logs -f ingress-nginx-admission-patch-5gvlr -n ingress-nginx
{"level":"info","msg":"patching webhook configurations 'ingress-nginx-admission' mutating=false, validating=true, failurePolicy=Fail","source":"k8s/k8s.go:38","time":"2020-08-23T12:18:32Z"}
{"level":"info","msg":"Patched hook(s)","source":"k8s/k8s.go:91","time":"2020-08-23T12:18:32Z"}
kubectl logs -f ingress-nginx-admission-create-mj7cd -n ingress-nginx
{"err":"secrets \"ingress-nginx-admission\" not found","level":"info","msg":"no secret found","source":"k8s/k8s.go:101","time":"2020-08-23T12:18:32Z"}
{"level":"info","msg":"creating new secret","source":"cmd/create.go:23","time":"2020-08-23T12:18:32Z"}
kubernetes版本是1.17
有人可以指导我解决这个问题吗?
谢谢