Re: deploying flink in AWS - some teething issues
Posted by
Patrick Lucas on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/deploying-flink-in-AWS-some-teething-issues-tp12437p12448.html
For 1., I think the standard approach would be to specify from without what the heap size should be. If you want an
x MB heap, you could set your container memory limit to 1.3 *
x or so (to account for overhead) and set
taskmanager.heap.mb: x in your config.
The other way around—e.g. from inside the container determine its memory limit and divide it by 1.3—sounds interesting though, so please share if you have success with that.
For 2. I don't think there's really a good way yet to monitor the health of containerized jobs directly, so probably your best bet is to watch the job's metrics from outside the Flink cluster.