Skip to content

Commit c32fac0

Browse files
committed
pkg/cli/admin/inspect/namespace: Gather PDBs too
Pod disruption budgets are important enough to be included in Insights tarballs [1], and they aren't all that big, so we should pick them up as a standard part of interesting namespaces too. This will help with things like auditing issues where we failed to drain (PDB too strict) or disrupted a core workload (PDB too weak or missing). [1]: openshift/insights-operator#185
1 parent 869d1a1 commit c32fac0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/cli/admin/inspect/namespace.go

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ func namespaceResourcesToCollect() []schema.GroupResource {
2525
{Resource: "endpoints"},
2626
{Resource: "endpointslices"},
2727
{Resource: "persistentvolumeclaims"},
28+
{Resource: "poddisruptionbudgets"},
2829
{Resource: "secrets"},
2930
}
3031
}

0 commit comments

Comments
 (0)