You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by Sakshi Bansal <sa...@gmail.com> on 2020/08/24 10:30:36 UTC
Setting job/task manager memory management in kubernetes
Hello,
I am trying to set the heap size of job and task manager when deploying the
job in kubernetes. I have set the jobmanager.heap.size and
taskmanager.heap.size.
However, the custom values are not being used and it is creating its own
values and starting the job. How can I set custom values?
--
Thanks and Regards
Sakshi Bansal
Re: Setting job/task manager memory management in kubernetes
Posted by Alexey Trenikhun <ye...@msn.com>.
Hello,
What version of Flink do you use? If you use 1.10+ please check [1] (different properties names)
[1] - https://ci.apache.org/projects/flink/flink-docs-stable/ops/memory/mem_setup.html
Thanks,
Alexey
________________________________
From: Sakshi Bansal <sa...@gmail.com>
Sent: Monday, August 24, 2020 3:30 AM
To: user@flink.apache.org <us...@flink.apache.org>
Subject: Setting job/task manager memory management in kubernetes
Hello,
I am trying to set the heap size of job and task manager when deploying the job in kubernetes. I have set the jobmanager.heap.size and taskmanager.heap.size. However, the custom values are not being used and it is creating its own values and starting the job. How can I set custom values?
--
Thanks and Regards
Sakshi Bansal
Re: Setting job/task manager memory management in kubernetes
Posted by Yangze Guo <ka...@gmail.com>.
Hi,
You need to define them in "flink-configuration-configmap.yaml".
Please also make sure you've created the config map by executing
"kubectl create -f flink-configuration-configmap.yaml".
[1] https://ci.apache.org/projects/flink/flink-docs-release-1.9/ops/deployment/kubernetes.html
Best,
Yangze Guo
On Mon, Aug 24, 2020 at 9:33 PM Sakshi Bansal <sa...@gmail.com> wrote:
>
> The flink version is 1.9 and it is a standalone k8s
>
> On Mon 24 Aug, 2020, 17:17 Yangze Guo, <ka...@gmail.com> wrote:
>>
>> Hi, Sakshi
>>
>> Could you provide more information about:
>> - What is the Flink version you are using? "taskmanager.heap.size" is
>> deprecated since 1.10[1].
>> - How do you deploy the cluster? In the approach of native k8s[2] or
>> the standalone k8s[3]?
>>
>> [1] https://ci.apache.org/projects/flink/flink-docs-release-1.11/ops/memory/mem_migration.html
>> [2] https://ci.apache.org/projects/flink/flink-docs-release-1.11/ops/deployment/cluster_setup.html
>> [3] https://ci.apache.org/projects/flink/flink-docs-release-1.11/ops/deployment/kubernetes.html
>>
>> Best,
>> Yangze Guo
>>
>> On Mon, Aug 24, 2020 at 6:31 PM Sakshi Bansal <sa...@gmail.com> wrote:
>> >
>> > Hello,
>> >
>> > I am trying to set the heap size of job and task manager when deploying the job in kubernetes. I have set the jobmanager.heap.size and taskmanager.heap.size. However, the custom values are not being used and it is creating its own values and starting the job. How can I set custom values?
>> >
>> > --
>> > Thanks and Regards
>> > Sakshi Bansal
Re: Setting job/task manager memory management in kubernetes
Posted by Yangze Guo <ka...@gmail.com>.
Hi, Sakshi
Could you provide more information about:
- What is the Flink version you are using? "taskmanager.heap.size" is
deprecated since 1.10[1].
- How do you deploy the cluster? In the approach of native k8s[2] or
the standalone k8s[3]?
[1] https://ci.apache.org/projects/flink/flink-docs-release-1.11/ops/memory/mem_migration.html
[2] https://ci.apache.org/projects/flink/flink-docs-release-1.11/ops/deployment/cluster_setup.html
[3] https://ci.apache.org/projects/flink/flink-docs-release-1.11/ops/deployment/kubernetes.html
Best,
Yangze Guo
On Mon, Aug 24, 2020 at 6:31 PM Sakshi Bansal <sa...@gmail.com> wrote:
>
> Hello,
>
> I am trying to set the heap size of job and task manager when deploying the job in kubernetes. I have set the jobmanager.heap.size and taskmanager.heap.size. However, the custom values are not being used and it is creating its own values and starting the job. How can I set custom values?
>
> --
> Thanks and Regards
> Sakshi Bansal