Skip to content

Commit

Permalink
feat: [sc-117738] detect "plugin/forward: no nameservers found" from …
Browse files Browse the repository at this point in the history
…support bundles (#1664)

* add CoreDNS nameserver check analyzer

* Update cluster-support-bundle.yaml

---------

Co-authored-by: ada mancini <[email protected]>
  • Loading branch information
nvanthao and adamancini authored Dec 23, 2024
1 parent 2c21588 commit 6ad5da9
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,3 +150,15 @@ spec:
- pass:
when: "false"
message: "OpenEBS Local Provisioner is provisioning PVs"
- textAnalyze:
checkName: "CoreDNS nameserver configuration"
regex: "no nameservers found"
ignoreIfNoFiles: true
fileName: podlogs/coredns/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 6ad5da9

Please sign in to comment.