Ingress-Controller Troubleshooting

下午有个集群要做升级验证, 同事把developer-center的namespaces下的应用都删除重建了,后来发现paas平台打不开,查询nginx日志,应该是nginx-ingress出了问题 首先查看ingress-nginx-cotroller日志:

  可以修改deployment,使用  flag –v=XX来修改日志级别

–v=2 shows details using diff about the changes in the configuration in nginx –v=3 shows details about the service, Ingress rule, endpoint changes and it dumps the nginx configuration in JSON format –v=5 configures NGINX in debug mode 到api server的认证逻辑:

得确定下看是否是服务认证或kubeconfig导致的问题 ingress需要从 apiserver获得信息,是需要认证的,有两种认证方式: Service Account: This Read more…