Re: Deploying Flink on Kubernetes with fractional CPU and different limits and requests

2021-09-03 Thread Yang Wang
* Freitag, 3. September 2021 08:09 > *To:* Alexis Sarda-Espinosa > *Cc:* spoon_lz ; Denis Cosmin NUTIU < > dnu...@bitdefender.com>; matth...@ververica.com; user@flink.apache.org > *Subject:* Re: Deploying Flink on Kubernetes with fractional CPU and > different limits and request

RE: Deploying Flink on Kubernetes with fractional CPU and different limits and requests

2021-09-03 Thread Alexis Sarda-Espinosa
. September 2021 08:09 To: Alexis Sarda-Espinosa Cc: spoon_lz ; Denis Cosmin NUTIU ; matth...@ververica.com; user@flink.apache.org Subject: Re: Deploying Flink on Kubernetes with fractional CPU and different limits and requests Hi Alexis Thanks for your valuable inputs. First, I want to share

Re: Deploying Flink on Kubernetes with fractional CPU and different limits and requests

2021-09-02 Thread Yang Wang
OURCE_LIMIT_FACTOR_PREFIX *= > *"kubernetes.jobmanager.limit-factor."*; > *public static final *String > *KUBERNETES_TASKMANAGER_RESOURCE_LIMIT_FACTOR_PREFIX *= > *"kubernetes.taskmanager.limit-factor."*; > > > > BTW, we already have an o

RE: Deploying Flink on Kubernetes with fractional CPU and different limits and requests

2021-09-02 Thread Alexis Sarda-Espinosa
; Alexis Sarda-Espinosa ; matth...@ververica.com; user@flink.apache.org Subject: Re: Deploying Flink on Kubernetes with fractional CPU and different limits and requests Hi Yang, I agree with you, but I think the limit-factor should be greater than or equal to 1, and default to 1 is a better

Re: Deploying Flink on Kubernetes with fractional CPU and different limits and requests

2021-09-02 Thread spoon_lz
pod templates, right? Allowing more custom scenarios without letting the configuration options get bloated. Regards, Alexis. From: Denis Cosmin NUTIU Sent: Donnerstag, 26. August 2021 15:55 To: matth...@ververica.com Cc: user@flink.apache.org; danrtsey...@gmail.com Subject: Re: Deploying

Re: Deploying Flink on Kubernetes with fractional CPU and different limits and requests

2021-09-01 Thread Yang Wang
T_FACTOR_PREFIX = >> "kubernetes.taskmanager.limit-factor."; >> >> >> BTW, we already have an old ticket for this feature[1]. >> >> >> [1]. https://issues.apache.org/jira/browse/FLINK-15648 >> >> Best, >> Yang >> >> Alex

Re: Deploying Flink on Kubernetes with fractional CPU and different limits and requests

2021-09-01 Thread spoon_lz
gust 31, 2021 6:04 AM To: Alexis Sarda-Espinosa Cc: Denis Cosmin NUTIU ; matth...@ververica.com ; user@flink.apache.org Subject: Re: Deploying Flink on Kubernetes with fractional CPU and different limits and requests Hi all, I think it is a good improvement to support different resource requ

Re: Deploying Flink on Kubernetes with fractional CPU and different limits and requests

2021-09-01 Thread Yang Wang
nfiguration file only if the pod templates don’t specify any > resources. That was the goal of supporting pod templates, right? Allowing > more custom scenarios without letting the configuration options get bloated. > > > > Regards, > > Alexis. > > > > *From:* Denis Cos

Re: Deploying Flink on Kubernetes with fractional CPU and different limits and requests

2021-09-01 Thread spoon_lz
t: Tuesday, August 31, 2021 6:04 AM To: Alexis Sarda-Espinosa Cc: Denis Cosmin NUTIU ; matth...@ververica.com ; user@flink.apache.org Subject: Re: Deploying Flink on Kubernetes with fractional CPU and different limits and requests Hi all, I think it is a good improvement to support different

Re: Deploying Flink on Kubernetes with fractional CPU and different limits and requests

2021-09-01 Thread 971066723
com>; matth...@ververica.com <matth...@ververica.com>; user@flink.apache.org <user@flink.apache.org> Subject: Re: Deploying Flink on Kubernetes with fractional CPU and different limits and requests   Hi all, I think it is a good improvement to support different resource requests

Re: Deploying Flink on Kubernetes with fractional CPU and different limits and requests

2021-09-01 Thread Denis Cosmin NUTIU
: Denis Cosmin NUTIU mailto:dnu...@bitdefender.com>> Sent: Donnerstag, 26. August 2021 15:55 To: matth...@ververica.com<mailto:matth...@ververica.com> Cc: user@flink.apache.org<mailto:user@flink.apache.org>; danrtsey...@gmail.com<mailto:danrtsey...@gmail.com> Subject: Re: Deployi

Re: Deploying Flink on Kubernetes with fractional CPU and different limits and requests

2021-08-31 Thread Yang Wang
-- > *From:* Yang Wang > *Sent:* Tuesday, August 31, 2021 6:04 AM > *To:* Alexis Sarda-Espinosa > *Cc:* Denis Cosmin NUTIU ; matth...@ververica.com > ; user@flink.apache.org > *Subject:* Re: Deploying Flink on Kubernetes with fractional CPU and > d

Re: Deploying Flink on Kubernetes with fractional CPU and different limits and requests

2021-08-31 Thread Denis Cosmin NUTIU
___ From: Yang Wang Sent: Tuesday, August 31, 2021 6:04 AM To: Alexis Sarda-Espinosa Cc: Denis Cosmin NUTIU ; matth...@ververica.com ; user@flink.apache.org Subject: Re: Deploying Flink on Kubernetes with fractional CPU and different limits and requests Hi all,

Re: Deploying Flink on Kubernetes with fractional CPU and different limits and requests

2021-08-30 Thread Yang Wang
etting the configuration options get bloated. > > > > Regards, > > Alexis. > > > > *From:* Denis Cosmin NUTIU > *Sent:* Donnerstag, 26. August 2021 15:55 > *To:* matth...@ververica.com > *Cc:* user@flink.apache.org; danrtsey...@gmail.com > *Subject:* Re: De

RE: Deploying Flink on Kubernetes with fractional CPU and different limits and requests

2021-08-26 Thread Alexis Sarda-Espinosa
. Regards, Alexis. From: Denis Cosmin NUTIU Sent: Donnerstag, 26. August 2021 15:55 To: matth...@ververica.com Cc: user@flink.apache.org; danrtsey...@gmail.com Subject: Re: Deploying Flink on Kubernetes with fractional CPU and different limits and requests Hi Matthias, Thanks for getting back to me

Re: Deploying Flink on Kubernetes with fractional CPU and different limits and requests

2021-08-26 Thread Denis Cosmin NUTIU
Hi Matthias, Thanks for getting back to me and for your time! We have some Flink jobs deployed on Kubernetes and running kubectl top pod gives the following result: NAMECPU(cores) MEMORY(bytes) aa-78c8cb77d4-zlmpg 8

Re: Deploying Flink on Kubernetes with fractional CPU and different limits and requests

2021-08-26 Thread Matthias Pohl
Hi Denis, I did a bit of digging: It looks like there is no way to specify them independently. You can find documentation about pod templates for TaskManager and JobManager [1]. But even there it states that for cpu and memory, the resource specs are overwritten by the Flink configuration. The code