Canbin Zheng created FLINK-17033:
------------------------------------
Summary: 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
Fix For: 1.11.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]
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)