2
top 2 comments
sorted by: hot top controversial new old
[-] lemmyng@beehaw.org 1 points 1 year ago* (last edited 1 year ago)

Good article for discussion.

Health checks is one situation where kubernetes really shines. It makes a clear distinction between readiness probes (when the pod is ready to start serving traffic), liveness probes (when the pod should be considered dead), and startup probes (when the pod has finished bootstrapping). Coupled with autoscaling it then becomes acceptable to have a pod stop serving new traffic when it's too busy, because other pods can be created in a short time to take the extra load.

Including backend checks in your application depends on its nature. I think the mistake that the article's author made was not to include the checks, but to have too big of a blast radius when the check fails.

[-] lando55@lemmy.world 1 points 1 year ago* (last edited 1 year ago)

Essentially, all these gotchas boil down to two principles: don't mark instances unhealthy prematurely and mark new instances healthy as soon as possible.

So basically tune your health checks

this post was submitted on 30 Jul 2023
2 points (100.0% liked)

DevOps

1675 readers
1 users here now

DevOps integrates and automates the work of software development (Dev) and IT operations (Ops) as a means for improving and shortening the systems development life cycle.

Rules:

Icon base by Lorc under CC BY 3.0 with modifications to add a gradient

founded 1 year ago
MODERATORS