Skip to content

[V2] Fix single binary and proxy pod slow start issue#7088

Merged
pingsutw merged 1 commit intov2from
fix_single_binary_slow_start
Mar 25, 2026
Merged

[V2] Fix single binary and proxy pod slow start issue#7088
pingsutw merged 1 commit intov2from
fix_single_binary_slow_start

Conversation

@popojk
Copy link
Copy Markdown
Contributor

@popojk popojk commented Mar 25, 2026

Tracking issue

n/a

Why are the changes needed?

We originally give the single binary and proxy pod a 30s readinessProbe initialDelaySeconds, which caused a delay for the pods marked as ready eventhough they are ready already. This PR fixes the issues by decrease the initialDelaySeconds

What changes were proposed in this pull request?

How was this patch tested?

Labels

Please add one or more of the following labels to categorize your PR:

  • added: For new features.
  • changed: For changes in existing functionality.
  • deprecated: For soon-to-be-removed features.
  • removed: For features being removed.
  • fixed: For any bug fixed.
  • security: In case of vulnerabilities

This is important to improve the readability of release notes.

Setup process

Screenshots

Check all the applicable boxes

  • I updated the documentation accordingly.
  • All new and existing tests passed.
  • All commits are signed-off.

Related PRs

Docs link

Signed-off-by: Alex Wu <c.alexwu@gmail.com>
@github-actions github-actions bot mentioned this pull request Mar 25, 2026
3 tasks
port: http
initialDelaySeconds: 30
initialDelaySeconds: 15
failureThreshold: 10
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Sometimes we see a restart count because the pod is not ready yet but livenessProbe check executed. According to k8s doc, a common practice is to give a higher failureThreshold to prevent the pod from being killed.

@pingsutw pingsutw merged commit da1fc32 into v2 Mar 25, 2026
17 checks passed
@pingsutw pingsutw deleted the fix_single_binary_slow_start branch March 25, 2026 05:49
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.

2 participants