Health Rule Check
Health Rule Check
Collects information about the health-rule state and optionally verifies that the rule has an expected state.Health Rule Check
Health Rule Check
Collects information about the health-rule state and optionally verifies that the rule has an expected state.AppDynamics alerts when a Kubernetes pod is in crash loop
Verify that an AppDynamics health violation alerts you when pods are not ready to accept traffic for a certain time.
Motivation
Kubernetes features a readiness probe to determine whether your pod is ready to accept traffic. If it isn't becoming ready, Kubernetes tries to solve it by restarting the underlying container and hoping to achieve its readiness eventually. If this isn't working, Kubernetes will eventually back off to restart the container, and the Kubernetes resource remains non-functional.
Structure
First, check that the AppDynamics health violation responsible for tracking non-ready containers is in a non-violating state. As soon as one of the containers is crash looping, caused by the crash loop attack, the AppDynamics health violation should notify and escalate it to your on-call team.
Solution Sketch
- Kubernetes liveness, readiness, and startup probes