Minsu Jo
03/25/2025, 2:36 PMcleanupTerminalJmAfterTtl in Flink operator?Lee Wallen
03/25/2025, 5:14 PMvar ttl = observeConfig.get(KubernetesOperatorConfigOptions.OPERATOR_JM_SHUTDOWN_TTL);
Here is a link to where OPERATOR_JM_SHUTDOWN_TTL is defined, and it shows what I assume would be the flink-conf.yaml property name.
@Documentation.Section(SECTION_DYNAMIC)
public static final ConfigOption<Duration> OPERATOR_JM_SHUTDOWN_TTL =
operatorConfig("jm-deployment.shutdown-ttl")
.durationType()
.defaultValue(Duration.ofDays(1))
.withDescription(
"Time after which jobmanager pods of terminal application deployments are shut down.");Minsu Jo
03/26/2025, 12:27 PMMinsu Jo
03/26/2025, 2:50 PMMinsu Jo
03/26/2025, 3:07 PM60000 ms but I don't think it seems workLee Wallen
03/26/2025, 4:50 PMkubernetes.operator.jm-deployment.shutdown-ttl: 60000 or kubernetes.operator.jm-deployment.shutdown-ttl: "60000 ms" ?
I see an example from decodable and they don't include the milliseconds:
https://www.decodable.co/blog/get-running-with-apache-flink-on-kubernetes-1#~text=Shorten%20the%20lifetime%2[β¦]while%20when%20suspending%20a%20job
kubernetes.operator.jm-deployment.shutdown-ttl: 10000Minsu Jo
03/26/2025, 10:30 PMLee Wallen
03/27/2025, 12:50 AMLee Wallen
03/27/2025, 12:55 AMMinsu Jo
03/27/2025, 9:53 AMLee Wallen
03/27/2025, 5:36 PMMinsu Jo
04/03/2025, 11:42 PMLee Wallen
04/03/2025, 11:48 PMLee Wallen
05/14/2025, 9:54 PM