The GitHub Actions job "Build Docker Image" on 
flink-kubernetes-operator.git/FLINK-41251 has failed.
Run started by GitHub user uvashishtha (triggered by uvashishtha).

Head commit for run:
66cacea994584ad623d571c690c8f6330ec3b219 / Utkarsh Vashishtha <[email protected]>
[FLINK-41251] Validate the memory configuration when the spec sets memory

Since FLINK-30411, DefaultValidator checked the JobManager and
TaskManager memory configuration only when the spec set no memory. When
it did, an inconsistent memory configuration, e.g. a
taskmanager.memory.network.max below taskmanager.memory.network.min,
passed validation and failed only on deploy, after the operator had
already shut down the running cluster. When the check did run, any
failure was reported as missing memory.

Validate the memory configuration the way deploy derives it: set the
spec's process memory from ResourceConfigUtils#getProcessMemory, and read
the legacy heap options as the total process memory, as
AbstractContainerizedClusterClientFactory#getClusterSpecification does.
Report Flink's message, after the "must be defined" hint when the spec
sets no memory.

Generated-by: Claude Code (Claude Opus 5.5)

Report URL: 
https://github.com/apache/flink-kubernetes-operator/actions/runs/40606972146

With regards,
GitHub Actions via GitBox

Reply via email to