Skip to content

Add Kubernetes node pressure anomaly detection notebook - #602

Merged
jarturomora merged 2 commits into
elastic:mainfrom
Delacrobix:add-kubernetes-node-pressure-anomaly-detection-notebook
Oct 5, 2026
Merged

jarturomora merged 2 commits into
elastic:mainfrom
Delacrobix:add-kubernetes-node-pressure-anomaly-detection-notebook

Conversation

@Delacrobix

Copy link
Copy Markdown
Contributor

Companion notebook for the Observability Labs article "How to catch a Kubernetes node pressure event before it takes down your pods" (elastic/elastic-labs-blogs#2209).

It checks the EDOT node metrics and conditions, creates a per-node low_mean anomaly detection job, the anomaly detection rule, an ES|QL headroom rule and the two [Kubernetes OTel] pressure rules, then reads the anomaly records and alerts, finds the pod whose memory changed, lists the evictions, measures how early the anomaly alert opened, imports the timeline dashboard, and cleans up. The kind lab under k8s/ provides the cluster with a soft eviction threshold, the EDOT Helm override, the NGINX service, two stress pods and a k6 probe.

Requires Elasticsearch and Kibana 9.5+ on Elastic Cloud Hosted with machine learning enabled, and Docker, kind, kubectl, Helm and k6.

@gitnotebooks

gitnotebooks Bot commented Sep 27, 2026

Copy link
Copy Markdown

Found 1 changed notebook. Review the changes at https://app.gitnotebooks.com/elastic/elastic-labs/pull/602

@jarturomora
jarturomora merged commit 18645c1 into elastic:main Oct 5, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants