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

Adding a readiness probe #220

Merged
merged 2 commits into from
May 1, 2023
Merged

Conversation

shlomitk1
Copy link
Contributor

@shlomitk1 shlomitk1 commented May 1, 2023

Closes fybrik/fybrik#2082

This PR adds a readiness probe to the deployed pod.
It also fixes a test.

Signed-off-by: Shlomit Koyfman <shlomitk@il.ibm.com>
@shlomitk1 shlomitk1 requested a review from revit13 May 1, 2023 12:23
Signed-off-by: Shlomit Koyfman <shlomitk@il.ibm.com>
@shlomitk1 shlomitk1 requested review from cdoron and revit13 and removed request for revit13 May 1, 2023 14:45
@@ -37,6 +37,11 @@ spec:
- name: grpc
containerPort: 8080
protocol: TCP
readinessProbe:
failureThreshold: 3
Copy link
Contributor

Choose a reason for hiding this comment

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

Please consider adding these values to values.yaml as in fybrik

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The main value in readinessProbe is the port that is defined here and not in the values.

@revit13
Copy link
Contributor

revit13 commented May 1, 2023

You might also want to consider adding liveness probe...

@shlomitk1 shlomitk1 merged commit 46f3bf4 into fybrik:master May 1, 2023
@shlomitk1 shlomitk1 deleted the add-readiness-probe branch May 1, 2023 19:25
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.

Ready status is returned for a module that is not ready yet
2 participants