Kubernetes Integration

Feed Kubernetes cluster alerts into ilert to notify on-call teams about pod failures, resource limits, or cluster health issues fast.

The Kubernetes integration brings cluster metrics, such as pod crashes, high CPU/memory usage, or node failures, from Prometheus-based systems into ilert as technical alerts. On-call responders receive these alerts with context for prompt triage and remediation in containerized environments.

In ilert: Create a Kubernetes alert source

  1. Go to Alert sources --> Alert sources and click on Create new alert source

  2. Search for Kubernetes in the search field, click on the Kubernetes tile and click on Next.

  3. Give your alert source a name, optionally assign teams and click Next.

  4. Select an escalation policy by creating a new one or assigning an existing one.

  5. Select you Alert grouping preference and click Continue setup. You may click Do not group alerts for now and change it later.

  6. The next page show additional settings such as customer alert templates or notification prioritiy. Click on Finish setup for now.

  7. On the final page, an API key and / or webhook URL will be generated that you will need later in this guide.

In Kubernetes

a. Deploy ilert-kube-agent with helm (recommended)

  1. Add helm charts repo and update it

  1. Deploy ilert-kube-agent with the API Key that you generated in ilert

b. Deploy ilert-kube-agent with terraform (recommended)

  1. Define module and paste the API Key that you generated in ilert

  1. Apply changes

c. Deploy ilert-kube-agent with manifest

  1. Clone the ilert-kube-agent repository

  1. Paste the API Key that you generated in ilert into ./example/standard/30-deployment.yaml

  1. Apply the deployment manifest to your kubernetes cluster

  1. Verify that the ilert-kube-agent pods are running and ready

  1. Finished! Your Kubernetes alerts will now create alerts in ilert.

FAQ

Will alerts in ilert be resolved automatically?

Yes, as soon as an alert has been resolved in ilert-kube-agent, the associated alert in ilert will be resolved automatically.

Can I connect multiple Kuberenetes namespaces with multiple alert sources from ilert?

Yes, simply create multiple deployments per namespace in Kubernetes.

Last updated

Was this helpful?