Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase startup and liveness probe timeout for linkerd-destination #12895

Open
kristjankullerkann-wearemp opened this issue Jul 26, 2024 · 4 comments
Assignees

Comments

@kristjankullerkann-wearemp
Copy link
Contributor

kristjankullerkann-wearemp commented Jul 26, 2024

What problem are you trying to solve?

We are seeing startup and liveness probe warnings for linkerd-destination from time to time:

Liveness probe failed: Get "http://10.0.0.7:9990/live": context deadline exceeded (Client.Timeout exceeded while awaiting headers) | linkerd-destination-744c8f574c-vx95n
Liveness probe failed: Get "http://10.0.0.54:9997/ping": context deadline exceeded (Client.Timeout exceeded while awaiting headers)

The issue and solution is well described in:
#8235

How should the problem be solved?

I am suggesting to make this configurable in helm chart and default to current values.

destinationProbes:
  livenessProbe:
    timeoutSeconds: 1
  readinessProbe:
    timeoutSeconds: 1

Any alternatives you've considered?

Raise timeouts in https://github.com/linkerd/linkerd2/blob/main/charts/linkerd-control-plane/templates/destination.yaml

How would users interact with this feature?

No response

Would you like to work on this feature?

yes

@alpeb
Copy link
Member

alpeb commented Aug 7, 2024

Can you share what linkerd version you're on? There was an issue with readiness probes taking a long time to succeed, but that was fixed some time ago.

@kristjankullerkann-wearemp
Copy link
Contributor Author

kristjankullerkann-wearemp commented Aug 12, 2024

@alpeb sorry for the late reply but I am on edge-24.7.5

I have increased timeout from 1 to 5 seconds and the the probes do not fail anymore.

@alpeb
Copy link
Member

alpeb commented Aug 27, 2024

Hi @kristjankullerkann-wearemp, I think it would be valuable to add configurability to the probes. Are you up to push a PR with this? I'd be glad to provide some guidance. It'd be great to implement this generically, both for liveness and readiness probes, with a default that could be overridden by each of the control plane containers.

@kristjankullerkann-wearemp
Copy link
Contributor Author

@alpeb sure I will create a PR.

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

No branches or pull requests

2 participants