-
Notifications
You must be signed in to change notification settings - Fork 2
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
base: main
Are you sure you want to change the base?
Conversation
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 |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
There was a problem hiding this 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>
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