Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,11 @@ You can configure the permitted Pod disruptions for Kafka nodes as described in
Unless you configure something else or disable the default PodDisruptionBudgets (PDBs), the operator writes the following PDBs:

== Brokers
Allow only a single Broker to be offline at any given time, regardless of the number of replicas or `roleGroups`.

Only a single Broker is allowed to be offline at any given time, regardless of the number of replicas or roleGroups.
This is because we can not make any assumptions about topic replication factors.

== KRaft controllers

Only a single Controller is allowed to be offline at any given time, regardless of the number of replicas or roleGroups.
This is because they build a quorum for metadata.
4 changes: 3 additions & 1 deletion rust/operator-binary/src/controller/build/resource/pdb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ fn max_unavailable_brokers() -> u16 {
}

fn max_unavailable_controllers() -> u16 {
// TODO: what do we want here?
// Controllers build a quorum for metadata stuff, so fall below the "Multiple replicas to
// increase availability" category. We basically treat them in the same way we treat ZooKeeper
// nodes.
1
}
Loading