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

chore: Add readiness and liveness probes to deployment #59

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

linuxluigi
Copy link
Contributor

@linuxluigi linuxluigi commented Aug 20, 2024

This pull request adds readiness and liveness probes to the deployment. The readiness probe checks the health of the API by sending an HTTP GET request to the /healthz endpoint on port 8000 every 5 seconds. The liveness probe also checks the health of the API by sending an HTTP GET request to the same endpoint and port, with an initial delay of 5 seconds and a period of 5 seconds. These probes help ensure the stability and availability of the API.

Close: EXVT-5826

linuxluigi and others added 6 commits August 15, 2024 17:29
Signed-off-by: Steffen Exler <steffen@exivity.com>
Signed-off-by: Steffen Exler <steffen@exivity.com>
Signed-off-by: Steffen Exler <steffen@exivity.com>
…igeon, Transcript, Proximity, Edify, and Use deployments

Signed-off-by: Steffen Exler <steffen@exivity.com>
…on, Horizon, Pigeon, Proximity API, Proximity CLI, Transcript, and Use deployments

Signed-off-by: Steffen Exler <steffen@exivity.com>
apiVersion: v1
kind: Service
metadata:
name: {{ include "exivity.fullname" $ -}}-component-edify
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Any suggestion for an alternative name for component?
This will be shown within Prometheus metrics as label service

Copy link
Member

Choose a reason for hiding this comment

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

name: {{ include "exivity.fullname" $ -}}-edify-agent

Copy link
Member

@costinmrr costinmrr left a comment

Choose a reason for hiding this comment

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

LGTM

Signed-off-by: Steffen Exler <steffen@exivity.com>
Signed-off-by: Steffen Exler <steffen@exivity.com>
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