Class PodDisruptionBudgetSpecArgs
PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Kubernetes.Types.Inputs.Policy.V1Beta1
Assembly: Pulumi.Kubernetes.dll
Syntax
public class PodDisruptionBudgetSpecArgs : ResourceArgs
Properties
View SourceMaxUnavailable
An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable".
Declaration
public InputUnion<int, string> MaxUnavailable { get; set; }
Property Value
| Type | Description |
|---|---|
| InputUnion<System.Int32, System.String> |
MinAvailable
An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%".
Declaration
public InputUnion<int, string> MinAvailable { get; set; }
Property Value
| Type | Description |
|---|---|
| InputUnion<System.Int32, System.String> |
Selector
Label query over pods whose evictions are managed by the disruption budget.
Declaration
public Input<LabelSelectorArgs> Selector { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<LabelSelectorArgs> |