Skip to content
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.

Change Alpine base image #142

Open
ltagliamonte-dd opened this issue Feb 21, 2020 · 1 comment
Open

Change Alpine base image #142

ltagliamonte-dd opened this issue Feb 21, 2020 · 1 comment

Comments

@ltagliamonte-dd
Copy link

Alpine musl implementation is well knows for his parallel DNS resolution
https://github.com/gliderlabs/docker-alpine/blob/master/docs/caveats.md

A race condition problem in the linux conntrack (only recently fixed by Martynas Pumputis and available upstream only in really recent kernel versions) makes the DNS resolution hang for 5s (def timeout) and then eventually fail.

For reference this is just one of the hundred of blog post that talk about this problem:
https://medium.com/techmindtickle/intermittent-delays-in-kubernetes-e9de8239e2fa

We experienced this problem as well and once we moved away from alpine our DNS resolutions error rates dramatically when down.
Use alpine should not influence consul internals but def external service definitions/checks.

Should consul consider to change base image to something like debian:stable-slim ?

@yimiaoxiehou
Copy link

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants