02 2022 档案
摘要:更新方法syncIngress 经过前面分析,当ingress发生变更时,会回调到syncIngress方法 // syncIngress collects all the pieces required to assemble the NGINX // configuration file and
阅读全文
摘要:cmd/nginx/main.go main函数中调用ngx.Start()方法启动 ngx := controller.NewNGINXController(conf, mc) mux := http.NewServeMux() registerHealthz(nginx.HealthPath,
阅读全文
摘要:主要结构图 主要逻辑 构建NginxController Store对Informer进行封装,用来监听ingress, ingressClass, Endpoint, Service, Secret, ConfigMap, Namespace等的变化,当发生变化时,写入到 updateCh Ngi
阅读全文
摘要:k8s集群部署多Ingress Controller,deploy ingress时admission webhook报错 error when creating "demo-nginx-ingress.yaml": admission webhook "validate.nginx.ingress
阅读全文