@Bean("ingress-controller")
    public Controller ingressController(final SharedInformerFactory sharedInformerFactory, final IngressReconciler ingressReconciler) {
        DefaultControllerBuilder builder = ControllerBuilder.defaultBuilder(sharedInformerFactory);
        builder = builder.watch(q -> ControllerBuilder.controllerWatchBuilder(V1Ingress.class, q)
                                .withResyncPeriod(Duration.ofMinutes(1))
                                .build());
        // TODO support config in application.yaml
        builder.withWorkerCount(2);
        return builder.withReconciler(ingressReconciler).withName("ingressController").build();
    }
Ingress Controller.

@param sharedInformerFactory sharedInformerFactory
@param ingressReconciler ingressReconciler
@return Ingress Controller
shenyu-spring-boot-starter/shenyu-spring-boot-starter-k8s/src/main/java/org/apache/shenyu/springboot/starter/k8s/IngressControllerConfiguration.java