i am noticing that it seems no matter what we set ...
# troubleshooting
t
i am noticing that it seems no matter what we set
kubernetes.taskmanager.cpu.amount
to, the resulting taskmanagers always have a k8s cpu request of
1.0
. i’m having a hard time believing this to be a real issue - i suspect we’re setting this incorrectly and that flink is cutting it down to 1 (the number of slots per TM). is there any log output for this value being defaulted elsewhere? if i correctly configure 1.5 cores i should get 1.5 cores even with a single slot, right? the limit-factor (configured right next to it) seems to work fine, but the limit factor is then calculated off the reduced value.
confirmed it is definitely setting cpu request to tm slots
in case anyone run int something similar, this was user error as expected. v1.16 uses
kubernetes.taskmanager.cpu
v1.17 uses
kubernetes.taskmanager.cpu.amount
(with a fallback to the 1.16 key) we were blindly setting
.amount
for 1.16 jobs