Faberby FaberOps

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:v2

How 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.