dmsolr opened a new pull request, #7621: URL: https://github.com/apache/shenyu/pull/7621
## Background The Kubernetes ingress and endpoints controllers hardcode two workers and a one-minute informer resync period, so deployments cannot tune reconciliation throughput or API-server load. ## Changes - add `shenyu.k8s.controller.worker-count` with a backward-compatible default of `2` - add `shenyu.k8s.controller.resync-period` with a backward-compatible default of `1m` - apply both properties to the ingress and endpoints controllers - document the thread-safe cache requirement for worker counts greater than one - run the controller manager through Spring lifecycle using a named daemon executor - cover defaults, external binding, both controller builders, and lifecycle behavior ## Verification - `./mvnw -pl shenyu-spring-boot-starter/shenyu-spring-boot-starter-k8s -am clean test -DskipRemoteResources=true -Dmaven.javadoc.skip=true -Drat.skip=true -Djacoco.skip=true` - 15 reactor modules succeeded - 1,018 tests run, 0 failures, 0 errors, 1 skipped Closes #7586 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
