-
Notifications
You must be signed in to change notification settings - Fork 399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pkg/cli/admin/inspect/namespace: Gather PDBs too #750
Conversation
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
Success (in the part relative to this change): $ curl -s https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/origin-ci-test/pr-logs/pull/openshift_oc/750/pull-ci-openshift-oc-master-e2e-aws/1365031549019361280/artifacts/e2e-aws/gather-must-gather/artifacts/must-gather.tar | tar xOz ./registry-build02-ci-openshift-org-ci-op-9s0tkctb-stable-sha256-6d3b3b27072a08a0c6606155d61e771a64caec6b5ee1a4cae6a9d843fdc19d20/namespaces/openshift-etcd/policy/poddisruptionbudgets.yaml
---
apiVersion: policy/v1beta1
items:
- apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
creationTimestamp: "2021-02-25T20:47:48Z"
... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
/retest
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: soltysh, wking The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest Please review the full test history for this PR and help us cut down flakes. |
3 similar comments
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
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). Similar to openshift/oc@c32fac0143 (pkg/cli/admin/inspect/namespace: Gather PDBs too, 2021-03-03, openshift/oc#750). [1]: openshift/insights-operator#185
Pod disruption budgets are important enough to be included in Insights tarballs (openshift/insights-operator#185), 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).