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

Added liveliness probe to the web deployment. #625

Merged
merged 3 commits into from
Jan 24, 2025

Conversation

wbmoeller
Copy link
Contributor

What was changed

Modified the web-deployment.yml to specify a liveliness probe on the web component monitoring the http port.
Note: didn't add startup or readiness since the other components don't have these either.

Why?

Improved monitoring of the web component.

Checklist

  1. Closes [Feature Request] Web Deployment has no probes #591
    (only if you don't care about the readiness and startup probes)

  2. How was this tested:
    Used 'kubectl describe' on the web container to verify changes.
    Decreased initialDelaySeconds with a bad tcpSocket port to verify error condition.
    Fixed the port to verify there's a Liveliness section in the description and no errors.

  3. Any docs updates needed?
    No

Note: didn't add startup or readiness since the other components don't have these either.

temporalio#591
@wbmoeller wbmoeller requested a review from a team as a code owner January 14, 2025 19:35
@CLAassistant
Copy link

CLAassistant commented Jan 14, 2025

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@robholland robholland left a comment

Choose a reason for hiding this comment

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

Please remove the settings which are the same as the defaults, at least periodSeconds, successThreshold and timeoutSeconds from a quick look.

- periodSeconds: 10
- successThreshold: 1
- timeoutSeconds: 1
- failureThreshold: 3

Verified the probe is still running with those values after they've been removed.

temporalio#625
@wbmoeller
Copy link
Contributor Author

@robholland thanks for the feedback - the default settings are cleaned up and tested. failureThreshold was the only additional setting that could be removed.

@wbmoeller wbmoeller requested a review from robholland January 23, 2025 15:04
@robholland robholland merged commit 31d1f4c into temporalio:main Jan 24, 2025
3 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.

[Feature Request] Web Deployment has no probes
3 participants