scylladb / scylla-operator

The Kubernetes Operator for ScyllaDB
https://operator.docs.scylladb.com/
Apache License 2.0
339 stars 175 forks source link

Don't account our Jobs into PodDisruptionBudget #2147

Closed zimnx closed 1 month ago

zimnx commented 1 month ago

Description of your changes:

Jobs managed by Operator shouldn't be accounted into PodDisruptionBudget. This changes PDB selector to ignore any Job Pods matching our selector.

Which issue is resolved by this Pull Request: Resolves #2146

scylla-operator-bot[bot] commented 1 month ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rzetelskik, tnozicka, zimnx

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: - ~~[OWNERS](https://github.com/scylladb/scylla-operator/blob/master/OWNERS)~~ [tnozicka,zimnx] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment