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

Relax Pod readiness requirements for destination controller #13557

Merged
merged 3 commits into from
Jan 16, 2025

Conversation

tjorri
Copy link
Contributor

@tjorri tjorri commented Jan 13, 2025

Requiring Pods to pass readiness checks before allowing Pod to Pod communication disrupts communication in e.g. clustered systems which require Pods to communicate with each other prior to establishing ready state and allowing inbound traffic.

Relaxed the requirement and modified the workload watcher to only require that a Pod exists and is in Running phase.

Reproduced the issue with a test setup described in #13247.

Fixes #13247.

@tjorri tjorri requested a review from a team as a code owner January 13, 2025 18:27
Requiring Pods to pass readiness checks before allowing Pod to Pod communication disrupts communication in e.g. clustered systems which require Pods to communicate with each other prior to establishing ready state and allowing inbound traffic.

Relaxed the requirement and modified the workload watcher to only require that a Pod exists and is in Running phase.

Reproduced the issue with a test setup described in linkerd#13247.

Fixes linkerd#13247.

Signed-off-by: Tuomo <[email protected]>
Copy link
Member

@alpeb alpeb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @tjorri , this looks good to me 👍
I've just added more context to the updatePod function so it's clear right there why we rely only on the running state.

@alpeb alpeb merged commit ba8a84c into linkerd:main Jan 16, 2025
38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allowing linkerd-proxy to accept inbound traffic despite Pod not being ready
3 participants