pub struct AirflowClusterDagProcessorsRoleConfigPodDisruptionBudget {
pub enabled: Option<bool>,
pub max_unavailable: Option<u16>,
}Expand description
This struct is used to configure:
- If PodDisruptionBudgets are created by the operator
- The allowed number of Pods to be unavailable (
maxUnavailable)
Learn more in the [allowed Pod disruptions documentation](https://docs.stackable.tech/home/nightly/concepts/operations/pod_disruptions).
Fields§
§enabled: Option<bool>Whether a PodDisruptionBudget should be written out for this role. Disabling this enables you to specify your own - custom - one. Defaults to true.
The number of Pods that are allowed to be down because of voluntary disruptions. If you don’t explicitly set this, the operator will use a sane default based upon knowledge about the individual product.
Trait Implementations§
Source§impl Clone for AirflowClusterDagProcessorsRoleConfigPodDisruptionBudget
impl Clone for AirflowClusterDagProcessorsRoleConfigPodDisruptionBudget
Source§fn clone(&self) -> AirflowClusterDagProcessorsRoleConfigPodDisruptionBudget
fn clone(&self) -> AirflowClusterDagProcessorsRoleConfigPodDisruptionBudget
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for AirflowClusterDagProcessorsRoleConfigPodDisruptionBudget
impl Default for AirflowClusterDagProcessorsRoleConfigPodDisruptionBudget
Source§fn default() -> AirflowClusterDagProcessorsRoleConfigPodDisruptionBudget
fn default() -> AirflowClusterDagProcessorsRoleConfigPodDisruptionBudget
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AirflowClusterDagProcessorsRoleConfigPodDisruptionBudget
impl<'de> Deserialize<'de> for AirflowClusterDagProcessorsRoleConfigPodDisruptionBudget
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for AirflowClusterDagProcessorsRoleConfigPodDisruptionBudget
Auto Trait Implementations§
impl Freeze for AirflowClusterDagProcessorsRoleConfigPodDisruptionBudget
impl RefUnwindSafe for AirflowClusterDagProcessorsRoleConfigPodDisruptionBudget
impl Send for AirflowClusterDagProcessorsRoleConfigPodDisruptionBudget
impl Sync for AirflowClusterDagProcessorsRoleConfigPodDisruptionBudget
impl Unpin for AirflowClusterDagProcessorsRoleConfigPodDisruptionBudget
impl UnsafeUnpin for AirflowClusterDagProcessorsRoleConfigPodDisruptionBudget
impl UnwindSafe for AirflowClusterDagProcessorsRoleConfigPodDisruptionBudget
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more