How it works
- The cluster’s AlertManager sends the alert to Inframan as soon as it fires. Alerts that arrive together are handled together, one component at a time.
- Inframan works out the root cause before acting. A component that keeps crashing because it runs out of memory needs more memory, not a restart, so a crash loop that follows an out-of-memory kill in the last 15 minutes is treated as a memory problem.
- If the component has drifted from its configuration, that’s fixed first.
- Otherwise Inframan applies the fix and redeploys the component. A deploy that’s stuck on the broken component is interrupted, rolled back and retried with the new settings.
What it fixes
The request is raised with the limit, to half the new limit.
Ceilings
Because the monitoring stack can’t alert about itself when it’s down, Inframan also watches the stack’s own pods directly.
When a person is needed
If the same fix is needed again within an hour, Inframan stops and raises a platform alert in the notification bell instead of trying again. Automation for that component pauses so it never fights a person working on it. When you’ve dealt with it, click Acknowledge to hand the component back to automation. Infrastructures that are asleep don’t act on alerts. See Business hours.Your own services
Self-healing changes only the platform’s components. Your services keep the resources you set ininframan.yaml, so a change to them is always one you made. What protects your services:
- Kubernetes restarts a container that crashes or fails its liveness probe.
- Autoscaling adds replicas under load.
- A release that fails keeps traffic on the previous revision and raises a platform alert. See Revisions and traffic.
- The Alerts view shows when a service is running out of memory or crashing, so you can raise its limits.