[
https://issues.apache.org/jira/browse/FLINK-15288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17003857#comment-17003857
]
Yang Wang commented on FLINK-15288:
-----------------------------------
Done via
master:
d6ba651bf1aa4205789efd4d2c45dd04621b77fb
d3f1f0674476f145746a6d4627d2d4d51c8b12c6
1.10:
bfef1a4c1649a860acae6463a726caad7aeb4db3
a4a9f83427416fdbe5989ca8050fd3eca9146da7
> Starting jobmanager pod should respect containerized.heap-cutoff
> ----------------------------------------------------------------
>
> Key: FLINK-15288
> URL: https://issues.apache.org/jira/browse/FLINK-15288
> Project: Flink
> Issue Type: Sub-task
> Components: Deployment / Kubernetes
> Reporter: Yang Wang
> Assignee: Yang Wang
> Priority: Blocker
> Labels: pull-request-available
> Fix For: 1.10.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Starting jobmanager pod should respect containerized.heap-cutoff. The cutoff
> will be used to leave some memory for jvm off-heap, for example meta space,
> thread native memory and etc.
>
> {code:java}
> public static final ConfigOption<Float> CONTAINERIZED_HEAP_CUTOFF_RATIO =
> ConfigOptions
> .key("containerized.heap-cutoff-ratio")
> .defaultValue(0.25f)
> .withDeprecatedKeys("yarn.heap-cutoff-ratio")
> .withDescription("Percentage of heap space to remove from containers (YARN /
> Mesos / Kubernetes), to compensate" +
> " for other JVM memory usage.");
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)