You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yang Wang (Jira)" <ji...@apache.org> on 2020/06/05 04:05:00 UTC
[jira] [Closed] (FLINK-17033) Upgrade OpenJDK docker image for
Kubernetes
[ https://issues.apache.org/jira/browse/FLINK-17033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yang Wang closed FLINK-17033.
-----------------------------
Resolution: Fixed
> Upgrade OpenJDK docker image for Kubernetes
> -------------------------------------------
>
> Key: FLINK-17033
> URL: https://issues.apache.org/jira/browse/FLINK-17033
> Project: Flink
> Issue Type: Improvement
> Components: Deployment / Kubernetes
> Reporter: Canbin Zheng
> Priority: Major
> Fix For: 1.11.0, 1.12.0
>
>
> The current docker image {{openjdk:8-jre-alpine}} used by Kubernetes has many problems, here is some of them:
> # There is no official support for this image since the commit [https://github.com/docker-library/openjdk/commit/3eb0351b208d739fac35345c85e3c6237c2114ec#diff-f95ffa3d1377774732c33f7b8368e099]
> # [DNS-lookup-5s-delay|https://k8s.imroc.io/troubleshooting/cases/dns-lookup-5s-delay]
> # [DNS resolver does not read /etc/hosts|https://github.com/golang/go/issues/22846]
> # It uses musl libc instead of glibc. This could cause a problem if we want to run native library like intel MKL for native BLAS support
> Therefore, this ticket proposes to investigate an alternative official JDK docker image; I think it's a good choice to use {{openjdk:8-jre-slim}}(184MB) instead, the reasons are as follows:
> # It has official support from openjdk: [https://github.com/docker-library/docs/blob/master/openjdk/README.md#supported-tags-and-respective-dockerfile-links]
> # It is based on debian and does not have many problems such as DNS lookup delay.
> # It's much smaller in size than other official docker images.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)