You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yun Gao (Jira)" <ji...@apache.org> on 2022/04/13 06:28:05 UTC

[jira] [Updated] (FLINK-24237) Consider disabling or lowering DNS caching timeout in docker image

     [ https://issues.apache.org/jira/browse/FLINK-24237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yun Gao updated FLINK-24237:
----------------------------
    Fix Version/s: 1.16.0

> Consider disabling or lowering DNS caching timeout in docker image
> ------------------------------------------------------------------
>
>                 Key: FLINK-24237
>                 URL: https://issues.apache.org/jira/browse/FLINK-24237
>             Project: Flink
>          Issue Type: Improvement
>          Components: Deployment / Kubernetes
>            Reporter: Chesnay Schepler
>            Priority: Major
>             Fix For: 1.15.0, 1.16.0
>
>
> A recent [blog post|https://mux.com/blog/5-years-of-flink-at-mux/] by Mux mentions that they have disabled DNS caching in their docker image because with caching the Flink processes had trouble talking to other services when pods move between nodes:
> ??The JVM will cache DNS entries forever by default. This is undesirable in Kubernetes deployments where there’s an expectation that DNS entries can and do change frequently as pod deployments move between nodes. We’ve seen Flink applications suddenly unable to talk to other services in the cluster after pods are upgraded.??
> We should investigate this, in particular whether it would make sense to set it to a low value instead of disabling it entirely.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)