Create blueprints for observability endpoints #9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Reading through @gutocarvalho's notes, he highlights some important endpoints for observability:
/health
/readiness
/liveness
I think it would be beneficial to go ahead and create these blueprints, define what should be returned by each endpoint, and ensure they are properly tested and functioning from the start. This will help us ensure the application is easy to monitor and troubleshoot as we move forward.
These endpoints will be helpful to configure the app inside kubernetes.
Liveness Probe determines if the application within the container is still running and healthy. If it fails, Kubernetes restarts the container.
Readness determines if the application is ready to accept incoming traffic. If it fails, the Pod is removed from the Service's endpoints, preventing traffic from being routed to it.