Skip to main content
Inframan runs a set of platform components in every infrastructure: the ingress gateway, cert-manager, Knative and the monitoring stack. It also keeps them healthy for you. When one of them runs out of memory, is starved of CPU, or drifts from its configuration, Inframan fixes it in place and redeploys it, without waiting for a person.

How it works

  1. 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.
  2. 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.
  3. If the component has drifted from its configuration, that’s fixed first.
  4. 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 in inframan.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.