Documentation ¶
Index ¶
- type Eviction
- type EvictionArgs
- type EvictionInput
- type EvictionOutput
- func (o EvictionOutput) ApiVersion() pulumi.StringPtrOutput
- func (o EvictionOutput) DeleteOptions() metav1.DeleteOptionsPtrOutput
- func (EvictionOutput) ElementType() reflect.Type
- func (o EvictionOutput) Kind() pulumi.StringPtrOutput
- func (o EvictionOutput) Metadata() metav1.ObjectMetaPtrOutput
- func (o EvictionOutput) ToEvictionOutput() EvictionOutput
- func (o EvictionOutput) ToEvictionOutputWithContext(ctx context.Context) EvictionOutput
- type EvictionPatch
- type EvictionPatchArgs
- type EvictionPatchInput
- type EvictionPatchOutput
- func (o EvictionPatchOutput) ApiVersion() pulumi.StringPtrOutput
- func (o EvictionPatchOutput) DeleteOptions() metav1.DeleteOptionsPatchPtrOutput
- func (EvictionPatchOutput) ElementType() reflect.Type
- func (o EvictionPatchOutput) Kind() pulumi.StringPtrOutput
- func (o EvictionPatchOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
- func (o EvictionPatchOutput) ToEvictionPatchOutput() EvictionPatchOutput
- func (o EvictionPatchOutput) ToEvictionPatchOutputWithContext(ctx context.Context) EvictionPatchOutput
- type PodDisruptionBudget
- type PodDisruptionBudgetArgs
- type PodDisruptionBudgetArray
- type PodDisruptionBudgetArrayInput
- type PodDisruptionBudgetArrayOutput
- func (PodDisruptionBudgetArrayOutput) ElementType() reflect.Type
- func (o PodDisruptionBudgetArrayOutput) Index(i pulumi.IntInput) PodDisruptionBudgetOutput
- func (o PodDisruptionBudgetArrayOutput) ToPodDisruptionBudgetArrayOutput() PodDisruptionBudgetArrayOutput
- func (o PodDisruptionBudgetArrayOutput) ToPodDisruptionBudgetArrayOutputWithContext(ctx context.Context) PodDisruptionBudgetArrayOutput
- type PodDisruptionBudgetInput
- type PodDisruptionBudgetList
- type PodDisruptionBudgetListArgs
- type PodDisruptionBudgetListArray
- func (PodDisruptionBudgetListArray) ElementType() reflect.Type
- func (i PodDisruptionBudgetListArray) ToPodDisruptionBudgetListArrayOutput() PodDisruptionBudgetListArrayOutput
- func (i PodDisruptionBudgetListArray) ToPodDisruptionBudgetListArrayOutputWithContext(ctx context.Context) PodDisruptionBudgetListArrayOutput
- type PodDisruptionBudgetListArrayInput
- type PodDisruptionBudgetListArrayOutput
- func (PodDisruptionBudgetListArrayOutput) ElementType() reflect.Type
- func (o PodDisruptionBudgetListArrayOutput) Index(i pulumi.IntInput) PodDisruptionBudgetListOutput
- func (o PodDisruptionBudgetListArrayOutput) ToPodDisruptionBudgetListArrayOutput() PodDisruptionBudgetListArrayOutput
- func (o PodDisruptionBudgetListArrayOutput) ToPodDisruptionBudgetListArrayOutputWithContext(ctx context.Context) PodDisruptionBudgetListArrayOutput
- type PodDisruptionBudgetListInput
- type PodDisruptionBudgetListMap
- func (PodDisruptionBudgetListMap) ElementType() reflect.Type
- func (i PodDisruptionBudgetListMap) ToPodDisruptionBudgetListMapOutput() PodDisruptionBudgetListMapOutput
- func (i PodDisruptionBudgetListMap) ToPodDisruptionBudgetListMapOutputWithContext(ctx context.Context) PodDisruptionBudgetListMapOutput
- type PodDisruptionBudgetListMapInput
- type PodDisruptionBudgetListMapOutput
- func (PodDisruptionBudgetListMapOutput) ElementType() reflect.Type
- func (o PodDisruptionBudgetListMapOutput) MapIndex(k pulumi.StringInput) PodDisruptionBudgetListOutput
- func (o PodDisruptionBudgetListMapOutput) ToPodDisruptionBudgetListMapOutput() PodDisruptionBudgetListMapOutput
- func (o PodDisruptionBudgetListMapOutput) ToPodDisruptionBudgetListMapOutputWithContext(ctx context.Context) PodDisruptionBudgetListMapOutput
- type PodDisruptionBudgetListOutput
- func (o PodDisruptionBudgetListOutput) ApiVersion() pulumi.StringOutput
- func (PodDisruptionBudgetListOutput) ElementType() reflect.Type
- func (o PodDisruptionBudgetListOutput) Items() PodDisruptionBudgetTypeArrayOutput
- func (o PodDisruptionBudgetListOutput) Kind() pulumi.StringOutput
- func (o PodDisruptionBudgetListOutput) Metadata() metav1.ListMetaOutput
- func (o PodDisruptionBudgetListOutput) ToPodDisruptionBudgetListOutput() PodDisruptionBudgetListOutput
- func (o PodDisruptionBudgetListOutput) ToPodDisruptionBudgetListOutputWithContext(ctx context.Context) PodDisruptionBudgetListOutput
- type PodDisruptionBudgetListState
- type PodDisruptionBudgetListType
- type PodDisruptionBudgetListTypeArgs
- func (PodDisruptionBudgetListTypeArgs) ElementType() reflect.Type
- func (i PodDisruptionBudgetListTypeArgs) ToPodDisruptionBudgetListTypeOutput() PodDisruptionBudgetListTypeOutput
- func (i PodDisruptionBudgetListTypeArgs) ToPodDisruptionBudgetListTypeOutputWithContext(ctx context.Context) PodDisruptionBudgetListTypeOutput
- type PodDisruptionBudgetListTypeInput
- type PodDisruptionBudgetListTypeOutput
- func (o PodDisruptionBudgetListTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (PodDisruptionBudgetListTypeOutput) ElementType() reflect.Type
- func (o PodDisruptionBudgetListTypeOutput) Items() PodDisruptionBudgetTypeArrayOutput
- func (o PodDisruptionBudgetListTypeOutput) Kind() pulumi.StringPtrOutput
- func (o PodDisruptionBudgetListTypeOutput) Metadata() metav1.ListMetaPtrOutput
- func (o PodDisruptionBudgetListTypeOutput) ToPodDisruptionBudgetListTypeOutput() PodDisruptionBudgetListTypeOutput
- func (o PodDisruptionBudgetListTypeOutput) ToPodDisruptionBudgetListTypeOutputWithContext(ctx context.Context) PodDisruptionBudgetListTypeOutput
- type PodDisruptionBudgetMap
- type PodDisruptionBudgetMapInput
- type PodDisruptionBudgetMapOutput
- func (PodDisruptionBudgetMapOutput) ElementType() reflect.Type
- func (o PodDisruptionBudgetMapOutput) MapIndex(k pulumi.StringInput) PodDisruptionBudgetOutput
- func (o PodDisruptionBudgetMapOutput) ToPodDisruptionBudgetMapOutput() PodDisruptionBudgetMapOutput
- func (o PodDisruptionBudgetMapOutput) ToPodDisruptionBudgetMapOutputWithContext(ctx context.Context) PodDisruptionBudgetMapOutput
- type PodDisruptionBudgetOutput
- func (o PodDisruptionBudgetOutput) ApiVersion() pulumi.StringOutput
- func (PodDisruptionBudgetOutput) ElementType() reflect.Type
- func (o PodDisruptionBudgetOutput) Kind() pulumi.StringOutput
- func (o PodDisruptionBudgetOutput) Metadata() metav1.ObjectMetaOutput
- func (o PodDisruptionBudgetOutput) Spec() PodDisruptionBudgetSpecOutput
- func (o PodDisruptionBudgetOutput) Status() PodDisruptionBudgetStatusPtrOutput
- func (o PodDisruptionBudgetOutput) ToPodDisruptionBudgetOutput() PodDisruptionBudgetOutput
- func (o PodDisruptionBudgetOutput) ToPodDisruptionBudgetOutputWithContext(ctx context.Context) PodDisruptionBudgetOutput
- type PodDisruptionBudgetPatch
- type PodDisruptionBudgetPatchArgs
- type PodDisruptionBudgetPatchArray
- func (PodDisruptionBudgetPatchArray) ElementType() reflect.Type
- func (i PodDisruptionBudgetPatchArray) ToPodDisruptionBudgetPatchArrayOutput() PodDisruptionBudgetPatchArrayOutput
- func (i PodDisruptionBudgetPatchArray) ToPodDisruptionBudgetPatchArrayOutputWithContext(ctx context.Context) PodDisruptionBudgetPatchArrayOutput
- type PodDisruptionBudgetPatchArrayInput
- type PodDisruptionBudgetPatchArrayOutput
- func (PodDisruptionBudgetPatchArrayOutput) ElementType() reflect.Type
- func (o PodDisruptionBudgetPatchArrayOutput) Index(i pulumi.IntInput) PodDisruptionBudgetPatchOutput
- func (o PodDisruptionBudgetPatchArrayOutput) ToPodDisruptionBudgetPatchArrayOutput() PodDisruptionBudgetPatchArrayOutput
- func (o PodDisruptionBudgetPatchArrayOutput) ToPodDisruptionBudgetPatchArrayOutputWithContext(ctx context.Context) PodDisruptionBudgetPatchArrayOutput
- type PodDisruptionBudgetPatchInput
- type PodDisruptionBudgetPatchMap
- func (PodDisruptionBudgetPatchMap) ElementType() reflect.Type
- func (i PodDisruptionBudgetPatchMap) ToPodDisruptionBudgetPatchMapOutput() PodDisruptionBudgetPatchMapOutput
- func (i PodDisruptionBudgetPatchMap) ToPodDisruptionBudgetPatchMapOutputWithContext(ctx context.Context) PodDisruptionBudgetPatchMapOutput
- type PodDisruptionBudgetPatchMapInput
- type PodDisruptionBudgetPatchMapOutput
- func (PodDisruptionBudgetPatchMapOutput) ElementType() reflect.Type
- func (o PodDisruptionBudgetPatchMapOutput) MapIndex(k pulumi.StringInput) PodDisruptionBudgetPatchOutput
- func (o PodDisruptionBudgetPatchMapOutput) ToPodDisruptionBudgetPatchMapOutput() PodDisruptionBudgetPatchMapOutput
- func (o PodDisruptionBudgetPatchMapOutput) ToPodDisruptionBudgetPatchMapOutputWithContext(ctx context.Context) PodDisruptionBudgetPatchMapOutput
- type PodDisruptionBudgetPatchOutput
- func (o PodDisruptionBudgetPatchOutput) ApiVersion() pulumi.StringPtrOutput
- func (PodDisruptionBudgetPatchOutput) ElementType() reflect.Type
- func (o PodDisruptionBudgetPatchOutput) Kind() pulumi.StringPtrOutput
- func (o PodDisruptionBudgetPatchOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
- func (o PodDisruptionBudgetPatchOutput) Spec() PodDisruptionBudgetSpecPatchPtrOutput
- func (o PodDisruptionBudgetPatchOutput) Status() PodDisruptionBudgetStatusPatchPtrOutput
- func (o PodDisruptionBudgetPatchOutput) ToPodDisruptionBudgetPatchOutput() PodDisruptionBudgetPatchOutput
- func (o PodDisruptionBudgetPatchOutput) ToPodDisruptionBudgetPatchOutputWithContext(ctx context.Context) PodDisruptionBudgetPatchOutput
- type PodDisruptionBudgetPatchState
- type PodDisruptionBudgetPatchType
- type PodDisruptionBudgetPatchTypeArgs
- func (PodDisruptionBudgetPatchTypeArgs) ElementType() reflect.Type
- func (i PodDisruptionBudgetPatchTypeArgs) ToPodDisruptionBudgetPatchTypeOutput() PodDisruptionBudgetPatchTypeOutput
- func (i PodDisruptionBudgetPatchTypeArgs) ToPodDisruptionBudgetPatchTypeOutputWithContext(ctx context.Context) PodDisruptionBudgetPatchTypeOutput
- type PodDisruptionBudgetPatchTypeInput
- type PodDisruptionBudgetPatchTypeOutput
- func (o PodDisruptionBudgetPatchTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (PodDisruptionBudgetPatchTypeOutput) ElementType() reflect.Type
- func (o PodDisruptionBudgetPatchTypeOutput) Kind() pulumi.StringPtrOutput
- func (o PodDisruptionBudgetPatchTypeOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
- func (o PodDisruptionBudgetPatchTypeOutput) Spec() PodDisruptionBudgetSpecPatchPtrOutput
- func (o PodDisruptionBudgetPatchTypeOutput) Status() PodDisruptionBudgetStatusPatchPtrOutput
- func (o PodDisruptionBudgetPatchTypeOutput) ToPodDisruptionBudgetPatchTypeOutput() PodDisruptionBudgetPatchTypeOutput
- func (o PodDisruptionBudgetPatchTypeOutput) ToPodDisruptionBudgetPatchTypeOutputWithContext(ctx context.Context) PodDisruptionBudgetPatchTypeOutput
- type PodDisruptionBudgetSpec
- type PodDisruptionBudgetSpecArgs
- func (PodDisruptionBudgetSpecArgs) ElementType() reflect.Type
- func (i PodDisruptionBudgetSpecArgs) ToPodDisruptionBudgetSpecOutput() PodDisruptionBudgetSpecOutput
- func (i PodDisruptionBudgetSpecArgs) ToPodDisruptionBudgetSpecOutputWithContext(ctx context.Context) PodDisruptionBudgetSpecOutput
- func (i PodDisruptionBudgetSpecArgs) ToPodDisruptionBudgetSpecPtrOutput() PodDisruptionBudgetSpecPtrOutput
- func (i PodDisruptionBudgetSpecArgs) ToPodDisruptionBudgetSpecPtrOutputWithContext(ctx context.Context) PodDisruptionBudgetSpecPtrOutput
- type PodDisruptionBudgetSpecInput
- type PodDisruptionBudgetSpecOutput
- func (PodDisruptionBudgetSpecOutput) ElementType() reflect.Type
- func (o PodDisruptionBudgetSpecOutput) MaxUnavailable() pulumi.AnyOutput
- func (o PodDisruptionBudgetSpecOutput) MinAvailable() pulumi.AnyOutput
- func (o PodDisruptionBudgetSpecOutput) Selector() metav1.LabelSelectorPtrOutput
- func (o PodDisruptionBudgetSpecOutput) ToPodDisruptionBudgetSpecOutput() PodDisruptionBudgetSpecOutput
- func (o PodDisruptionBudgetSpecOutput) ToPodDisruptionBudgetSpecOutputWithContext(ctx context.Context) PodDisruptionBudgetSpecOutput
- func (o PodDisruptionBudgetSpecOutput) ToPodDisruptionBudgetSpecPtrOutput() PodDisruptionBudgetSpecPtrOutput
- func (o PodDisruptionBudgetSpecOutput) ToPodDisruptionBudgetSpecPtrOutputWithContext(ctx context.Context) PodDisruptionBudgetSpecPtrOutput
- func (o PodDisruptionBudgetSpecOutput) UnhealthyPodEvictionPolicy() pulumi.StringPtrOutput
- type PodDisruptionBudgetSpecPatch
- type PodDisruptionBudgetSpecPatchArgs
- func (PodDisruptionBudgetSpecPatchArgs) ElementType() reflect.Type
- func (i PodDisruptionBudgetSpecPatchArgs) ToPodDisruptionBudgetSpecPatchOutput() PodDisruptionBudgetSpecPatchOutput
- func (i PodDisruptionBudgetSpecPatchArgs) ToPodDisruptionBudgetSpecPatchOutputWithContext(ctx context.Context) PodDisruptionBudgetSpecPatchOutput
- func (i PodDisruptionBudgetSpecPatchArgs) ToPodDisruptionBudgetSpecPatchPtrOutput() PodDisruptionBudgetSpecPatchPtrOutput
- func (i PodDisruptionBudgetSpecPatchArgs) ToPodDisruptionBudgetSpecPatchPtrOutputWithContext(ctx context.Context) PodDisruptionBudgetSpecPatchPtrOutput
- type PodDisruptionBudgetSpecPatchInput
- type PodDisruptionBudgetSpecPatchOutput
- func (PodDisruptionBudgetSpecPatchOutput) ElementType() reflect.Type
- func (o PodDisruptionBudgetSpecPatchOutput) MaxUnavailable() pulumi.AnyOutput
- func (o PodDisruptionBudgetSpecPatchOutput) MinAvailable() pulumi.AnyOutput
- func (o PodDisruptionBudgetSpecPatchOutput) Selector() metav1.LabelSelectorPatchPtrOutput
- func (o PodDisruptionBudgetSpecPatchOutput) ToPodDisruptionBudgetSpecPatchOutput() PodDisruptionBudgetSpecPatchOutput
- func (o PodDisruptionBudgetSpecPatchOutput) ToPodDisruptionBudgetSpecPatchOutputWithContext(ctx context.Context) PodDisruptionBudgetSpecPatchOutput
- func (o PodDisruptionBudgetSpecPatchOutput) ToPodDisruptionBudgetSpecPatchPtrOutput() PodDisruptionBudgetSpecPatchPtrOutput
- func (o PodDisruptionBudgetSpecPatchOutput) ToPodDisruptionBudgetSpecPatchPtrOutputWithContext(ctx context.Context) PodDisruptionBudgetSpecPatchPtrOutput
- func (o PodDisruptionBudgetSpecPatchOutput) UnhealthyPodEvictionPolicy() pulumi.StringPtrOutput
- type PodDisruptionBudgetSpecPatchPtrInput
- type PodDisruptionBudgetSpecPatchPtrOutput
- func (o PodDisruptionBudgetSpecPatchPtrOutput) Elem() PodDisruptionBudgetSpecPatchOutput
- func (PodDisruptionBudgetSpecPatchPtrOutput) ElementType() reflect.Type
- func (o PodDisruptionBudgetSpecPatchPtrOutput) MaxUnavailable() pulumi.AnyOutput
- func (o PodDisruptionBudgetSpecPatchPtrOutput) MinAvailable() pulumi.AnyOutput
- func (o PodDisruptionBudgetSpecPatchPtrOutput) Selector() metav1.LabelSelectorPatchPtrOutput
- func (o PodDisruptionBudgetSpecPatchPtrOutput) ToPodDisruptionBudgetSpecPatchPtrOutput() PodDisruptionBudgetSpecPatchPtrOutput
- func (o PodDisruptionBudgetSpecPatchPtrOutput) ToPodDisruptionBudgetSpecPatchPtrOutputWithContext(ctx context.Context) PodDisruptionBudgetSpecPatchPtrOutput
- func (o PodDisruptionBudgetSpecPatchPtrOutput) UnhealthyPodEvictionPolicy() pulumi.StringPtrOutput
- type PodDisruptionBudgetSpecPtrInput
- type PodDisruptionBudgetSpecPtrOutput
- func (o PodDisruptionBudgetSpecPtrOutput) Elem() PodDisruptionBudgetSpecOutput
- func (PodDisruptionBudgetSpecPtrOutput) ElementType() reflect.Type
- func (o PodDisruptionBudgetSpecPtrOutput) MaxUnavailable() pulumi.AnyOutput
- func (o PodDisruptionBudgetSpecPtrOutput) MinAvailable() pulumi.AnyOutput
- func (o PodDisruptionBudgetSpecPtrOutput) Selector() metav1.LabelSelectorPtrOutput
- func (o PodDisruptionBudgetSpecPtrOutput) ToPodDisruptionBudgetSpecPtrOutput() PodDisruptionBudgetSpecPtrOutput
- func (o PodDisruptionBudgetSpecPtrOutput) ToPodDisruptionBudgetSpecPtrOutputWithContext(ctx context.Context) PodDisruptionBudgetSpecPtrOutput
- func (o PodDisruptionBudgetSpecPtrOutput) UnhealthyPodEvictionPolicy() pulumi.StringPtrOutput
- type PodDisruptionBudgetState
- type PodDisruptionBudgetStatus
- type PodDisruptionBudgetStatusArgs
- func (PodDisruptionBudgetStatusArgs) ElementType() reflect.Type
- func (i PodDisruptionBudgetStatusArgs) ToPodDisruptionBudgetStatusOutput() PodDisruptionBudgetStatusOutput
- func (i PodDisruptionBudgetStatusArgs) ToPodDisruptionBudgetStatusOutputWithContext(ctx context.Context) PodDisruptionBudgetStatusOutput
- func (i PodDisruptionBudgetStatusArgs) ToPodDisruptionBudgetStatusPtrOutput() PodDisruptionBudgetStatusPtrOutput
- func (i PodDisruptionBudgetStatusArgs) ToPodDisruptionBudgetStatusPtrOutputWithContext(ctx context.Context) PodDisruptionBudgetStatusPtrOutput
- type PodDisruptionBudgetStatusInput
- type PodDisruptionBudgetStatusOutput
- func (o PodDisruptionBudgetStatusOutput) Conditions() metav1.ConditionArrayOutput
- func (o PodDisruptionBudgetStatusOutput) CurrentHealthy() pulumi.IntOutput
- func (o PodDisruptionBudgetStatusOutput) DesiredHealthy() pulumi.IntOutput
- func (o PodDisruptionBudgetStatusOutput) DisruptedPods() pulumi.StringMapOutput
- func (o PodDisruptionBudgetStatusOutput) DisruptionsAllowed() pulumi.IntOutput
- func (PodDisruptionBudgetStatusOutput) ElementType() reflect.Type
- func (o PodDisruptionBudgetStatusOutput) ExpectedPods() pulumi.IntOutput
- func (o PodDisruptionBudgetStatusOutput) ObservedGeneration() pulumi.IntPtrOutput
- func (o PodDisruptionBudgetStatusOutput) ToPodDisruptionBudgetStatusOutput() PodDisruptionBudgetStatusOutput
- func (o PodDisruptionBudgetStatusOutput) ToPodDisruptionBudgetStatusOutputWithContext(ctx context.Context) PodDisruptionBudgetStatusOutput
- func (o PodDisruptionBudgetStatusOutput) ToPodDisruptionBudgetStatusPtrOutput() PodDisruptionBudgetStatusPtrOutput
- func (o PodDisruptionBudgetStatusOutput) ToPodDisruptionBudgetStatusPtrOutputWithContext(ctx context.Context) PodDisruptionBudgetStatusPtrOutput
- type PodDisruptionBudgetStatusPatch
- type PodDisruptionBudgetStatusPatchArgs
- func (PodDisruptionBudgetStatusPatchArgs) ElementType() reflect.Type
- func (i PodDisruptionBudgetStatusPatchArgs) ToPodDisruptionBudgetStatusPatchOutput() PodDisruptionBudgetStatusPatchOutput
- func (i PodDisruptionBudgetStatusPatchArgs) ToPodDisruptionBudgetStatusPatchOutputWithContext(ctx context.Context) PodDisruptionBudgetStatusPatchOutput
- func (i PodDisruptionBudgetStatusPatchArgs) ToPodDisruptionBudgetStatusPatchPtrOutput() PodDisruptionBudgetStatusPatchPtrOutput
- func (i PodDisruptionBudgetStatusPatchArgs) ToPodDisruptionBudgetStatusPatchPtrOutputWithContext(ctx context.Context) PodDisruptionBudgetStatusPatchPtrOutput
- type PodDisruptionBudgetStatusPatchInput
- type PodDisruptionBudgetStatusPatchOutput
- func (o PodDisruptionBudgetStatusPatchOutput) Conditions() metav1.ConditionPatchArrayOutput
- func (o PodDisruptionBudgetStatusPatchOutput) CurrentHealthy() pulumi.IntPtrOutput
- func (o PodDisruptionBudgetStatusPatchOutput) DesiredHealthy() pulumi.IntPtrOutput
- func (o PodDisruptionBudgetStatusPatchOutput) DisruptedPods() pulumi.StringMapOutput
- func (o PodDisruptionBudgetStatusPatchOutput) DisruptionsAllowed() pulumi.IntPtrOutput
- func (PodDisruptionBudgetStatusPatchOutput) ElementType() reflect.Type
- func (o PodDisruptionBudgetStatusPatchOutput) ExpectedPods() pulumi.IntPtrOutput
- func (o PodDisruptionBudgetStatusPatchOutput) ObservedGeneration() pulumi.IntPtrOutput
- func (o PodDisruptionBudgetStatusPatchOutput) ToPodDisruptionBudgetStatusPatchOutput() PodDisruptionBudgetStatusPatchOutput
- func (o PodDisruptionBudgetStatusPatchOutput) ToPodDisruptionBudgetStatusPatchOutputWithContext(ctx context.Context) PodDisruptionBudgetStatusPatchOutput
- func (o PodDisruptionBudgetStatusPatchOutput) ToPodDisruptionBudgetStatusPatchPtrOutput() PodDisruptionBudgetStatusPatchPtrOutput
- func (o PodDisruptionBudgetStatusPatchOutput) ToPodDisruptionBudgetStatusPatchPtrOutputWithContext(ctx context.Context) PodDisruptionBudgetStatusPatchPtrOutput
- type PodDisruptionBudgetStatusPatchPtrInput
- type PodDisruptionBudgetStatusPatchPtrOutput
- func (o PodDisruptionBudgetStatusPatchPtrOutput) Conditions() metav1.ConditionPatchArrayOutput
- func (o PodDisruptionBudgetStatusPatchPtrOutput) CurrentHealthy() pulumi.IntPtrOutput
- func (o PodDisruptionBudgetStatusPatchPtrOutput) DesiredHealthy() pulumi.IntPtrOutput
- func (o PodDisruptionBudgetStatusPatchPtrOutput) DisruptedPods() pulumi.StringMapOutput
- func (o PodDisruptionBudgetStatusPatchPtrOutput) DisruptionsAllowed() pulumi.IntPtrOutput
- func (o PodDisruptionBudgetStatusPatchPtrOutput) Elem() PodDisruptionBudgetStatusPatchOutput
- func (PodDisruptionBudgetStatusPatchPtrOutput) ElementType() reflect.Type
- func (o PodDisruptionBudgetStatusPatchPtrOutput) ExpectedPods() pulumi.IntPtrOutput
- func (o PodDisruptionBudgetStatusPatchPtrOutput) ObservedGeneration() pulumi.IntPtrOutput
- func (o PodDisruptionBudgetStatusPatchPtrOutput) ToPodDisruptionBudgetStatusPatchPtrOutput() PodDisruptionBudgetStatusPatchPtrOutput
- func (o PodDisruptionBudgetStatusPatchPtrOutput) ToPodDisruptionBudgetStatusPatchPtrOutputWithContext(ctx context.Context) PodDisruptionBudgetStatusPatchPtrOutput
- type PodDisruptionBudgetStatusPtrInput
- type PodDisruptionBudgetStatusPtrOutput
- func (o PodDisruptionBudgetStatusPtrOutput) Conditions() metav1.ConditionArrayOutput
- func (o PodDisruptionBudgetStatusPtrOutput) CurrentHealthy() pulumi.IntPtrOutput
- func (o PodDisruptionBudgetStatusPtrOutput) DesiredHealthy() pulumi.IntPtrOutput
- func (o PodDisruptionBudgetStatusPtrOutput) DisruptedPods() pulumi.StringMapOutput
- func (o PodDisruptionBudgetStatusPtrOutput) DisruptionsAllowed() pulumi.IntPtrOutput
- func (o PodDisruptionBudgetStatusPtrOutput) Elem() PodDisruptionBudgetStatusOutput
- func (PodDisruptionBudgetStatusPtrOutput) ElementType() reflect.Type
- func (o PodDisruptionBudgetStatusPtrOutput) ExpectedPods() pulumi.IntPtrOutput
- func (o PodDisruptionBudgetStatusPtrOutput) ObservedGeneration() pulumi.IntPtrOutput
- func (o PodDisruptionBudgetStatusPtrOutput) ToPodDisruptionBudgetStatusPtrOutput() PodDisruptionBudgetStatusPtrOutput
- func (o PodDisruptionBudgetStatusPtrOutput) ToPodDisruptionBudgetStatusPtrOutputWithContext(ctx context.Context) PodDisruptionBudgetStatusPtrOutput
- type PodDisruptionBudgetType
- type PodDisruptionBudgetTypeArgs
- type PodDisruptionBudgetTypeArray
- func (PodDisruptionBudgetTypeArray) ElementType() reflect.Type
- func (i PodDisruptionBudgetTypeArray) ToPodDisruptionBudgetTypeArrayOutput() PodDisruptionBudgetTypeArrayOutput
- func (i PodDisruptionBudgetTypeArray) ToPodDisruptionBudgetTypeArrayOutputWithContext(ctx context.Context) PodDisruptionBudgetTypeArrayOutput
- type PodDisruptionBudgetTypeArrayInput
- type PodDisruptionBudgetTypeArrayOutput
- func (PodDisruptionBudgetTypeArrayOutput) ElementType() reflect.Type
- func (o PodDisruptionBudgetTypeArrayOutput) Index(i pulumi.IntInput) PodDisruptionBudgetTypeOutput
- func (o PodDisruptionBudgetTypeArrayOutput) ToPodDisruptionBudgetTypeArrayOutput() PodDisruptionBudgetTypeArrayOutput
- func (o PodDisruptionBudgetTypeArrayOutput) ToPodDisruptionBudgetTypeArrayOutputWithContext(ctx context.Context) PodDisruptionBudgetTypeArrayOutput
- type PodDisruptionBudgetTypeInput
- type PodDisruptionBudgetTypeOutput
- func (o PodDisruptionBudgetTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (PodDisruptionBudgetTypeOutput) ElementType() reflect.Type
- func (o PodDisruptionBudgetTypeOutput) Kind() pulumi.StringPtrOutput
- func (o PodDisruptionBudgetTypeOutput) Metadata() metav1.ObjectMetaPtrOutput
- func (o PodDisruptionBudgetTypeOutput) Spec() PodDisruptionBudgetSpecPtrOutput
- func (o PodDisruptionBudgetTypeOutput) Status() PodDisruptionBudgetStatusPtrOutput
- func (o PodDisruptionBudgetTypeOutput) ToPodDisruptionBudgetTypeOutput() PodDisruptionBudgetTypeOutput
- func (o PodDisruptionBudgetTypeOutput) ToPodDisruptionBudgetTypeOutputWithContext(ctx context.Context) PodDisruptionBudgetTypeOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Eviction ¶
type Eviction struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion *string `pulumi:"apiVersion"` // DeleteOptions may be provided DeleteOptions *metav1.DeleteOptions `pulumi:"deleteOptions"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind *string `pulumi:"kind"` // ObjectMeta describes the pod that is being evicted. Metadata *metav1.ObjectMeta `pulumi:"metadata"` }
Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods/<pod name>/evictions.
type EvictionArgs ¶
type EvictionArgs struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"` // DeleteOptions may be provided DeleteOptions metav1.DeleteOptionsPtrInput `pulumi:"deleteOptions"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrInput `pulumi:"kind"` // ObjectMeta describes the pod that is being evicted. Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"` }
Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods/<pod name>/evictions.
func (EvictionArgs) ElementType ¶
func (EvictionArgs) ElementType() reflect.Type
func (EvictionArgs) ToEvictionOutput ¶
func (i EvictionArgs) ToEvictionOutput() EvictionOutput
func (EvictionArgs) ToEvictionOutputWithContext ¶
func (i EvictionArgs) ToEvictionOutputWithContext(ctx context.Context) EvictionOutput
type EvictionInput ¶
type EvictionInput interface { pulumi.Input ToEvictionOutput() EvictionOutput ToEvictionOutputWithContext(context.Context) EvictionOutput }
EvictionInput is an input type that accepts EvictionArgs and EvictionOutput values. You can construct a concrete instance of `EvictionInput` via:
EvictionArgs{...}
type EvictionOutput ¶
type EvictionOutput struct{ *pulumi.OutputState }
Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods/<pod name>/evictions.
func (EvictionOutput) ApiVersion ¶
func (o EvictionOutput) ApiVersion() pulumi.StringPtrOutput
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (EvictionOutput) DeleteOptions ¶
func (o EvictionOutput) DeleteOptions() metav1.DeleteOptionsPtrOutput
DeleteOptions may be provided
func (EvictionOutput) ElementType ¶
func (EvictionOutput) ElementType() reflect.Type
func (EvictionOutput) Kind ¶
func (o EvictionOutput) Kind() pulumi.StringPtrOutput
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (EvictionOutput) Metadata ¶
func (o EvictionOutput) Metadata() metav1.ObjectMetaPtrOutput
ObjectMeta describes the pod that is being evicted.
func (EvictionOutput) ToEvictionOutput ¶
func (o EvictionOutput) ToEvictionOutput() EvictionOutput
func (EvictionOutput) ToEvictionOutputWithContext ¶
func (o EvictionOutput) ToEvictionOutputWithContext(ctx context.Context) EvictionOutput
type EvictionPatch ¶
type EvictionPatch struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion *string `pulumi:"apiVersion"` // DeleteOptions may be provided DeleteOptions *metav1.DeleteOptionsPatch `pulumi:"deleteOptions"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind *string `pulumi:"kind"` // ObjectMeta describes the pod that is being evicted. Metadata *metav1.ObjectMetaPatch `pulumi:"metadata"` }
Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods/<pod name>/evictions.
type EvictionPatchArgs ¶
type EvictionPatchArgs struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"` // DeleteOptions may be provided DeleteOptions metav1.DeleteOptionsPatchPtrInput `pulumi:"deleteOptions"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrInput `pulumi:"kind"` // ObjectMeta describes the pod that is being evicted. Metadata metav1.ObjectMetaPatchPtrInput `pulumi:"metadata"` }
Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods/<pod name>/evictions.
func (EvictionPatchArgs) ElementType ¶
func (EvictionPatchArgs) ElementType() reflect.Type
func (EvictionPatchArgs) ToEvictionPatchOutput ¶
func (i EvictionPatchArgs) ToEvictionPatchOutput() EvictionPatchOutput
func (EvictionPatchArgs) ToEvictionPatchOutputWithContext ¶
func (i EvictionPatchArgs) ToEvictionPatchOutputWithContext(ctx context.Context) EvictionPatchOutput
type EvictionPatchInput ¶
type EvictionPatchInput interface { pulumi.Input ToEvictionPatchOutput() EvictionPatchOutput ToEvictionPatchOutputWithContext(context.Context) EvictionPatchOutput }
EvictionPatchInput is an input type that accepts EvictionPatchArgs and EvictionPatchOutput values. You can construct a concrete instance of `EvictionPatchInput` via:
EvictionPatchArgs{...}
type EvictionPatchOutput ¶
type EvictionPatchOutput struct{ *pulumi.OutputState }
Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods/<pod name>/evictions.
func (EvictionPatchOutput) ApiVersion ¶
func (o EvictionPatchOutput) ApiVersion() pulumi.StringPtrOutput
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (EvictionPatchOutput) DeleteOptions ¶
func (o EvictionPatchOutput) DeleteOptions() metav1.DeleteOptionsPatchPtrOutput
DeleteOptions may be provided
func (EvictionPatchOutput) ElementType ¶
func (EvictionPatchOutput) ElementType() reflect.Type
func (EvictionPatchOutput) Kind ¶
func (o EvictionPatchOutput) Kind() pulumi.StringPtrOutput
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (EvictionPatchOutput) Metadata ¶
func (o EvictionPatchOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
ObjectMeta describes the pod that is being evicted.
func (EvictionPatchOutput) ToEvictionPatchOutput ¶
func (o EvictionPatchOutput) ToEvictionPatchOutput() EvictionPatchOutput
func (EvictionPatchOutput) ToEvictionPatchOutputWithContext ¶
func (o EvictionPatchOutput) ToEvictionPatchOutputWithContext(ctx context.Context) EvictionPatchOutput
type PodDisruptionBudget ¶
type PodDisruptionBudget struct { pulumi.CustomResourceState // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringOutput `pulumi:"apiVersion"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringOutput `pulumi:"kind"` // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ObjectMetaOutput `pulumi:"metadata"` // Specification of the desired behavior of the PodDisruptionBudget. Spec PodDisruptionBudgetSpecOutput `pulumi:"spec"` // Most recently observed status of the PodDisruptionBudget. Status PodDisruptionBudgetStatusPtrOutput `pulumi:"status"` }
PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods
func GetPodDisruptionBudget ¶
func GetPodDisruptionBudget(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PodDisruptionBudgetState, opts ...pulumi.ResourceOption) (*PodDisruptionBudget, error)
GetPodDisruptionBudget gets an existing PodDisruptionBudget resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewPodDisruptionBudget ¶
func NewPodDisruptionBudget(ctx *pulumi.Context, name string, args *PodDisruptionBudgetArgs, opts ...pulumi.ResourceOption) (*PodDisruptionBudget, error)
NewPodDisruptionBudget registers a new resource with the given unique name, arguments, and options.
func (*PodDisruptionBudget) ElementType ¶
func (*PodDisruptionBudget) ElementType() reflect.Type
func (*PodDisruptionBudget) ToPodDisruptionBudgetOutput ¶
func (i *PodDisruptionBudget) ToPodDisruptionBudgetOutput() PodDisruptionBudgetOutput
func (*PodDisruptionBudget) ToPodDisruptionBudgetOutputWithContext ¶
func (i *PodDisruptionBudget) ToPodDisruptionBudgetOutputWithContext(ctx context.Context) PodDisruptionBudgetOutput
type PodDisruptionBudgetArgs ¶
type PodDisruptionBudgetArgs struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrInput // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrInput // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ObjectMetaPtrInput // Specification of the desired behavior of the PodDisruptionBudget. Spec PodDisruptionBudgetSpecPtrInput }
The set of arguments for constructing a PodDisruptionBudget resource.
func (PodDisruptionBudgetArgs) ElementType ¶
func (PodDisruptionBudgetArgs) ElementType() reflect.Type
type PodDisruptionBudgetArray ¶
type PodDisruptionBudgetArray []PodDisruptionBudgetInput
func (PodDisruptionBudgetArray) ElementType ¶
func (PodDisruptionBudgetArray) ElementType() reflect.Type
func (PodDisruptionBudgetArray) ToPodDisruptionBudgetArrayOutput ¶
func (i PodDisruptionBudgetArray) ToPodDisruptionBudgetArrayOutput() PodDisruptionBudgetArrayOutput
func (PodDisruptionBudgetArray) ToPodDisruptionBudgetArrayOutputWithContext ¶
func (i PodDisruptionBudgetArray) ToPodDisruptionBudgetArrayOutputWithContext(ctx context.Context) PodDisruptionBudgetArrayOutput
type PodDisruptionBudgetArrayInput ¶
type PodDisruptionBudgetArrayInput interface { pulumi.Input ToPodDisruptionBudgetArrayOutput() PodDisruptionBudgetArrayOutput ToPodDisruptionBudgetArrayOutputWithContext(context.Context) PodDisruptionBudgetArrayOutput }
PodDisruptionBudgetArrayInput is an input type that accepts PodDisruptionBudgetArray and PodDisruptionBudgetArrayOutput values. You can construct a concrete instance of `PodDisruptionBudgetArrayInput` via:
PodDisruptionBudgetArray{ PodDisruptionBudgetArgs{...} }
type PodDisruptionBudgetArrayOutput ¶
type PodDisruptionBudgetArrayOutput struct{ *pulumi.OutputState }
func (PodDisruptionBudgetArrayOutput) ElementType ¶
func (PodDisruptionBudgetArrayOutput) ElementType() reflect.Type
func (PodDisruptionBudgetArrayOutput) Index ¶
func (o PodDisruptionBudgetArrayOutput) Index(i pulumi.IntInput) PodDisruptionBudgetOutput
func (PodDisruptionBudgetArrayOutput) ToPodDisruptionBudgetArrayOutput ¶
func (o PodDisruptionBudgetArrayOutput) ToPodDisruptionBudgetArrayOutput() PodDisruptionBudgetArrayOutput
func (PodDisruptionBudgetArrayOutput) ToPodDisruptionBudgetArrayOutputWithContext ¶
func (o PodDisruptionBudgetArrayOutput) ToPodDisruptionBudgetArrayOutputWithContext(ctx context.Context) PodDisruptionBudgetArrayOutput
type PodDisruptionBudgetInput ¶
type PodDisruptionBudgetInput interface { pulumi.Input ToPodDisruptionBudgetOutput() PodDisruptionBudgetOutput ToPodDisruptionBudgetOutputWithContext(ctx context.Context) PodDisruptionBudgetOutput }
type PodDisruptionBudgetList ¶
type PodDisruptionBudgetList struct { pulumi.CustomResourceState // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringOutput `pulumi:"apiVersion"` // Items is a list of PodDisruptionBudgets Items PodDisruptionBudgetTypeArrayOutput `pulumi:"items"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringOutput `pulumi:"kind"` // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ListMetaOutput `pulumi:"metadata"` }
PodDisruptionBudgetList is a collection of PodDisruptionBudgets.
func GetPodDisruptionBudgetList ¶
func GetPodDisruptionBudgetList(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PodDisruptionBudgetListState, opts ...pulumi.ResourceOption) (*PodDisruptionBudgetList, error)
GetPodDisruptionBudgetList gets an existing PodDisruptionBudgetList resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewPodDisruptionBudgetList ¶
func NewPodDisruptionBudgetList(ctx *pulumi.Context, name string, args *PodDisruptionBudgetListArgs, opts ...pulumi.ResourceOption) (*PodDisruptionBudgetList, error)
NewPodDisruptionBudgetList registers a new resource with the given unique name, arguments, and options.
func (*PodDisruptionBudgetList) ElementType ¶
func (*PodDisruptionBudgetList) ElementType() reflect.Type
func (*PodDisruptionBudgetList) ToPodDisruptionBudgetListOutput ¶
func (i *PodDisruptionBudgetList) ToPodDisruptionBudgetListOutput() PodDisruptionBudgetListOutput
func (*PodDisruptionBudgetList) ToPodDisruptionBudgetListOutputWithContext ¶
func (i *PodDisruptionBudgetList) ToPodDisruptionBudgetListOutputWithContext(ctx context.Context) PodDisruptionBudgetListOutput
type PodDisruptionBudgetListArgs ¶
type PodDisruptionBudgetListArgs struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrInput // Items is a list of PodDisruptionBudgets Items PodDisruptionBudgetTypeArrayInput // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrInput // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ListMetaPtrInput }
The set of arguments for constructing a PodDisruptionBudgetList resource.
func (PodDisruptionBudgetListArgs) ElementType ¶
func (PodDisruptionBudgetListArgs) ElementType() reflect.Type
type PodDisruptionBudgetListArray ¶
type PodDisruptionBudgetListArray []PodDisruptionBudgetListInput
func (PodDisruptionBudgetListArray) ElementType ¶
func (PodDisruptionBudgetListArray) ElementType() reflect.Type
func (PodDisruptionBudgetListArray) ToPodDisruptionBudgetListArrayOutput ¶
func (i PodDisruptionBudgetListArray) ToPodDisruptionBudgetListArrayOutput() PodDisruptionBudgetListArrayOutput
func (PodDisruptionBudgetListArray) ToPodDisruptionBudgetListArrayOutputWithContext ¶
func (i PodDisruptionBudgetListArray) ToPodDisruptionBudgetListArrayOutputWithContext(ctx context.Context) PodDisruptionBudgetListArrayOutput
type PodDisruptionBudgetListArrayInput ¶
type PodDisruptionBudgetListArrayInput interface { pulumi.Input ToPodDisruptionBudgetListArrayOutput() PodDisruptionBudgetListArrayOutput ToPodDisruptionBudgetListArrayOutputWithContext(context.Context) PodDisruptionBudgetListArrayOutput }
PodDisruptionBudgetListArrayInput is an input type that accepts PodDisruptionBudgetListArray and PodDisruptionBudgetListArrayOutput values. You can construct a concrete instance of `PodDisruptionBudgetListArrayInput` via:
PodDisruptionBudgetListArray{ PodDisruptionBudgetListArgs{...} }
type PodDisruptionBudgetListArrayOutput ¶
type PodDisruptionBudgetListArrayOutput struct{ *pulumi.OutputState }
func (PodDisruptionBudgetListArrayOutput) ElementType ¶
func (PodDisruptionBudgetListArrayOutput) ElementType() reflect.Type
func (PodDisruptionBudgetListArrayOutput) Index ¶
func (o PodDisruptionBudgetListArrayOutput) Index(i pulumi.IntInput) PodDisruptionBudgetListOutput
func (PodDisruptionBudgetListArrayOutput) ToPodDisruptionBudgetListArrayOutput ¶
func (o PodDisruptionBudgetListArrayOutput) ToPodDisruptionBudgetListArrayOutput() PodDisruptionBudgetListArrayOutput
func (PodDisruptionBudgetListArrayOutput) ToPodDisruptionBudgetListArrayOutputWithContext ¶
func (o PodDisruptionBudgetListArrayOutput) ToPodDisruptionBudgetListArrayOutputWithContext(ctx context.Context) PodDisruptionBudgetListArrayOutput
type PodDisruptionBudgetListInput ¶
type PodDisruptionBudgetListInput interface { pulumi.Input ToPodDisruptionBudgetListOutput() PodDisruptionBudgetListOutput ToPodDisruptionBudgetListOutputWithContext(ctx context.Context) PodDisruptionBudgetListOutput }
type PodDisruptionBudgetListMap ¶
type PodDisruptionBudgetListMap map[string]PodDisruptionBudgetListInput
func (PodDisruptionBudgetListMap) ElementType ¶
func (PodDisruptionBudgetListMap) ElementType() reflect.Type
func (PodDisruptionBudgetListMap) ToPodDisruptionBudgetListMapOutput ¶
func (i PodDisruptionBudgetListMap) ToPodDisruptionBudgetListMapOutput() PodDisruptionBudgetListMapOutput
func (PodDisruptionBudgetListMap) ToPodDisruptionBudgetListMapOutputWithContext ¶
func (i PodDisruptionBudgetListMap) ToPodDisruptionBudgetListMapOutputWithContext(ctx context.Context) PodDisruptionBudgetListMapOutput
type PodDisruptionBudgetListMapInput ¶
type PodDisruptionBudgetListMapInput interface { pulumi.Input ToPodDisruptionBudgetListMapOutput() PodDisruptionBudgetListMapOutput ToPodDisruptionBudgetListMapOutputWithContext(context.Context) PodDisruptionBudgetListMapOutput }
PodDisruptionBudgetListMapInput is an input type that accepts PodDisruptionBudgetListMap and PodDisruptionBudgetListMapOutput values. You can construct a concrete instance of `PodDisruptionBudgetListMapInput` via:
PodDisruptionBudgetListMap{ "key": PodDisruptionBudgetListArgs{...} }
type PodDisruptionBudgetListMapOutput ¶
type PodDisruptionBudgetListMapOutput struct{ *pulumi.OutputState }
func (PodDisruptionBudgetListMapOutput) ElementType ¶
func (PodDisruptionBudgetListMapOutput) ElementType() reflect.Type
func (PodDisruptionBudgetListMapOutput) MapIndex ¶
func (o PodDisruptionBudgetListMapOutput) MapIndex(k pulumi.StringInput) PodDisruptionBudgetListOutput
func (PodDisruptionBudgetListMapOutput) ToPodDisruptionBudgetListMapOutput ¶
func (o PodDisruptionBudgetListMapOutput) ToPodDisruptionBudgetListMapOutput() PodDisruptionBudgetListMapOutput
func (PodDisruptionBudgetListMapOutput) ToPodDisruptionBudgetListMapOutputWithContext ¶
func (o PodDisruptionBudgetListMapOutput) ToPodDisruptionBudgetListMapOutputWithContext(ctx context.Context) PodDisruptionBudgetListMapOutput
type PodDisruptionBudgetListOutput ¶
type PodDisruptionBudgetListOutput struct{ *pulumi.OutputState }
func (PodDisruptionBudgetListOutput) ApiVersion ¶
func (o PodDisruptionBudgetListOutput) ApiVersion() pulumi.StringOutput
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (PodDisruptionBudgetListOutput) ElementType ¶
func (PodDisruptionBudgetListOutput) ElementType() reflect.Type
func (PodDisruptionBudgetListOutput) Items ¶
func (o PodDisruptionBudgetListOutput) Items() PodDisruptionBudgetTypeArrayOutput
Items is a list of PodDisruptionBudgets
func (PodDisruptionBudgetListOutput) Kind ¶
func (o PodDisruptionBudgetListOutput) Kind() pulumi.StringOutput
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (PodDisruptionBudgetListOutput) Metadata ¶
func (o PodDisruptionBudgetListOutput) Metadata() metav1.ListMetaOutput
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (PodDisruptionBudgetListOutput) ToPodDisruptionBudgetListOutput ¶
func (o PodDisruptionBudgetListOutput) ToPodDisruptionBudgetListOutput() PodDisruptionBudgetListOutput
func (PodDisruptionBudgetListOutput) ToPodDisruptionBudgetListOutputWithContext ¶
func (o PodDisruptionBudgetListOutput) ToPodDisruptionBudgetListOutputWithContext(ctx context.Context) PodDisruptionBudgetListOutput
type PodDisruptionBudgetListState ¶
type PodDisruptionBudgetListState struct { }
func (PodDisruptionBudgetListState) ElementType ¶
func (PodDisruptionBudgetListState) ElementType() reflect.Type
type PodDisruptionBudgetListType ¶
type PodDisruptionBudgetListType struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion *string `pulumi:"apiVersion"` // Items is a list of PodDisruptionBudgets Items []PodDisruptionBudgetType `pulumi:"items"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind *string `pulumi:"kind"` // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata *metav1.ListMeta `pulumi:"metadata"` }
PodDisruptionBudgetList is a collection of PodDisruptionBudgets.
type PodDisruptionBudgetListTypeArgs ¶
type PodDisruptionBudgetListTypeArgs struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"` // Items is a list of PodDisruptionBudgets Items PodDisruptionBudgetTypeArrayInput `pulumi:"items"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrInput `pulumi:"kind"` // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ListMetaPtrInput `pulumi:"metadata"` }
PodDisruptionBudgetList is a collection of PodDisruptionBudgets.
func (PodDisruptionBudgetListTypeArgs) ElementType ¶
func (PodDisruptionBudgetListTypeArgs) ElementType() reflect.Type
func (PodDisruptionBudgetListTypeArgs) ToPodDisruptionBudgetListTypeOutput ¶
func (i PodDisruptionBudgetListTypeArgs) ToPodDisruptionBudgetListTypeOutput() PodDisruptionBudgetListTypeOutput
func (PodDisruptionBudgetListTypeArgs) ToPodDisruptionBudgetListTypeOutputWithContext ¶
func (i PodDisruptionBudgetListTypeArgs) ToPodDisruptionBudgetListTypeOutputWithContext(ctx context.Context) PodDisruptionBudgetListTypeOutput
type PodDisruptionBudgetListTypeInput ¶
type PodDisruptionBudgetListTypeInput interface { pulumi.Input ToPodDisruptionBudgetListTypeOutput() PodDisruptionBudgetListTypeOutput ToPodDisruptionBudgetListTypeOutputWithContext(context.Context) PodDisruptionBudgetListTypeOutput }
PodDisruptionBudgetListTypeInput is an input type that accepts PodDisruptionBudgetListTypeArgs and PodDisruptionBudgetListTypeOutput values. You can construct a concrete instance of `PodDisruptionBudgetListTypeInput` via:
PodDisruptionBudgetListTypeArgs{...}
type PodDisruptionBudgetListTypeOutput ¶
type PodDisruptionBudgetListTypeOutput struct{ *pulumi.OutputState }
PodDisruptionBudgetList is a collection of PodDisruptionBudgets.
func (PodDisruptionBudgetListTypeOutput) ApiVersion ¶
func (o PodDisruptionBudgetListTypeOutput) ApiVersion() pulumi.StringPtrOutput
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (PodDisruptionBudgetListTypeOutput) ElementType ¶
func (PodDisruptionBudgetListTypeOutput) ElementType() reflect.Type
func (PodDisruptionBudgetListTypeOutput) Items ¶
func (o PodDisruptionBudgetListTypeOutput) Items() PodDisruptionBudgetTypeArrayOutput
Items is a list of PodDisruptionBudgets
func (PodDisruptionBudgetListTypeOutput) Kind ¶
func (o PodDisruptionBudgetListTypeOutput) Kind() pulumi.StringPtrOutput
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (PodDisruptionBudgetListTypeOutput) Metadata ¶
func (o PodDisruptionBudgetListTypeOutput) Metadata() metav1.ListMetaPtrOutput
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (PodDisruptionBudgetListTypeOutput) ToPodDisruptionBudgetListTypeOutput ¶
func (o PodDisruptionBudgetListTypeOutput) ToPodDisruptionBudgetListTypeOutput() PodDisruptionBudgetListTypeOutput
func (PodDisruptionBudgetListTypeOutput) ToPodDisruptionBudgetListTypeOutputWithContext ¶
func (o PodDisruptionBudgetListTypeOutput) ToPodDisruptionBudgetListTypeOutputWithContext(ctx context.Context) PodDisruptionBudgetListTypeOutput
type PodDisruptionBudgetMap ¶
type PodDisruptionBudgetMap map[string]PodDisruptionBudgetInput
func (PodDisruptionBudgetMap) ElementType ¶
func (PodDisruptionBudgetMap) ElementType() reflect.Type
func (PodDisruptionBudgetMap) ToPodDisruptionBudgetMapOutput ¶
func (i PodDisruptionBudgetMap) ToPodDisruptionBudgetMapOutput() PodDisruptionBudgetMapOutput
func (PodDisruptionBudgetMap) ToPodDisruptionBudgetMapOutputWithContext ¶
func (i PodDisruptionBudgetMap) ToPodDisruptionBudgetMapOutputWithContext(ctx context.Context) PodDisruptionBudgetMapOutput
type PodDisruptionBudgetMapInput ¶
type PodDisruptionBudgetMapInput interface { pulumi.Input ToPodDisruptionBudgetMapOutput() PodDisruptionBudgetMapOutput ToPodDisruptionBudgetMapOutputWithContext(context.Context) PodDisruptionBudgetMapOutput }
PodDisruptionBudgetMapInput is an input type that accepts PodDisruptionBudgetMap and PodDisruptionBudgetMapOutput values. You can construct a concrete instance of `PodDisruptionBudgetMapInput` via:
PodDisruptionBudgetMap{ "key": PodDisruptionBudgetArgs{...} }
type PodDisruptionBudgetMapOutput ¶
type PodDisruptionBudgetMapOutput struct{ *pulumi.OutputState }
func (PodDisruptionBudgetMapOutput) ElementType ¶
func (PodDisruptionBudgetMapOutput) ElementType() reflect.Type
func (PodDisruptionBudgetMapOutput) MapIndex ¶
func (o PodDisruptionBudgetMapOutput) MapIndex(k pulumi.StringInput) PodDisruptionBudgetOutput
func (PodDisruptionBudgetMapOutput) ToPodDisruptionBudgetMapOutput ¶
func (o PodDisruptionBudgetMapOutput) ToPodDisruptionBudgetMapOutput() PodDisruptionBudgetMapOutput
func (PodDisruptionBudgetMapOutput) ToPodDisruptionBudgetMapOutputWithContext ¶
func (o PodDisruptionBudgetMapOutput) ToPodDisruptionBudgetMapOutputWithContext(ctx context.Context) PodDisruptionBudgetMapOutput
type PodDisruptionBudgetOutput ¶
type PodDisruptionBudgetOutput struct{ *pulumi.OutputState }
func (PodDisruptionBudgetOutput) ApiVersion ¶
func (o PodDisruptionBudgetOutput) ApiVersion() pulumi.StringOutput
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (PodDisruptionBudgetOutput) ElementType ¶
func (PodDisruptionBudgetOutput) ElementType() reflect.Type
func (PodDisruptionBudgetOutput) Kind ¶
func (o PodDisruptionBudgetOutput) Kind() pulumi.StringOutput
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (PodDisruptionBudgetOutput) Metadata ¶
func (o PodDisruptionBudgetOutput) Metadata() metav1.ObjectMetaOutput
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (PodDisruptionBudgetOutput) Spec ¶
func (o PodDisruptionBudgetOutput) Spec() PodDisruptionBudgetSpecOutput
Specification of the desired behavior of the PodDisruptionBudget.
func (PodDisruptionBudgetOutput) Status ¶
func (o PodDisruptionBudgetOutput) Status() PodDisruptionBudgetStatusPtrOutput
Most recently observed status of the PodDisruptionBudget.
func (PodDisruptionBudgetOutput) ToPodDisruptionBudgetOutput ¶
func (o PodDisruptionBudgetOutput) ToPodDisruptionBudgetOutput() PodDisruptionBudgetOutput
func (PodDisruptionBudgetOutput) ToPodDisruptionBudgetOutputWithContext ¶
func (o PodDisruptionBudgetOutput) ToPodDisruptionBudgetOutputWithContext(ctx context.Context) PodDisruptionBudgetOutput
type PodDisruptionBudgetPatch ¶
type PodDisruptionBudgetPatch struct { pulumi.CustomResourceState // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrOutput `pulumi:"apiVersion"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrOutput `pulumi:"kind"` // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ObjectMetaPatchPtrOutput `pulumi:"metadata"` // Specification of the desired behavior of the PodDisruptionBudget. Spec PodDisruptionBudgetSpecPatchPtrOutput `pulumi:"spec"` // Most recently observed status of the PodDisruptionBudget. Status PodDisruptionBudgetStatusPatchPtrOutput `pulumi:"status"` }
Patch resources are used to modify existing Kubernetes resources by using Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi. PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods
func GetPodDisruptionBudgetPatch ¶
func GetPodDisruptionBudgetPatch(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PodDisruptionBudgetPatchState, opts ...pulumi.ResourceOption) (*PodDisruptionBudgetPatch, error)
GetPodDisruptionBudgetPatch gets an existing PodDisruptionBudgetPatch resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewPodDisruptionBudgetPatch ¶
func NewPodDisruptionBudgetPatch(ctx *pulumi.Context, name string, args *PodDisruptionBudgetPatchArgs, opts ...pulumi.ResourceOption) (*PodDisruptionBudgetPatch, error)
NewPodDisruptionBudgetPatch registers a new resource with the given unique name, arguments, and options.
func (*PodDisruptionBudgetPatch) ElementType ¶
func (*PodDisruptionBudgetPatch) ElementType() reflect.Type
func (*PodDisruptionBudgetPatch) ToPodDisruptionBudgetPatchOutput ¶
func (i *PodDisruptionBudgetPatch) ToPodDisruptionBudgetPatchOutput() PodDisruptionBudgetPatchOutput
func (*PodDisruptionBudgetPatch) ToPodDisruptionBudgetPatchOutputWithContext ¶
func (i *PodDisruptionBudgetPatch) ToPodDisruptionBudgetPatchOutputWithContext(ctx context.Context) PodDisruptionBudgetPatchOutput
type PodDisruptionBudgetPatchArgs ¶
type PodDisruptionBudgetPatchArgs struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrInput // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrInput // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ObjectMetaPatchPtrInput // Specification of the desired behavior of the PodDisruptionBudget. Spec PodDisruptionBudgetSpecPatchPtrInput }
The set of arguments for constructing a PodDisruptionBudgetPatch resource.
func (PodDisruptionBudgetPatchArgs) ElementType ¶
func (PodDisruptionBudgetPatchArgs) ElementType() reflect.Type
type PodDisruptionBudgetPatchArray ¶
type PodDisruptionBudgetPatchArray []PodDisruptionBudgetPatchInput
func (PodDisruptionBudgetPatchArray) ElementType ¶
func (PodDisruptionBudgetPatchArray) ElementType() reflect.Type
func (PodDisruptionBudgetPatchArray) ToPodDisruptionBudgetPatchArrayOutput ¶
func (i PodDisruptionBudgetPatchArray) ToPodDisruptionBudgetPatchArrayOutput() PodDisruptionBudgetPatchArrayOutput
func (PodDisruptionBudgetPatchArray) ToPodDisruptionBudgetPatchArrayOutputWithContext ¶
func (i PodDisruptionBudgetPatchArray) ToPodDisruptionBudgetPatchArrayOutputWithContext(ctx context.Context) PodDisruptionBudgetPatchArrayOutput
type PodDisruptionBudgetPatchArrayInput ¶
type PodDisruptionBudgetPatchArrayInput interface { pulumi.Input ToPodDisruptionBudgetPatchArrayOutput() PodDisruptionBudgetPatchArrayOutput ToPodDisruptionBudgetPatchArrayOutputWithContext(context.Context) PodDisruptionBudgetPatchArrayOutput }
PodDisruptionBudgetPatchArrayInput is an input type that accepts PodDisruptionBudgetPatchArray and PodDisruptionBudgetPatchArrayOutput values. You can construct a concrete instance of `PodDisruptionBudgetPatchArrayInput` via:
PodDisruptionBudgetPatchArray{ PodDisruptionBudgetPatchArgs{...} }
type PodDisruptionBudgetPatchArrayOutput ¶
type PodDisruptionBudgetPatchArrayOutput struct{ *pulumi.OutputState }
func (PodDisruptionBudgetPatchArrayOutput) ElementType ¶
func (PodDisruptionBudgetPatchArrayOutput) ElementType() reflect.Type
func (PodDisruptionBudgetPatchArrayOutput) Index ¶
func (o PodDisruptionBudgetPatchArrayOutput) Index(i pulumi.IntInput) PodDisruptionBudgetPatchOutput
func (PodDisruptionBudgetPatchArrayOutput) ToPodDisruptionBudgetPatchArrayOutput ¶
func (o PodDisruptionBudgetPatchArrayOutput) ToPodDisruptionBudgetPatchArrayOutput() PodDisruptionBudgetPatchArrayOutput
func (PodDisruptionBudgetPatchArrayOutput) ToPodDisruptionBudgetPatchArrayOutputWithContext ¶
func (o PodDisruptionBudgetPatchArrayOutput) ToPodDisruptionBudgetPatchArrayOutputWithContext(ctx context.Context) PodDisruptionBudgetPatchArrayOutput
type PodDisruptionBudgetPatchInput ¶
type PodDisruptionBudgetPatchInput interface { pulumi.Input ToPodDisruptionBudgetPatchOutput() PodDisruptionBudgetPatchOutput ToPodDisruptionBudgetPatchOutputWithContext(ctx context.Context) PodDisruptionBudgetPatchOutput }
type PodDisruptionBudgetPatchMap ¶
type PodDisruptionBudgetPatchMap map[string]PodDisruptionBudgetPatchInput
func (PodDisruptionBudgetPatchMap) ElementType ¶
func (PodDisruptionBudgetPatchMap) ElementType() reflect.Type
func (PodDisruptionBudgetPatchMap) ToPodDisruptionBudgetPatchMapOutput ¶
func (i PodDisruptionBudgetPatchMap) ToPodDisruptionBudgetPatchMapOutput() PodDisruptionBudgetPatchMapOutput
func (PodDisruptionBudgetPatchMap) ToPodDisruptionBudgetPatchMapOutputWithContext ¶
func (i PodDisruptionBudgetPatchMap) ToPodDisruptionBudgetPatchMapOutputWithContext(ctx context.Context) PodDisruptionBudgetPatchMapOutput
type PodDisruptionBudgetPatchMapInput ¶
type PodDisruptionBudgetPatchMapInput interface { pulumi.Input ToPodDisruptionBudgetPatchMapOutput() PodDisruptionBudgetPatchMapOutput ToPodDisruptionBudgetPatchMapOutputWithContext(context.Context) PodDisruptionBudgetPatchMapOutput }
PodDisruptionBudgetPatchMapInput is an input type that accepts PodDisruptionBudgetPatchMap and PodDisruptionBudgetPatchMapOutput values. You can construct a concrete instance of `PodDisruptionBudgetPatchMapInput` via:
PodDisruptionBudgetPatchMap{ "key": PodDisruptionBudgetPatchArgs{...} }
type PodDisruptionBudgetPatchMapOutput ¶
type PodDisruptionBudgetPatchMapOutput struct{ *pulumi.OutputState }
func (PodDisruptionBudgetPatchMapOutput) ElementType ¶
func (PodDisruptionBudgetPatchMapOutput) ElementType() reflect.Type
func (PodDisruptionBudgetPatchMapOutput) MapIndex ¶
func (o PodDisruptionBudgetPatchMapOutput) MapIndex(k pulumi.StringInput) PodDisruptionBudgetPatchOutput
func (PodDisruptionBudgetPatchMapOutput) ToPodDisruptionBudgetPatchMapOutput ¶
func (o PodDisruptionBudgetPatchMapOutput) ToPodDisruptionBudgetPatchMapOutput() PodDisruptionBudgetPatchMapOutput
func (PodDisruptionBudgetPatchMapOutput) ToPodDisruptionBudgetPatchMapOutputWithContext ¶
func (o PodDisruptionBudgetPatchMapOutput) ToPodDisruptionBudgetPatchMapOutputWithContext(ctx context.Context) PodDisruptionBudgetPatchMapOutput
type PodDisruptionBudgetPatchOutput ¶
type PodDisruptionBudgetPatchOutput struct{ *pulumi.OutputState }
func (PodDisruptionBudgetPatchOutput) ApiVersion ¶
func (o PodDisruptionBudgetPatchOutput) ApiVersion() pulumi.StringPtrOutput
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (PodDisruptionBudgetPatchOutput) ElementType ¶
func (PodDisruptionBudgetPatchOutput) ElementType() reflect.Type
func (PodDisruptionBudgetPatchOutput) Kind ¶
func (o PodDisruptionBudgetPatchOutput) Kind() pulumi.StringPtrOutput
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (PodDisruptionBudgetPatchOutput) Metadata ¶
func (o PodDisruptionBudgetPatchOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (PodDisruptionBudgetPatchOutput) Spec ¶
func (o PodDisruptionBudgetPatchOutput) Spec() PodDisruptionBudgetSpecPatchPtrOutput
Specification of the desired behavior of the PodDisruptionBudget.
func (PodDisruptionBudgetPatchOutput) Status ¶
func (o PodDisruptionBudgetPatchOutput) Status() PodDisruptionBudgetStatusPatchPtrOutput
Most recently observed status of the PodDisruptionBudget.
func (PodDisruptionBudgetPatchOutput) ToPodDisruptionBudgetPatchOutput ¶
func (o PodDisruptionBudgetPatchOutput) ToPodDisruptionBudgetPatchOutput() PodDisruptionBudgetPatchOutput
func (PodDisruptionBudgetPatchOutput) ToPodDisruptionBudgetPatchOutputWithContext ¶
func (o PodDisruptionBudgetPatchOutput) ToPodDisruptionBudgetPatchOutputWithContext(ctx context.Context) PodDisruptionBudgetPatchOutput
type PodDisruptionBudgetPatchState ¶
type PodDisruptionBudgetPatchState struct { }
func (PodDisruptionBudgetPatchState) ElementType ¶
func (PodDisruptionBudgetPatchState) ElementType() reflect.Type
type PodDisruptionBudgetPatchType ¶
type PodDisruptionBudgetPatchType struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion *string `pulumi:"apiVersion"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind *string `pulumi:"kind"` // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata *metav1.ObjectMetaPatch `pulumi:"metadata"` // Specification of the desired behavior of the PodDisruptionBudget. Spec *PodDisruptionBudgetSpecPatch `pulumi:"spec"` // Most recently observed status of the PodDisruptionBudget. Status *PodDisruptionBudgetStatusPatch `pulumi:"status"` }
PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods
type PodDisruptionBudgetPatchTypeArgs ¶
type PodDisruptionBudgetPatchTypeArgs struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrInput `pulumi:"kind"` // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ObjectMetaPatchPtrInput `pulumi:"metadata"` // Specification of the desired behavior of the PodDisruptionBudget. Spec PodDisruptionBudgetSpecPatchPtrInput `pulumi:"spec"` // Most recently observed status of the PodDisruptionBudget. Status PodDisruptionBudgetStatusPatchPtrInput `pulumi:"status"` }
PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods
func (PodDisruptionBudgetPatchTypeArgs) ElementType ¶
func (PodDisruptionBudgetPatchTypeArgs) ElementType() reflect.Type
func (PodDisruptionBudgetPatchTypeArgs) ToPodDisruptionBudgetPatchTypeOutput ¶
func (i PodDisruptionBudgetPatchTypeArgs) ToPodDisruptionBudgetPatchTypeOutput() PodDisruptionBudgetPatchTypeOutput
func (PodDisruptionBudgetPatchTypeArgs) ToPodDisruptionBudgetPatchTypeOutputWithContext ¶
func (i PodDisruptionBudgetPatchTypeArgs) ToPodDisruptionBudgetPatchTypeOutputWithContext(ctx context.Context) PodDisruptionBudgetPatchTypeOutput
type PodDisruptionBudgetPatchTypeInput ¶
type PodDisruptionBudgetPatchTypeInput interface { pulumi.Input ToPodDisruptionBudgetPatchTypeOutput() PodDisruptionBudgetPatchTypeOutput ToPodDisruptionBudgetPatchTypeOutputWithContext(context.Context) PodDisruptionBudgetPatchTypeOutput }
PodDisruptionBudgetPatchTypeInput is an input type that accepts PodDisruptionBudgetPatchTypeArgs and PodDisruptionBudgetPatchTypeOutput values. You can construct a concrete instance of `PodDisruptionBudgetPatchTypeInput` via:
PodDisruptionBudgetPatchTypeArgs{...}
type PodDisruptionBudgetPatchTypeOutput ¶
type PodDisruptionBudgetPatchTypeOutput struct{ *pulumi.OutputState }
PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods
func (PodDisruptionBudgetPatchTypeOutput) ApiVersion ¶
func (o PodDisruptionBudgetPatchTypeOutput) ApiVersion() pulumi.StringPtrOutput
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (PodDisruptionBudgetPatchTypeOutput) ElementType ¶
func (PodDisruptionBudgetPatchTypeOutput) ElementType() reflect.Type
func (PodDisruptionBudgetPatchTypeOutput) Kind ¶
func (o PodDisruptionBudgetPatchTypeOutput) Kind() pulumi.StringPtrOutput
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (PodDisruptionBudgetPatchTypeOutput) Metadata ¶
func (o PodDisruptionBudgetPatchTypeOutput) Metadata() metav1.ObjectMetaPatchPtrOutput
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (PodDisruptionBudgetPatchTypeOutput) Spec ¶
Specification of the desired behavior of the PodDisruptionBudget.
func (PodDisruptionBudgetPatchTypeOutput) Status ¶
func (o PodDisruptionBudgetPatchTypeOutput) Status() PodDisruptionBudgetStatusPatchPtrOutput
Most recently observed status of the PodDisruptionBudget.
func (PodDisruptionBudgetPatchTypeOutput) ToPodDisruptionBudgetPatchTypeOutput ¶
func (o PodDisruptionBudgetPatchTypeOutput) ToPodDisruptionBudgetPatchTypeOutput() PodDisruptionBudgetPatchTypeOutput
func (PodDisruptionBudgetPatchTypeOutput) ToPodDisruptionBudgetPatchTypeOutputWithContext ¶
func (o PodDisruptionBudgetPatchTypeOutput) ToPodDisruptionBudgetPatchTypeOutputWithContext(ctx context.Context) PodDisruptionBudgetPatchTypeOutput
type PodDisruptionBudgetSpec ¶
type PodDisruptionBudgetSpec struct { // 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%". MinAvailable interface{} `pulumi:"minAvailable"` // Label query over pods whose evictions are managed by the disruption budget. A null selector will match no pods, while an empty ({}) selector will select all pods within the namespace. Selector *metav1.LabelSelector `pulumi:"selector"` // UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods should be considered for eviction. Current implementation considers healthy pods, as pods that have status.conditions item with type="Ready",status="True". // // Valid policies are IfHealthyBudget and AlwaysAllow. If no policy is specified, the default behavior will be used, which corresponds to the IfHealthyBudget policy. // // IfHealthyBudget policy means that running pods (status.phase="Running"), but not yet healthy can be evicted only if the guarded application is not disrupted (status.currentHealthy is at least equal to status.desiredHealthy). Healthy pods will be subject to the PDB for eviction. // // AlwaysAllow policy means that all running pods (status.phase="Running"), but not yet healthy are considered disrupted and can be evicted regardless of whether the criteria in a PDB is met. This means perspective running pods of a disrupted application might not get a chance to become healthy. Healthy pods will be subject to the PDB for eviction. // // Additional policies may be added in the future. Clients making eviction decisions should disallow eviction of unhealthy pods if they encounter an unrecognized policy in this field. // // This field is beta-level. The eviction API uses this field when the feature gate PDBUnhealthyPodEvictionPolicy is enabled (enabled by default). UnhealthyPodEvictionPolicy *string `pulumi:"unhealthyPodEvictionPolicy"` }MaxUnavailable interface{} `pulumi:"maxUnavailable"`
PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.
type PodDisruptionBudgetSpecArgs ¶
type PodDisruptionBudgetSpecArgs struct { pulumi.Input `pulumi:"maxUnavailable"` // 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%". MinAvailable pulumi.Input `pulumi:"minAvailable"` // Label query over pods whose evictions are managed by the disruption budget. A null selector will match no pods, while an empty ({}) selector will select all pods within the namespace. Selector metav1.LabelSelectorPtrInput `pulumi:"selector"` // UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods should be considered for eviction. Current implementation considers healthy pods, as pods that have status.conditions item with type="Ready",status="True". // // Valid policies are IfHealthyBudget and AlwaysAllow. If no policy is specified, the default behavior will be used, which corresponds to the IfHealthyBudget policy. // // IfHealthyBudget policy means that running pods (status.phase="Running"), but not yet healthy can be evicted only if the guarded application is not disrupted (status.currentHealthy is at least equal to status.desiredHealthy). Healthy pods will be subject to the PDB for eviction. // // AlwaysAllow policy means that all running pods (status.phase="Running"), but not yet healthy are considered disrupted and can be evicted regardless of whether the criteria in a PDB is met. This means perspective running pods of a disrupted application might not get a chance to become healthy. Healthy pods will be subject to the PDB for eviction. // // Additional policies may be added in the future. Clients making eviction decisions should disallow eviction of unhealthy pods if they encounter an unrecognized policy in this field. // // This field is beta-level. The eviction API uses this field when the feature gate PDBUnhealthyPodEvictionPolicy is enabled (enabled by default). UnhealthyPodEvictionPolicy pulumi.StringPtrInput `pulumi:"unhealthyPodEvictionPolicy"` }MaxUnavailable
PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.
func (PodDisruptionBudgetSpecArgs) ElementType ¶
func (PodDisruptionBudgetSpecArgs) ElementType() reflect.Type
func (PodDisruptionBudgetSpecArgs) ToPodDisruptionBudgetSpecOutput ¶
func (i PodDisruptionBudgetSpecArgs) ToPodDisruptionBudgetSpecOutput() PodDisruptionBudgetSpecOutput
func (PodDisruptionBudgetSpecArgs) ToPodDisruptionBudgetSpecOutputWithContext ¶
func (i PodDisruptionBudgetSpecArgs) ToPodDisruptionBudgetSpecOutputWithContext(ctx context.Context) PodDisruptionBudgetSpecOutput
func (PodDisruptionBudgetSpecArgs) ToPodDisruptionBudgetSpecPtrOutput ¶
func (i PodDisruptionBudgetSpecArgs) ToPodDisruptionBudgetSpecPtrOutput() PodDisruptionBudgetSpecPtrOutput
func (PodDisruptionBudgetSpecArgs) ToPodDisruptionBudgetSpecPtrOutputWithContext ¶
func (i PodDisruptionBudgetSpecArgs) ToPodDisruptionBudgetSpecPtrOutputWithContext(ctx context.Context) PodDisruptionBudgetSpecPtrOutput
type PodDisruptionBudgetSpecInput ¶
type PodDisruptionBudgetSpecInput interface { pulumi.Input ToPodDisruptionBudgetSpecOutput() PodDisruptionBudgetSpecOutput ToPodDisruptionBudgetSpecOutputWithContext(context.Context) PodDisruptionBudgetSpecOutput }
PodDisruptionBudgetSpecInput is an input type that accepts PodDisruptionBudgetSpecArgs and PodDisruptionBudgetSpecOutput values. You can construct a concrete instance of `PodDisruptionBudgetSpecInput` via:
PodDisruptionBudgetSpecArgs{...}
type PodDisruptionBudgetSpecOutput ¶
type PodDisruptionBudgetSpecOutput struct{ *pulumi.OutputState }
PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.
func (PodDisruptionBudgetSpecOutput) ElementType ¶
func (PodDisruptionBudgetSpecOutput) ElementType() reflect.Type
func (PodDisruptionBudgetSpecOutput) MaxUnavailable ¶
func (o PodDisruptionBudgetSpecOutput) MaxUnavailable() pulumi.AnyOutput
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".
func (PodDisruptionBudgetSpecOutput) MinAvailable ¶
func (o PodDisruptionBudgetSpecOutput) MinAvailable() pulumi.AnyOutput
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%".
func (PodDisruptionBudgetSpecOutput) Selector ¶
func (o PodDisruptionBudgetSpecOutput) Selector() metav1.LabelSelectorPtrOutput
Label query over pods whose evictions are managed by the disruption budget. A null selector will match no pods, while an empty ({}) selector will select all pods within the namespace.
func (PodDisruptionBudgetSpecOutput) ToPodDisruptionBudgetSpecOutput ¶
func (o PodDisruptionBudgetSpecOutput) ToPodDisruptionBudgetSpecOutput() PodDisruptionBudgetSpecOutput
func (PodDisruptionBudgetSpecOutput) ToPodDisruptionBudgetSpecOutputWithContext ¶
func (o PodDisruptionBudgetSpecOutput) ToPodDisruptionBudgetSpecOutputWithContext(ctx context.Context) PodDisruptionBudgetSpecOutput
func (PodDisruptionBudgetSpecOutput) ToPodDisruptionBudgetSpecPtrOutput ¶
func (o PodDisruptionBudgetSpecOutput) ToPodDisruptionBudgetSpecPtrOutput() PodDisruptionBudgetSpecPtrOutput
func (PodDisruptionBudgetSpecOutput) ToPodDisruptionBudgetSpecPtrOutputWithContext ¶
func (o PodDisruptionBudgetSpecOutput) ToPodDisruptionBudgetSpecPtrOutputWithContext(ctx context.Context) PodDisruptionBudgetSpecPtrOutput
func (PodDisruptionBudgetSpecOutput) UnhealthyPodEvictionPolicy ¶
func (o PodDisruptionBudgetSpecOutput) UnhealthyPodEvictionPolicy() pulumi.StringPtrOutput
UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods should be considered for eviction. Current implementation considers healthy pods, as pods that have status.conditions item with type="Ready",status="True".
Valid policies are IfHealthyBudget and AlwaysAllow. If no policy is specified, the default behavior will be used, which corresponds to the IfHealthyBudget policy.
IfHealthyBudget policy means that running pods (status.phase="Running"), but not yet healthy can be evicted only if the guarded application is not disrupted (status.currentHealthy is at least equal to status.desiredHealthy). Healthy pods will be subject to the PDB for eviction.
AlwaysAllow policy means that all running pods (status.phase="Running"), but not yet healthy are considered disrupted and can be evicted regardless of whether the criteria in a PDB is met. This means perspective running pods of a disrupted application might not get a chance to become healthy. Healthy pods will be subject to the PDB for eviction.
Additional policies may be added in the future. Clients making eviction decisions should disallow eviction of unhealthy pods if they encounter an unrecognized policy in this field.
This field is beta-level. The eviction API uses this field when the feature gate PDBUnhealthyPodEvictionPolicy is enabled (enabled by default).
type PodDisruptionBudgetSpecPatch ¶
type PodDisruptionBudgetSpecPatch struct { // 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%". MinAvailable interface{} `pulumi:"minAvailable"` // Label query over pods whose evictions are managed by the disruption budget. A null selector will match no pods, while an empty ({}) selector will select all pods within the namespace. Selector *metav1.LabelSelectorPatch `pulumi:"selector"` // UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods should be considered for eviction. Current implementation considers healthy pods, as pods that have status.conditions item with type="Ready",status="True". // // Valid policies are IfHealthyBudget and AlwaysAllow. If no policy is specified, the default behavior will be used, which corresponds to the IfHealthyBudget policy. // // IfHealthyBudget policy means that running pods (status.phase="Running"), but not yet healthy can be evicted only if the guarded application is not disrupted (status.currentHealthy is at least equal to status.desiredHealthy). Healthy pods will be subject to the PDB for eviction. // // AlwaysAllow policy means that all running pods (status.phase="Running"), but not yet healthy are considered disrupted and can be evicted regardless of whether the criteria in a PDB is met. This means perspective running pods of a disrupted application might not get a chance to become healthy. Healthy pods will be subject to the PDB for eviction. // // Additional policies may be added in the future. Clients making eviction decisions should disallow eviction of unhealthy pods if they encounter an unrecognized policy in this field. // // This field is beta-level. The eviction API uses this field when the feature gate PDBUnhealthyPodEvictionPolicy is enabled (enabled by default). UnhealthyPodEvictionPolicy *string `pulumi:"unhealthyPodEvictionPolicy"` }MaxUnavailable interface{} `pulumi:"maxUnavailable"`
PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.
type PodDisruptionBudgetSpecPatchArgs ¶
type PodDisruptionBudgetSpecPatchArgs struct { pulumi.Input `pulumi:"maxUnavailable"` // 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%". MinAvailable pulumi.Input `pulumi:"minAvailable"` // Label query over pods whose evictions are managed by the disruption budget. A null selector will match no pods, while an empty ({}) selector will select all pods within the namespace. Selector metav1.LabelSelectorPatchPtrInput `pulumi:"selector"` // UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods should be considered for eviction. Current implementation considers healthy pods, as pods that have status.conditions item with type="Ready",status="True". // // Valid policies are IfHealthyBudget and AlwaysAllow. If no policy is specified, the default behavior will be used, which corresponds to the IfHealthyBudget policy. // // IfHealthyBudget policy means that running pods (status.phase="Running"), but not yet healthy can be evicted only if the guarded application is not disrupted (status.currentHealthy is at least equal to status.desiredHealthy). Healthy pods will be subject to the PDB for eviction. // // AlwaysAllow policy means that all running pods (status.phase="Running"), but not yet healthy are considered disrupted and can be evicted regardless of whether the criteria in a PDB is met. This means perspective running pods of a disrupted application might not get a chance to become healthy. Healthy pods will be subject to the PDB for eviction. // // Additional policies may be added in the future. Clients making eviction decisions should disallow eviction of unhealthy pods if they encounter an unrecognized policy in this field. // // This field is beta-level. The eviction API uses this field when the feature gate PDBUnhealthyPodEvictionPolicy is enabled (enabled by default). UnhealthyPodEvictionPolicy pulumi.StringPtrInput `pulumi:"unhealthyPodEvictionPolicy"` }MaxUnavailable
PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.
func (PodDisruptionBudgetSpecPatchArgs) ElementType ¶
func (PodDisruptionBudgetSpecPatchArgs) ElementType() reflect.Type
func (PodDisruptionBudgetSpecPatchArgs) ToPodDisruptionBudgetSpecPatchOutput ¶
func (i PodDisruptionBudgetSpecPatchArgs) ToPodDisruptionBudgetSpecPatchOutput() PodDisruptionBudgetSpecPatchOutput
func (PodDisruptionBudgetSpecPatchArgs) ToPodDisruptionBudgetSpecPatchOutputWithContext ¶
func (i PodDisruptionBudgetSpecPatchArgs) ToPodDisruptionBudgetSpecPatchOutputWithContext(ctx context.Context) PodDisruptionBudgetSpecPatchOutput
func (PodDisruptionBudgetSpecPatchArgs) ToPodDisruptionBudgetSpecPatchPtrOutput ¶
func (i PodDisruptionBudgetSpecPatchArgs) ToPodDisruptionBudgetSpecPatchPtrOutput() PodDisruptionBudgetSpecPatchPtrOutput
func (PodDisruptionBudgetSpecPatchArgs) ToPodDisruptionBudgetSpecPatchPtrOutputWithContext ¶
func (i PodDisruptionBudgetSpecPatchArgs) ToPodDisruptionBudgetSpecPatchPtrOutputWithContext(ctx context.Context) PodDisruptionBudgetSpecPatchPtrOutput
type PodDisruptionBudgetSpecPatchInput ¶
type PodDisruptionBudgetSpecPatchInput interface { pulumi.Input ToPodDisruptionBudgetSpecPatchOutput() PodDisruptionBudgetSpecPatchOutput ToPodDisruptionBudgetSpecPatchOutputWithContext(context.Context) PodDisruptionBudgetSpecPatchOutput }
PodDisruptionBudgetSpecPatchInput is an input type that accepts PodDisruptionBudgetSpecPatchArgs and PodDisruptionBudgetSpecPatchOutput values. You can construct a concrete instance of `PodDisruptionBudgetSpecPatchInput` via:
PodDisruptionBudgetSpecPatchArgs{...}
type PodDisruptionBudgetSpecPatchOutput ¶
type PodDisruptionBudgetSpecPatchOutput struct{ *pulumi.OutputState }
PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.
func (PodDisruptionBudgetSpecPatchOutput) ElementType ¶
func (PodDisruptionBudgetSpecPatchOutput) ElementType() reflect.Type
func (PodDisruptionBudgetSpecPatchOutput) MaxUnavailable ¶
func (o PodDisruptionBudgetSpecPatchOutput) MaxUnavailable() pulumi.AnyOutput
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".
func (PodDisruptionBudgetSpecPatchOutput) MinAvailable ¶
func (o PodDisruptionBudgetSpecPatchOutput) MinAvailable() pulumi.AnyOutput
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%".
func (PodDisruptionBudgetSpecPatchOutput) Selector ¶
func (o PodDisruptionBudgetSpecPatchOutput) Selector() metav1.LabelSelectorPatchPtrOutput
Label query over pods whose evictions are managed by the disruption budget. A null selector will match no pods, while an empty ({}) selector will select all pods within the namespace.
func (PodDisruptionBudgetSpecPatchOutput) ToPodDisruptionBudgetSpecPatchOutput ¶
func (o PodDisruptionBudgetSpecPatchOutput) ToPodDisruptionBudgetSpecPatchOutput() PodDisruptionBudgetSpecPatchOutput
func (PodDisruptionBudgetSpecPatchOutput) ToPodDisruptionBudgetSpecPatchOutputWithContext ¶
func (o PodDisruptionBudgetSpecPatchOutput) ToPodDisruptionBudgetSpecPatchOutputWithContext(ctx context.Context) PodDisruptionBudgetSpecPatchOutput
func (PodDisruptionBudgetSpecPatchOutput) ToPodDisruptionBudgetSpecPatchPtrOutput ¶
func (o PodDisruptionBudgetSpecPatchOutput) ToPodDisruptionBudgetSpecPatchPtrOutput() PodDisruptionBudgetSpecPatchPtrOutput
func (PodDisruptionBudgetSpecPatchOutput) ToPodDisruptionBudgetSpecPatchPtrOutputWithContext ¶
func (o PodDisruptionBudgetSpecPatchOutput) ToPodDisruptionBudgetSpecPatchPtrOutputWithContext(ctx context.Context) PodDisruptionBudgetSpecPatchPtrOutput
func (PodDisruptionBudgetSpecPatchOutput) UnhealthyPodEvictionPolicy ¶
func (o PodDisruptionBudgetSpecPatchOutput) UnhealthyPodEvictionPolicy() pulumi.StringPtrOutput
UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods should be considered for eviction. Current implementation considers healthy pods, as pods that have status.conditions item with type="Ready",status="True".
Valid policies are IfHealthyBudget and AlwaysAllow. If no policy is specified, the default behavior will be used, which corresponds to the IfHealthyBudget policy.
IfHealthyBudget policy means that running pods (status.phase="Running"), but not yet healthy can be evicted only if the guarded application is not disrupted (status.currentHealthy is at least equal to status.desiredHealthy). Healthy pods will be subject to the PDB for eviction.
AlwaysAllow policy means that all running pods (status.phase="Running"), but not yet healthy are considered disrupted and can be evicted regardless of whether the criteria in a PDB is met. This means perspective running pods of a disrupted application might not get a chance to become healthy. Healthy pods will be subject to the PDB for eviction.
Additional policies may be added in the future. Clients making eviction decisions should disallow eviction of unhealthy pods if they encounter an unrecognized policy in this field.
This field is beta-level. The eviction API uses this field when the feature gate PDBUnhealthyPodEvictionPolicy is enabled (enabled by default).
type PodDisruptionBudgetSpecPatchPtrInput ¶
type PodDisruptionBudgetSpecPatchPtrInput interface { pulumi.Input ToPodDisruptionBudgetSpecPatchPtrOutput() PodDisruptionBudgetSpecPatchPtrOutput ToPodDisruptionBudgetSpecPatchPtrOutputWithContext(context.Context) PodDisruptionBudgetSpecPatchPtrOutput }
PodDisruptionBudgetSpecPatchPtrInput is an input type that accepts PodDisruptionBudgetSpecPatchArgs, PodDisruptionBudgetSpecPatchPtr and PodDisruptionBudgetSpecPatchPtrOutput values. You can construct a concrete instance of `PodDisruptionBudgetSpecPatchPtrInput` via:
PodDisruptionBudgetSpecPatchArgs{...} or: nil
func PodDisruptionBudgetSpecPatchPtr ¶
func PodDisruptionBudgetSpecPatchPtr(v *PodDisruptionBudgetSpecPatchArgs) PodDisruptionBudgetSpecPatchPtrInput
type PodDisruptionBudgetSpecPatchPtrOutput ¶
type PodDisruptionBudgetSpecPatchPtrOutput struct{ *pulumi.OutputState }
func (PodDisruptionBudgetSpecPatchPtrOutput) ElementType ¶
func (PodDisruptionBudgetSpecPatchPtrOutput) ElementType() reflect.Type
func (PodDisruptionBudgetSpecPatchPtrOutput) MaxUnavailable ¶
func (o PodDisruptionBudgetSpecPatchPtrOutput) MaxUnavailable() pulumi.AnyOutput
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".
func (PodDisruptionBudgetSpecPatchPtrOutput) MinAvailable ¶
func (o PodDisruptionBudgetSpecPatchPtrOutput) MinAvailable() pulumi.AnyOutput
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%".
func (PodDisruptionBudgetSpecPatchPtrOutput) Selector ¶
func (o PodDisruptionBudgetSpecPatchPtrOutput) Selector() metav1.LabelSelectorPatchPtrOutput
Label query over pods whose evictions are managed by the disruption budget. A null selector will match no pods, while an empty ({}) selector will select all pods within the namespace.
func (PodDisruptionBudgetSpecPatchPtrOutput) ToPodDisruptionBudgetSpecPatchPtrOutput ¶
func (o PodDisruptionBudgetSpecPatchPtrOutput) ToPodDisruptionBudgetSpecPatchPtrOutput() PodDisruptionBudgetSpecPatchPtrOutput
func (PodDisruptionBudgetSpecPatchPtrOutput) ToPodDisruptionBudgetSpecPatchPtrOutputWithContext ¶
func (o PodDisruptionBudgetSpecPatchPtrOutput) ToPodDisruptionBudgetSpecPatchPtrOutputWithContext(ctx context.Context) PodDisruptionBudgetSpecPatchPtrOutput
func (PodDisruptionBudgetSpecPatchPtrOutput) UnhealthyPodEvictionPolicy ¶
func (o PodDisruptionBudgetSpecPatchPtrOutput) UnhealthyPodEvictionPolicy() pulumi.StringPtrOutput
UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods should be considered for eviction. Current implementation considers healthy pods, as pods that have status.conditions item with type="Ready",status="True".
Valid policies are IfHealthyBudget and AlwaysAllow. If no policy is specified, the default behavior will be used, which corresponds to the IfHealthyBudget policy.
IfHealthyBudget policy means that running pods (status.phase="Running"), but not yet healthy can be evicted only if the guarded application is not disrupted (status.currentHealthy is at least equal to status.desiredHealthy). Healthy pods will be subject to the PDB for eviction.
AlwaysAllow policy means that all running pods (status.phase="Running"), but not yet healthy are considered disrupted and can be evicted regardless of whether the criteria in a PDB is met. This means perspective running pods of a disrupted application might not get a chance to become healthy. Healthy pods will be subject to the PDB for eviction.
Additional policies may be added in the future. Clients making eviction decisions should disallow eviction of unhealthy pods if they encounter an unrecognized policy in this field.
This field is beta-level. The eviction API uses this field when the feature gate PDBUnhealthyPodEvictionPolicy is enabled (enabled by default).
type PodDisruptionBudgetSpecPtrInput ¶
type PodDisruptionBudgetSpecPtrInput interface { pulumi.Input ToPodDisruptionBudgetSpecPtrOutput() PodDisruptionBudgetSpecPtrOutput ToPodDisruptionBudgetSpecPtrOutputWithContext(context.Context) PodDisruptionBudgetSpecPtrOutput }
PodDisruptionBudgetSpecPtrInput is an input type that accepts PodDisruptionBudgetSpecArgs, PodDisruptionBudgetSpecPtr and PodDisruptionBudgetSpecPtrOutput values. You can construct a concrete instance of `PodDisruptionBudgetSpecPtrInput` via:
PodDisruptionBudgetSpecArgs{...} or: nil
func PodDisruptionBudgetSpecPtr ¶
func PodDisruptionBudgetSpecPtr(v *PodDisruptionBudgetSpecArgs) PodDisruptionBudgetSpecPtrInput
type PodDisruptionBudgetSpecPtrOutput ¶
type PodDisruptionBudgetSpecPtrOutput struct{ *pulumi.OutputState }
func (PodDisruptionBudgetSpecPtrOutput) Elem ¶
func (o PodDisruptionBudgetSpecPtrOutput) Elem() PodDisruptionBudgetSpecOutput
func (PodDisruptionBudgetSpecPtrOutput) ElementType ¶
func (PodDisruptionBudgetSpecPtrOutput) ElementType() reflect.Type
func (PodDisruptionBudgetSpecPtrOutput) MaxUnavailable ¶
func (o PodDisruptionBudgetSpecPtrOutput) MaxUnavailable() pulumi.AnyOutput
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".
func (PodDisruptionBudgetSpecPtrOutput) MinAvailable ¶
func (o PodDisruptionBudgetSpecPtrOutput) MinAvailable() pulumi.AnyOutput
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%".
func (PodDisruptionBudgetSpecPtrOutput) Selector ¶
func (o PodDisruptionBudgetSpecPtrOutput) Selector() metav1.LabelSelectorPtrOutput
Label query over pods whose evictions are managed by the disruption budget. A null selector will match no pods, while an empty ({}) selector will select all pods within the namespace.
func (PodDisruptionBudgetSpecPtrOutput) ToPodDisruptionBudgetSpecPtrOutput ¶
func (o PodDisruptionBudgetSpecPtrOutput) ToPodDisruptionBudgetSpecPtrOutput() PodDisruptionBudgetSpecPtrOutput
func (PodDisruptionBudgetSpecPtrOutput) ToPodDisruptionBudgetSpecPtrOutputWithContext ¶
func (o PodDisruptionBudgetSpecPtrOutput) ToPodDisruptionBudgetSpecPtrOutputWithContext(ctx context.Context) PodDisruptionBudgetSpecPtrOutput
func (PodDisruptionBudgetSpecPtrOutput) UnhealthyPodEvictionPolicy ¶
func (o PodDisruptionBudgetSpecPtrOutput) UnhealthyPodEvictionPolicy() pulumi.StringPtrOutput
UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods should be considered for eviction. Current implementation considers healthy pods, as pods that have status.conditions item with type="Ready",status="True".
Valid policies are IfHealthyBudget and AlwaysAllow. If no policy is specified, the default behavior will be used, which corresponds to the IfHealthyBudget policy.
IfHealthyBudget policy means that running pods (status.phase="Running"), but not yet healthy can be evicted only if the guarded application is not disrupted (status.currentHealthy is at least equal to status.desiredHealthy). Healthy pods will be subject to the PDB for eviction.
AlwaysAllow policy means that all running pods (status.phase="Running"), but not yet healthy are considered disrupted and can be evicted regardless of whether the criteria in a PDB is met. This means perspective running pods of a disrupted application might not get a chance to become healthy. Healthy pods will be subject to the PDB for eviction.
Additional policies may be added in the future. Clients making eviction decisions should disallow eviction of unhealthy pods if they encounter an unrecognized policy in this field.
This field is beta-level. The eviction API uses this field when the feature gate PDBUnhealthyPodEvictionPolicy is enabled (enabled by default).
type PodDisruptionBudgetState ¶
type PodDisruptionBudgetState struct { }
func (PodDisruptionBudgetState) ElementType ¶
func (PodDisruptionBudgetState) ElementType() reflect.Type
type PodDisruptionBudgetStatus ¶
type PodDisruptionBudgetStatus struct { // Conditions contain conditions for PDB. The disruption controller sets the DisruptionAllowed condition. The following are known values for the reason field (additional reasons could be added in the future): - SyncFailed: The controller encountered an error and wasn't able to compute // the number of allowed disruptions. Therefore no disruptions are // allowed and the status of the condition will be False. // - InsufficientPods: The number of pods are either at or below the number // required by the PodDisruptionBudget. No disruptions are // allowed and the status of the condition will be False. // - SufficientPods: There are more pods than required by the PodDisruptionBudget. // The condition will be True, and the number of allowed // disruptions are provided by the disruptionsAllowed property. Conditions []metav1.Condition `pulumi:"conditions"` // current number of healthy pods CurrentHealthy int `pulumi:"currentHealthy"` // minimum desired number of healthy pods DesiredHealthy int `pulumi:"desiredHealthy"` // DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions. DisruptedPods map[string]string `pulumi:"disruptedPods"` // Number of pod disruptions that are currently allowed. DisruptionsAllowed int `pulumi:"disruptionsAllowed"` // total number of pods counted by this disruption budget ExpectedPods int `pulumi:"expectedPods"` // Most recent generation observed when updating this PDB status. DisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation. ObservedGeneration *int `pulumi:"observedGeneration"` }
PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system.
type PodDisruptionBudgetStatusArgs ¶
type PodDisruptionBudgetStatusArgs struct { // Conditions contain conditions for PDB. The disruption controller sets the DisruptionAllowed condition. The following are known values for the reason field (additional reasons could be added in the future): - SyncFailed: The controller encountered an error and wasn't able to compute // the number of allowed disruptions. Therefore no disruptions are // allowed and the status of the condition will be False. // - InsufficientPods: The number of pods are either at or below the number // required by the PodDisruptionBudget. No disruptions are // allowed and the status of the condition will be False. // - SufficientPods: There are more pods than required by the PodDisruptionBudget. // The condition will be True, and the number of allowed // disruptions are provided by the disruptionsAllowed property. Conditions metav1.ConditionArrayInput `pulumi:"conditions"` // current number of healthy pods CurrentHealthy pulumi.IntInput `pulumi:"currentHealthy"` // minimum desired number of healthy pods DesiredHealthy pulumi.IntInput `pulumi:"desiredHealthy"` // DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions. DisruptedPods pulumi.StringMapInput `pulumi:"disruptedPods"` // Number of pod disruptions that are currently allowed. DisruptionsAllowed pulumi.IntInput `pulumi:"disruptionsAllowed"` // total number of pods counted by this disruption budget ExpectedPods pulumi.IntInput `pulumi:"expectedPods"` // Most recent generation observed when updating this PDB status. DisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation. ObservedGeneration pulumi.IntPtrInput `pulumi:"observedGeneration"` }
PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system.
func (PodDisruptionBudgetStatusArgs) ElementType ¶
func (PodDisruptionBudgetStatusArgs) ElementType() reflect.Type
func (PodDisruptionBudgetStatusArgs) ToPodDisruptionBudgetStatusOutput ¶
func (i PodDisruptionBudgetStatusArgs) ToPodDisruptionBudgetStatusOutput() PodDisruptionBudgetStatusOutput
func (PodDisruptionBudgetStatusArgs) ToPodDisruptionBudgetStatusOutputWithContext ¶
func (i PodDisruptionBudgetStatusArgs) ToPodDisruptionBudgetStatusOutputWithContext(ctx context.Context) PodDisruptionBudgetStatusOutput
func (PodDisruptionBudgetStatusArgs) ToPodDisruptionBudgetStatusPtrOutput ¶
func (i PodDisruptionBudgetStatusArgs) ToPodDisruptionBudgetStatusPtrOutput() PodDisruptionBudgetStatusPtrOutput
func (PodDisruptionBudgetStatusArgs) ToPodDisruptionBudgetStatusPtrOutputWithContext ¶
func (i PodDisruptionBudgetStatusArgs) ToPodDisruptionBudgetStatusPtrOutputWithContext(ctx context.Context) PodDisruptionBudgetStatusPtrOutput
type PodDisruptionBudgetStatusInput ¶
type PodDisruptionBudgetStatusInput interface { pulumi.Input ToPodDisruptionBudgetStatusOutput() PodDisruptionBudgetStatusOutput ToPodDisruptionBudgetStatusOutputWithContext(context.Context) PodDisruptionBudgetStatusOutput }
PodDisruptionBudgetStatusInput is an input type that accepts PodDisruptionBudgetStatusArgs and PodDisruptionBudgetStatusOutput values. You can construct a concrete instance of `PodDisruptionBudgetStatusInput` via:
PodDisruptionBudgetStatusArgs{...}
type PodDisruptionBudgetStatusOutput ¶
type PodDisruptionBudgetStatusOutput struct{ *pulumi.OutputState }
PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system.
func (PodDisruptionBudgetStatusOutput) Conditions ¶
func (o PodDisruptionBudgetStatusOutput) Conditions() metav1.ConditionArrayOutput
Conditions contain conditions for PDB. The disruption controller sets the DisruptionAllowed condition. The following are known values for the reason field (additional reasons could be added in the future): - SyncFailed: The controller encountered an error and wasn't able to compute
the number of allowed disruptions. Therefore no disruptions are allowed and the status of the condition will be False. - InsufficientPods: The number of pods are either at or below the number required by the PodDisruptionBudget. No disruptions are allowed and the status of the condition will be False. - SufficientPods: There are more pods than required by the PodDisruptionBudget. The condition will be True, and the number of allowed disruptions are provided by the disruptionsAllowed property.
func (PodDisruptionBudgetStatusOutput) CurrentHealthy ¶
func (o PodDisruptionBudgetStatusOutput) CurrentHealthy() pulumi.IntOutput
current number of healthy pods
func (PodDisruptionBudgetStatusOutput) DesiredHealthy ¶
func (o PodDisruptionBudgetStatusOutput) DesiredHealthy() pulumi.IntOutput
minimum desired number of healthy pods
func (PodDisruptionBudgetStatusOutput) DisruptedPods ¶
func (o PodDisruptionBudgetStatusOutput) DisruptedPods() pulumi.StringMapOutput
DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.
func (PodDisruptionBudgetStatusOutput) DisruptionsAllowed ¶
func (o PodDisruptionBudgetStatusOutput) DisruptionsAllowed() pulumi.IntOutput
Number of pod disruptions that are currently allowed.
func (PodDisruptionBudgetStatusOutput) ElementType ¶
func (PodDisruptionBudgetStatusOutput) ElementType() reflect.Type
func (PodDisruptionBudgetStatusOutput) ExpectedPods ¶
func (o PodDisruptionBudgetStatusOutput) ExpectedPods() pulumi.IntOutput
total number of pods counted by this disruption budget
func (PodDisruptionBudgetStatusOutput) ObservedGeneration ¶
func (o PodDisruptionBudgetStatusOutput) ObservedGeneration() pulumi.IntPtrOutput
Most recent generation observed when updating this PDB status. DisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation.
func (PodDisruptionBudgetStatusOutput) ToPodDisruptionBudgetStatusOutput ¶
func (o PodDisruptionBudgetStatusOutput) ToPodDisruptionBudgetStatusOutput() PodDisruptionBudgetStatusOutput
func (PodDisruptionBudgetStatusOutput) ToPodDisruptionBudgetStatusOutputWithContext ¶
func (o PodDisruptionBudgetStatusOutput) ToPodDisruptionBudgetStatusOutputWithContext(ctx context.Context) PodDisruptionBudgetStatusOutput
func (PodDisruptionBudgetStatusOutput) ToPodDisruptionBudgetStatusPtrOutput ¶
func (o PodDisruptionBudgetStatusOutput) ToPodDisruptionBudgetStatusPtrOutput() PodDisruptionBudgetStatusPtrOutput
func (PodDisruptionBudgetStatusOutput) ToPodDisruptionBudgetStatusPtrOutputWithContext ¶
func (o PodDisruptionBudgetStatusOutput) ToPodDisruptionBudgetStatusPtrOutputWithContext(ctx context.Context) PodDisruptionBudgetStatusPtrOutput
type PodDisruptionBudgetStatusPatch ¶
type PodDisruptionBudgetStatusPatch struct { // Conditions contain conditions for PDB. The disruption controller sets the DisruptionAllowed condition. The following are known values for the reason field (additional reasons could be added in the future): - SyncFailed: The controller encountered an error and wasn't able to compute // the number of allowed disruptions. Therefore no disruptions are // allowed and the status of the condition will be False. // - InsufficientPods: The number of pods are either at or below the number // required by the PodDisruptionBudget. No disruptions are // allowed and the status of the condition will be False. // - SufficientPods: There are more pods than required by the PodDisruptionBudget. // The condition will be True, and the number of allowed // disruptions are provided by the disruptionsAllowed property. Conditions []metav1.ConditionPatch `pulumi:"conditions"` // current number of healthy pods CurrentHealthy *int `pulumi:"currentHealthy"` // minimum desired number of healthy pods DesiredHealthy *int `pulumi:"desiredHealthy"` // DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions. DisruptedPods map[string]string `pulumi:"disruptedPods"` // Number of pod disruptions that are currently allowed. DisruptionsAllowed *int `pulumi:"disruptionsAllowed"` // total number of pods counted by this disruption budget ExpectedPods *int `pulumi:"expectedPods"` // Most recent generation observed when updating this PDB status. DisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation. ObservedGeneration *int `pulumi:"observedGeneration"` }
PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system.
type PodDisruptionBudgetStatusPatchArgs ¶
type PodDisruptionBudgetStatusPatchArgs struct { // Conditions contain conditions for PDB. The disruption controller sets the DisruptionAllowed condition. The following are known values for the reason field (additional reasons could be added in the future): - SyncFailed: The controller encountered an error and wasn't able to compute // the number of allowed disruptions. Therefore no disruptions are // allowed and the status of the condition will be False. // - InsufficientPods: The number of pods are either at or below the number // required by the PodDisruptionBudget. No disruptions are // allowed and the status of the condition will be False. // - SufficientPods: There are more pods than required by the PodDisruptionBudget. // The condition will be True, and the number of allowed // disruptions are provided by the disruptionsAllowed property. Conditions metav1.ConditionPatchArrayInput `pulumi:"conditions"` // current number of healthy pods CurrentHealthy pulumi.IntPtrInput `pulumi:"currentHealthy"` // minimum desired number of healthy pods DesiredHealthy pulumi.IntPtrInput `pulumi:"desiredHealthy"` // DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions. DisruptedPods pulumi.StringMapInput `pulumi:"disruptedPods"` // Number of pod disruptions that are currently allowed. DisruptionsAllowed pulumi.IntPtrInput `pulumi:"disruptionsAllowed"` // total number of pods counted by this disruption budget ExpectedPods pulumi.IntPtrInput `pulumi:"expectedPods"` // Most recent generation observed when updating this PDB status. DisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation. ObservedGeneration pulumi.IntPtrInput `pulumi:"observedGeneration"` }
PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system.
func (PodDisruptionBudgetStatusPatchArgs) ElementType ¶
func (PodDisruptionBudgetStatusPatchArgs) ElementType() reflect.Type
func (PodDisruptionBudgetStatusPatchArgs) ToPodDisruptionBudgetStatusPatchOutput ¶
func (i PodDisruptionBudgetStatusPatchArgs) ToPodDisruptionBudgetStatusPatchOutput() PodDisruptionBudgetStatusPatchOutput
func (PodDisruptionBudgetStatusPatchArgs) ToPodDisruptionBudgetStatusPatchOutputWithContext ¶
func (i PodDisruptionBudgetStatusPatchArgs) ToPodDisruptionBudgetStatusPatchOutputWithContext(ctx context.Context) PodDisruptionBudgetStatusPatchOutput
func (PodDisruptionBudgetStatusPatchArgs) ToPodDisruptionBudgetStatusPatchPtrOutput ¶
func (i PodDisruptionBudgetStatusPatchArgs) ToPodDisruptionBudgetStatusPatchPtrOutput() PodDisruptionBudgetStatusPatchPtrOutput
func (PodDisruptionBudgetStatusPatchArgs) ToPodDisruptionBudgetStatusPatchPtrOutputWithContext ¶
func (i PodDisruptionBudgetStatusPatchArgs) ToPodDisruptionBudgetStatusPatchPtrOutputWithContext(ctx context.Context) PodDisruptionBudgetStatusPatchPtrOutput
type PodDisruptionBudgetStatusPatchInput ¶
type PodDisruptionBudgetStatusPatchInput interface { pulumi.Input ToPodDisruptionBudgetStatusPatchOutput() PodDisruptionBudgetStatusPatchOutput ToPodDisruptionBudgetStatusPatchOutputWithContext(context.Context) PodDisruptionBudgetStatusPatchOutput }
PodDisruptionBudgetStatusPatchInput is an input type that accepts PodDisruptionBudgetStatusPatchArgs and PodDisruptionBudgetStatusPatchOutput values. You can construct a concrete instance of `PodDisruptionBudgetStatusPatchInput` via:
PodDisruptionBudgetStatusPatchArgs{...}
type PodDisruptionBudgetStatusPatchOutput ¶
type PodDisruptionBudgetStatusPatchOutput struct{ *pulumi.OutputState }
PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system.
func (PodDisruptionBudgetStatusPatchOutput) Conditions ¶
func (o PodDisruptionBudgetStatusPatchOutput) Conditions() metav1.ConditionPatchArrayOutput
Conditions contain conditions for PDB. The disruption controller sets the DisruptionAllowed condition. The following are known values for the reason field (additional reasons could be added in the future): - SyncFailed: The controller encountered an error and wasn't able to compute
the number of allowed disruptions. Therefore no disruptions are allowed and the status of the condition will be False. - InsufficientPods: The number of pods are either at or below the number required by the PodDisruptionBudget. No disruptions are allowed and the status of the condition will be False. - SufficientPods: There are more pods than required by the PodDisruptionBudget. The condition will be True, and the number of allowed disruptions are provided by the disruptionsAllowed property.
func (PodDisruptionBudgetStatusPatchOutput) CurrentHealthy ¶
func (o PodDisruptionBudgetStatusPatchOutput) CurrentHealthy() pulumi.IntPtrOutput
current number of healthy pods
func (PodDisruptionBudgetStatusPatchOutput) DesiredHealthy ¶
func (o PodDisruptionBudgetStatusPatchOutput) DesiredHealthy() pulumi.IntPtrOutput
minimum desired number of healthy pods
func (PodDisruptionBudgetStatusPatchOutput) DisruptedPods ¶
func (o PodDisruptionBudgetStatusPatchOutput) DisruptedPods() pulumi.StringMapOutput
DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.
func (PodDisruptionBudgetStatusPatchOutput) DisruptionsAllowed ¶
func (o PodDisruptionBudgetStatusPatchOutput) DisruptionsAllowed() pulumi.IntPtrOutput
Number of pod disruptions that are currently allowed.
func (PodDisruptionBudgetStatusPatchOutput) ElementType ¶
func (PodDisruptionBudgetStatusPatchOutput) ElementType() reflect.Type
func (PodDisruptionBudgetStatusPatchOutput) ExpectedPods ¶
func (o PodDisruptionBudgetStatusPatchOutput) ExpectedPods() pulumi.IntPtrOutput
total number of pods counted by this disruption budget
func (PodDisruptionBudgetStatusPatchOutput) ObservedGeneration ¶
func (o PodDisruptionBudgetStatusPatchOutput) ObservedGeneration() pulumi.IntPtrOutput
Most recent generation observed when updating this PDB status. DisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation.
func (PodDisruptionBudgetStatusPatchOutput) ToPodDisruptionBudgetStatusPatchOutput ¶
func (o PodDisruptionBudgetStatusPatchOutput) ToPodDisruptionBudgetStatusPatchOutput() PodDisruptionBudgetStatusPatchOutput
func (PodDisruptionBudgetStatusPatchOutput) ToPodDisruptionBudgetStatusPatchOutputWithContext ¶
func (o PodDisruptionBudgetStatusPatchOutput) ToPodDisruptionBudgetStatusPatchOutputWithContext(ctx context.Context) PodDisruptionBudgetStatusPatchOutput
func (PodDisruptionBudgetStatusPatchOutput) ToPodDisruptionBudgetStatusPatchPtrOutput ¶
func (o PodDisruptionBudgetStatusPatchOutput) ToPodDisruptionBudgetStatusPatchPtrOutput() PodDisruptionBudgetStatusPatchPtrOutput
func (PodDisruptionBudgetStatusPatchOutput) ToPodDisruptionBudgetStatusPatchPtrOutputWithContext ¶
func (o PodDisruptionBudgetStatusPatchOutput) ToPodDisruptionBudgetStatusPatchPtrOutputWithContext(ctx context.Context) PodDisruptionBudgetStatusPatchPtrOutput
type PodDisruptionBudgetStatusPatchPtrInput ¶
type PodDisruptionBudgetStatusPatchPtrInput interface { pulumi.Input ToPodDisruptionBudgetStatusPatchPtrOutput() PodDisruptionBudgetStatusPatchPtrOutput ToPodDisruptionBudgetStatusPatchPtrOutputWithContext(context.Context) PodDisruptionBudgetStatusPatchPtrOutput }
PodDisruptionBudgetStatusPatchPtrInput is an input type that accepts PodDisruptionBudgetStatusPatchArgs, PodDisruptionBudgetStatusPatchPtr and PodDisruptionBudgetStatusPatchPtrOutput values. You can construct a concrete instance of `PodDisruptionBudgetStatusPatchPtrInput` via:
PodDisruptionBudgetStatusPatchArgs{...} or: nil
func PodDisruptionBudgetStatusPatchPtr ¶
func PodDisruptionBudgetStatusPatchPtr(v *PodDisruptionBudgetStatusPatchArgs) PodDisruptionBudgetStatusPatchPtrInput
type PodDisruptionBudgetStatusPatchPtrOutput ¶
type PodDisruptionBudgetStatusPatchPtrOutput struct{ *pulumi.OutputState }
func (PodDisruptionBudgetStatusPatchPtrOutput) Conditions ¶
func (o PodDisruptionBudgetStatusPatchPtrOutput) Conditions() metav1.ConditionPatchArrayOutput
Conditions contain conditions for PDB. The disruption controller sets the DisruptionAllowed condition. The following are known values for the reason field (additional reasons could be added in the future): - SyncFailed: The controller encountered an error and wasn't able to compute
the number of allowed disruptions. Therefore no disruptions are allowed and the status of the condition will be False. - InsufficientPods: The number of pods are either at or below the number required by the PodDisruptionBudget. No disruptions are allowed and the status of the condition will be False. - SufficientPods: There are more pods than required by the PodDisruptionBudget. The condition will be True, and the number of allowed disruptions are provided by the disruptionsAllowed property.
func (PodDisruptionBudgetStatusPatchPtrOutput) CurrentHealthy ¶
func (o PodDisruptionBudgetStatusPatchPtrOutput) CurrentHealthy() pulumi.IntPtrOutput
current number of healthy pods
func (PodDisruptionBudgetStatusPatchPtrOutput) DesiredHealthy ¶
func (o PodDisruptionBudgetStatusPatchPtrOutput) DesiredHealthy() pulumi.IntPtrOutput
minimum desired number of healthy pods
func (PodDisruptionBudgetStatusPatchPtrOutput) DisruptedPods ¶
func (o PodDisruptionBudgetStatusPatchPtrOutput) DisruptedPods() pulumi.StringMapOutput
DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.
func (PodDisruptionBudgetStatusPatchPtrOutput) DisruptionsAllowed ¶
func (o PodDisruptionBudgetStatusPatchPtrOutput) DisruptionsAllowed() pulumi.IntPtrOutput
Number of pod disruptions that are currently allowed.
func (PodDisruptionBudgetStatusPatchPtrOutput) ElementType ¶
func (PodDisruptionBudgetStatusPatchPtrOutput) ElementType() reflect.Type
func (PodDisruptionBudgetStatusPatchPtrOutput) ExpectedPods ¶
func (o PodDisruptionBudgetStatusPatchPtrOutput) ExpectedPods() pulumi.IntPtrOutput
total number of pods counted by this disruption budget
func (PodDisruptionBudgetStatusPatchPtrOutput) ObservedGeneration ¶
func (o PodDisruptionBudgetStatusPatchPtrOutput) ObservedGeneration() pulumi.IntPtrOutput
Most recent generation observed when updating this PDB status. DisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation.
func (PodDisruptionBudgetStatusPatchPtrOutput) ToPodDisruptionBudgetStatusPatchPtrOutput ¶
func (o PodDisruptionBudgetStatusPatchPtrOutput) ToPodDisruptionBudgetStatusPatchPtrOutput() PodDisruptionBudgetStatusPatchPtrOutput
func (PodDisruptionBudgetStatusPatchPtrOutput) ToPodDisruptionBudgetStatusPatchPtrOutputWithContext ¶
func (o PodDisruptionBudgetStatusPatchPtrOutput) ToPodDisruptionBudgetStatusPatchPtrOutputWithContext(ctx context.Context) PodDisruptionBudgetStatusPatchPtrOutput
type PodDisruptionBudgetStatusPtrInput ¶
type PodDisruptionBudgetStatusPtrInput interface { pulumi.Input ToPodDisruptionBudgetStatusPtrOutput() PodDisruptionBudgetStatusPtrOutput ToPodDisruptionBudgetStatusPtrOutputWithContext(context.Context) PodDisruptionBudgetStatusPtrOutput }
PodDisruptionBudgetStatusPtrInput is an input type that accepts PodDisruptionBudgetStatusArgs, PodDisruptionBudgetStatusPtr and PodDisruptionBudgetStatusPtrOutput values. You can construct a concrete instance of `PodDisruptionBudgetStatusPtrInput` via:
PodDisruptionBudgetStatusArgs{...} or: nil
func PodDisruptionBudgetStatusPtr ¶
func PodDisruptionBudgetStatusPtr(v *PodDisruptionBudgetStatusArgs) PodDisruptionBudgetStatusPtrInput
type PodDisruptionBudgetStatusPtrOutput ¶
type PodDisruptionBudgetStatusPtrOutput struct{ *pulumi.OutputState }
func (PodDisruptionBudgetStatusPtrOutput) Conditions ¶
func (o PodDisruptionBudgetStatusPtrOutput) Conditions() metav1.ConditionArrayOutput
Conditions contain conditions for PDB. The disruption controller sets the DisruptionAllowed condition. The following are known values for the reason field (additional reasons could be added in the future): - SyncFailed: The controller encountered an error and wasn't able to compute
the number of allowed disruptions. Therefore no disruptions are allowed and the status of the condition will be False. - InsufficientPods: The number of pods are either at or below the number required by the PodDisruptionBudget. No disruptions are allowed and the status of the condition will be False. - SufficientPods: There are more pods than required by the PodDisruptionBudget. The condition will be True, and the number of allowed disruptions are provided by the disruptionsAllowed property.
func (PodDisruptionBudgetStatusPtrOutput) CurrentHealthy ¶
func (o PodDisruptionBudgetStatusPtrOutput) CurrentHealthy() pulumi.IntPtrOutput
current number of healthy pods
func (PodDisruptionBudgetStatusPtrOutput) DesiredHealthy ¶
func (o PodDisruptionBudgetStatusPtrOutput) DesiredHealthy() pulumi.IntPtrOutput
minimum desired number of healthy pods
func (PodDisruptionBudgetStatusPtrOutput) DisruptedPods ¶
func (o PodDisruptionBudgetStatusPtrOutput) DisruptedPods() pulumi.StringMapOutput
DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.
func (PodDisruptionBudgetStatusPtrOutput) DisruptionsAllowed ¶
func (o PodDisruptionBudgetStatusPtrOutput) DisruptionsAllowed() pulumi.IntPtrOutput
Number of pod disruptions that are currently allowed.
func (PodDisruptionBudgetStatusPtrOutput) Elem ¶
func (o PodDisruptionBudgetStatusPtrOutput) Elem() PodDisruptionBudgetStatusOutput
func (PodDisruptionBudgetStatusPtrOutput) ElementType ¶
func (PodDisruptionBudgetStatusPtrOutput) ElementType() reflect.Type
func (PodDisruptionBudgetStatusPtrOutput) ExpectedPods ¶
func (o PodDisruptionBudgetStatusPtrOutput) ExpectedPods() pulumi.IntPtrOutput
total number of pods counted by this disruption budget
func (PodDisruptionBudgetStatusPtrOutput) ObservedGeneration ¶
func (o PodDisruptionBudgetStatusPtrOutput) ObservedGeneration() pulumi.IntPtrOutput
Most recent generation observed when updating this PDB status. DisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation.
func (PodDisruptionBudgetStatusPtrOutput) ToPodDisruptionBudgetStatusPtrOutput ¶
func (o PodDisruptionBudgetStatusPtrOutput) ToPodDisruptionBudgetStatusPtrOutput() PodDisruptionBudgetStatusPtrOutput
func (PodDisruptionBudgetStatusPtrOutput) ToPodDisruptionBudgetStatusPtrOutputWithContext ¶
func (o PodDisruptionBudgetStatusPtrOutput) ToPodDisruptionBudgetStatusPtrOutputWithContext(ctx context.Context) PodDisruptionBudgetStatusPtrOutput
type PodDisruptionBudgetType ¶
type PodDisruptionBudgetType struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion *string `pulumi:"apiVersion"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind *string `pulumi:"kind"` // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata *metav1.ObjectMeta `pulumi:"metadata"` // Specification of the desired behavior of the PodDisruptionBudget. Spec *PodDisruptionBudgetSpec `pulumi:"spec"` // Most recently observed status of the PodDisruptionBudget. Status *PodDisruptionBudgetStatus `pulumi:"status"` }
PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods
type PodDisruptionBudgetTypeArgs ¶
type PodDisruptionBudgetTypeArgs struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrInput `pulumi:"kind"` // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"` // Specification of the desired behavior of the PodDisruptionBudget. Spec PodDisruptionBudgetSpecPtrInput `pulumi:"spec"` // Most recently observed status of the PodDisruptionBudget. Status PodDisruptionBudgetStatusPtrInput `pulumi:"status"` }
PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods
func (PodDisruptionBudgetTypeArgs) ElementType ¶
func (PodDisruptionBudgetTypeArgs) ElementType() reflect.Type
func (PodDisruptionBudgetTypeArgs) ToPodDisruptionBudgetTypeOutput ¶
func (i PodDisruptionBudgetTypeArgs) ToPodDisruptionBudgetTypeOutput() PodDisruptionBudgetTypeOutput
func (PodDisruptionBudgetTypeArgs) ToPodDisruptionBudgetTypeOutputWithContext ¶
func (i PodDisruptionBudgetTypeArgs) ToPodDisruptionBudgetTypeOutputWithContext(ctx context.Context) PodDisruptionBudgetTypeOutput
type PodDisruptionBudgetTypeArray ¶
type PodDisruptionBudgetTypeArray []PodDisruptionBudgetTypeInput
func (PodDisruptionBudgetTypeArray) ElementType ¶
func (PodDisruptionBudgetTypeArray) ElementType() reflect.Type
func (PodDisruptionBudgetTypeArray) ToPodDisruptionBudgetTypeArrayOutput ¶
func (i PodDisruptionBudgetTypeArray) ToPodDisruptionBudgetTypeArrayOutput() PodDisruptionBudgetTypeArrayOutput
func (PodDisruptionBudgetTypeArray) ToPodDisruptionBudgetTypeArrayOutputWithContext ¶
func (i PodDisruptionBudgetTypeArray) ToPodDisruptionBudgetTypeArrayOutputWithContext(ctx context.Context) PodDisruptionBudgetTypeArrayOutput
type PodDisruptionBudgetTypeArrayInput ¶
type PodDisruptionBudgetTypeArrayInput interface { pulumi.Input ToPodDisruptionBudgetTypeArrayOutput() PodDisruptionBudgetTypeArrayOutput ToPodDisruptionBudgetTypeArrayOutputWithContext(context.Context) PodDisruptionBudgetTypeArrayOutput }
PodDisruptionBudgetTypeArrayInput is an input type that accepts PodDisruptionBudgetTypeArray and PodDisruptionBudgetTypeArrayOutput values. You can construct a concrete instance of `PodDisruptionBudgetTypeArrayInput` via:
PodDisruptionBudgetTypeArray{ PodDisruptionBudgetTypeArgs{...} }
type PodDisruptionBudgetTypeArrayOutput ¶
type PodDisruptionBudgetTypeArrayOutput struct{ *pulumi.OutputState }
func (PodDisruptionBudgetTypeArrayOutput) ElementType ¶
func (PodDisruptionBudgetTypeArrayOutput) ElementType() reflect.Type
func (PodDisruptionBudgetTypeArrayOutput) Index ¶
func (o PodDisruptionBudgetTypeArrayOutput) Index(i pulumi.IntInput) PodDisruptionBudgetTypeOutput
func (PodDisruptionBudgetTypeArrayOutput) ToPodDisruptionBudgetTypeArrayOutput ¶
func (o PodDisruptionBudgetTypeArrayOutput) ToPodDisruptionBudgetTypeArrayOutput() PodDisruptionBudgetTypeArrayOutput
func (PodDisruptionBudgetTypeArrayOutput) ToPodDisruptionBudgetTypeArrayOutputWithContext ¶
func (o PodDisruptionBudgetTypeArrayOutput) ToPodDisruptionBudgetTypeArrayOutputWithContext(ctx context.Context) PodDisruptionBudgetTypeArrayOutput
type PodDisruptionBudgetTypeInput ¶
type PodDisruptionBudgetTypeInput interface { pulumi.Input ToPodDisruptionBudgetTypeOutput() PodDisruptionBudgetTypeOutput ToPodDisruptionBudgetTypeOutputWithContext(context.Context) PodDisruptionBudgetTypeOutput }
PodDisruptionBudgetTypeInput is an input type that accepts PodDisruptionBudgetTypeArgs and PodDisruptionBudgetTypeOutput values. You can construct a concrete instance of `PodDisruptionBudgetTypeInput` via:
PodDisruptionBudgetTypeArgs{...}
type PodDisruptionBudgetTypeOutput ¶
type PodDisruptionBudgetTypeOutput struct{ *pulumi.OutputState }
PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods
func (PodDisruptionBudgetTypeOutput) ApiVersion ¶
func (o PodDisruptionBudgetTypeOutput) ApiVersion() pulumi.StringPtrOutput
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (PodDisruptionBudgetTypeOutput) ElementType ¶
func (PodDisruptionBudgetTypeOutput) ElementType() reflect.Type
func (PodDisruptionBudgetTypeOutput) Kind ¶
func (o PodDisruptionBudgetTypeOutput) Kind() pulumi.StringPtrOutput
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (PodDisruptionBudgetTypeOutput) Metadata ¶
func (o PodDisruptionBudgetTypeOutput) Metadata() metav1.ObjectMetaPtrOutput
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (PodDisruptionBudgetTypeOutput) Spec ¶
func (o PodDisruptionBudgetTypeOutput) Spec() PodDisruptionBudgetSpecPtrOutput
Specification of the desired behavior of the PodDisruptionBudget.
func (PodDisruptionBudgetTypeOutput) Status ¶
func (o PodDisruptionBudgetTypeOutput) Status() PodDisruptionBudgetStatusPtrOutput
Most recently observed status of the PodDisruptionBudget.
func (PodDisruptionBudgetTypeOutput) ToPodDisruptionBudgetTypeOutput ¶
func (o PodDisruptionBudgetTypeOutput) ToPodDisruptionBudgetTypeOutput() PodDisruptionBudgetTypeOutput
func (PodDisruptionBudgetTypeOutput) ToPodDisruptionBudgetTypeOutputWithContext ¶
func (o PodDisruptionBudgetTypeOutput) ToPodDisruptionBudgetTypeOutputWithContext(ctx context.Context) PodDisruptionBudgetTypeOutput