CoreDNS SERVFAIL and Node Conntrack Table Exhaustion
Matches CoreDNS upstream SERVFAIL and i/o timeout bursts alongside kernel nf_conntrack table full packet drops on Kubernetes nodes.
- Kind
- Signature
- Version
- 2.0.0
- Tier
- verified
- Needs Faber
- v2.0.0+
- Digest prefix
- sha256:a67cb372
Contract facts
- Sources
- 3
- kubernetes, loki, prometheus
- Log patterns
- 3
- RE2, replayed in CI
- Kubernetes matchers
- 0
- CEL on live objects
- Samples
- 3 and 2
- must match and must not
Inspect it
Inspect the contract and RBAC delta
$ faberctl catalog inspect signatures/coredns-servfail-conntrack-full \ --source oci://ghcr.io/faberops/catalog:v2How it works
Sources
kubernetes, loki, prometheus
What it matches
Must match
- [ERROR] plugin/errors: 2 api.payments.svc.cluster.local. A: i/o timeout
- kernel: nf_conntrack: table full, dropping packet
- lookup payments.svc.cluster.local on 10.96.0.10:53: read udp 10.244.1.9:43210->10.96.0.10:53: i/o timeout
Must not match
- CoreDNS-1.11.3 started cleanly on port 53
- coredns cache hit ratio 94.2% with p99 latency 1.4ms
Signature source
signature.yamlFailureSignature26 lines
apiVersion: catalog.faberops.dev/v2
kind: FailureSignature
metadata:
name: coredns-servfail-conntrack-full
spec:
description: Matches CoreDNS upstream SERVFAIL and i/o timeout bursts alongside kernel nf_conntrack table full packet drops
on Kubernetes nodes.
sources:
- kubernetes
- loki
- prometheus
logPatterns:
- '\[ERROR\] plugin/errors: .* (SERVFAIL|i/o timeout)'
- 'nf_conntrack: table full, dropping packet'
- 'coredns.*HINFO|lookup .* on 10\.\d+\.\d+\.\d+:53: read udp.*i/o timeout'
samples:
match:
- '[ERROR] plugin/errors: 2 api.payments.svc.cluster.local. A: i/o timeout'
- 'kernel: nf_conntrack: table full, dropping packet'
- 'lookup payments.svc.cluster.local on 10.96.0.10:53: read udp 10.244.1.9:43210->10.96.0.10:53: i/o timeout'
noMatch:
- CoreDNS-1.11.3 started cleanly on port 53
- coredns cache hit ratio 94.2% with p99 latency 1.4ms
queries:
loki: '{k8s_app="kube-dns"} |= "SERVFAIL" or |= "i/o timeout"'
promql: sum(rate(coredns_dns_responses_total{rcode="SERVFAIL"}[5m])) > 5
pack.yamlcatalog metadata11 lines
# Catalog metadata for signatures/coredns-servfail-conntrack-full. Not applied to the cluster.
apiVersion: catalog.faberops.dev/v2
kind: CatalogPack
metadata:
name: coredns-servfail-conntrack-full
category: signatures
version: 2.0.0
spec:
tier: verified
minFaberVersion: v2.0.0
digest: sha256:a67cb372175970899db4b483b1a2e00d79d3185824f4452820c032cd2ab2698c
Signatures are catalog data. A Playbook references one by name in a connector trigger. It is never applied on its own.
Related packs
All 176 packsCoreDNS Cache, Loop Guard and Autoscaling Latency Fixer
playbooks/coredns-dns-latency-fixerAudits CoreDNS Corefile ConfigMaps and HPA manifests for missing negative caching, missing max_concurrent caps, and single-replica DNS bottlenecks, opening small HITL pull requests.Default HITLCeiling HITLAlibaba Cloud ACK Terway ENI and vSwitch IP Exhaustion
signatures/alibaba-ack-terway-eni-exhaustedMatches Alibaba Cloud ACK Terway ENI IP allocation failures, vSwitch InsufficientIPCount errors, and trunk ENI attachment quota errors.Log patterns 3Sources 3AWS EKS VPC CNI IP and ENI Starvation
signatures/aws-eks-vpc-cni-ip-starvationMatches AWS VPC CNI aws-node ipamd ENI attachment failures, subnet InsufficientFreeAddressesInSubnet errors, and pod sandbox IP assignment timeouts on Amazon EKS.Log patterns 4Sources 3