Skip to content

Commit

Permalink
Merge pull request #110 from replicatedhq/gerard/sc-117738/coredns-na…
Browse files Browse the repository at this point in the history
…meserver-check

feat: [sc-117738] detect "plugin/forward: no nameservers found" from support bundles
  • Loading branch information
nvanthao authored Dec 30, 2024
2 parents 72e86fe + 5b98cc7 commit fd6fa2b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions in-cluster/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -496,3 +496,15 @@ spec:
- pass:
when: "false"
message: No OOMKilling event detected
- textAnalyze:
checkName: "CoreDNS nameserver configuration"
regex: "no nameservers found"
ignoreIfNoFiles: true
fileName: cluster-resources/pods/logs/kube-system/coredns-*/coredns.log
outcomes:
- fail:
when: "true"
message: "CoreDNS reported missing nameserver configuration. Ensure /etc/resolv.conf has at least 1 'nameserver' configured"
- pass:
when: "false"
message: "CoreDNS found valid nameserver configuration"

0 comments on commit fd6fa2b

Please sign in to comment.