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

feat: allow customization on readyz and livez config #2068

Merged
merged 8 commits into from
Sep 19, 2024

Conversation

whynowy
Copy link
Member

@whynowy whynowy commented Sep 17, 2024

Closes: #2066

Signed-off-by: Derek Wang <[email protected]>
.
Signed-off-by: Derek Wang <[email protected]>
Copy link

codecov bot commented Sep 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 63.46%. Comparing base (cbe9054) to head (cae65ee).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2068      +/-   ##
==========================================
- Coverage   63.47%   63.46%   -0.01%     
==========================================
  Files         319      320       +1     
  Lines       29253    29345      +92     
==========================================
+ Hits        18568    18624      +56     
- Misses       9671     9702      +31     
- Partials     1014     1019       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@whynowy whynowy marked this pull request as ready for review September 17, 2024 20:23
@whynowy whynowy requested a review from vigith as a code owner September 17, 2024 20:23
Signed-off-by: Derek Wang <[email protected]>
Signed-off-by: Derek Wang <[email protected]>
@@ -253,6 +253,18 @@ func (v Vertex) GetPodSpec(req GetVertexPodSpecReq) (*corev1.PodSpec, error) {
return nil, err
}

var readyzInitDeploy, readyzPeriodSeconds, readyzTimeoutSeconds, readyzFailureThreshold int32 = 5, 10, 30, 6 // default values
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we store these default numeric values as constants, i see them getting reused in multiple places

Copy link
Member Author

Choose a reason for hiding this comment

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

done.

Signed-off-by: Derek Wang <[email protected]>
Signed-off-by: Derek Wang <[email protected]>
Signed-off-by: Derek Wang <[email protected]>
@whynowy whynowy enabled auto-merge (squash) September 19, 2024 06:53
@whynowy whynowy merged commit 9995ff8 into numaproj:main Sep 19, 2024
25 checks passed
@whynowy whynowy deleted the readi branch September 19, 2024 13:48
whynowy added a commit that referenced this pull request Sep 26, 2024
SaniyaKalamkar pushed a commit to SaniyaKalamkar/numaflow that referenced this pull request Jan 19, 2025
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.

Readiness probe config customization
3 participants