LeonYoah commented on PR #13277: URL: https://github.com/apache/seatunnel/pull/13277#issuecomment-7163983941
@nzw921rx @DanielLeens Thanks for the detailed reviews! I have rebased onto the latest `dev` and reworked this PR to cleanly separate engine configuration from Kubernetes Service publication: 1. **Moved HTTP publication contract to `ApplicationSpecification`** (`application.master.http-port` / `masterHttpPort`), removing `kubernetes.master.enable-http`, `kubernetes.master.http-port`, and all submitter-side `seatunnel.yaml` parsing/guessing. 2. **Engine follows `seatunnel.yaml` cleanly**: `SeatunnelApplicationConfig.configure` no longer disables HTTP/HTTPS on the master (workers still force HTTP/HTTPS off, and dynamic port probing is disabled), and `SeatunnelKubernetesApplicationCli` never overrides `HttpConfig`. Note for YARN Application Mode (#13329): because `SeatunnelApplicationConfig.configure` now leaves master HTTP following `seatunnel.yaml`, YARN can explicitly disable master HTTP in `SeatunnelYarnApplicationCli` when `yarn.master.http-port` is unset if shared NodeManager hosts should stay headless by default. 3. **Kubernetes Service declared at submission time**: when `application.master.http-port` is set, `HeadlessServiceDecorator` and `ApplicationJobFactory` declare the `http` port on the existing headless Service and master container with zero extra RBAC permissions; when unset, no `http` port is declared. At master startup, `SeatunnelKubernetesApplicationCli` logs a warning if `application.master.http-port` does not match the listener configured in `seatunnel.yaml`. 4. **Addressed E2E stability & docs**: updated the `configuration-owned-http` E2E scenario to a `STREAMING` job and verified live `/overview` responses through both the Kubernetes Service proxy and master Pod proxy; updated EN/ZH Kubernetes docs to explain the engine-vs-Service boundary and the default `config/seatunnel.yaml` HTTP exposure (`enable-http: false` / basic auth / `NetworkPolicy`). PTAL when you have a moment! -- 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]
