Documentation ¶
Index ¶
- type ContainerResourceMetricSource
- type ContainerResourceMetricSourceArgs
- func (ContainerResourceMetricSourceArgs) ElementType() reflect.Type
- func (i ContainerResourceMetricSourceArgs) ToContainerResourceMetricSourceOutput() ContainerResourceMetricSourceOutput
- func (i ContainerResourceMetricSourceArgs) ToContainerResourceMetricSourceOutputWithContext(ctx context.Context) ContainerResourceMetricSourceOutput
- func (i ContainerResourceMetricSourceArgs) ToContainerResourceMetricSourcePtrOutput() ContainerResourceMetricSourcePtrOutput
- func (i ContainerResourceMetricSourceArgs) ToContainerResourceMetricSourcePtrOutputWithContext(ctx context.Context) ContainerResourceMetricSourcePtrOutput
- type ContainerResourceMetricSourceInput
- type ContainerResourceMetricSourceOutput
- func (o ContainerResourceMetricSourceOutput) Container() pulumi.StringOutput
- func (ContainerResourceMetricSourceOutput) ElementType() reflect.Type
- func (o ContainerResourceMetricSourceOutput) Name() pulumi.StringOutput
- func (o ContainerResourceMetricSourceOutput) Target() MetricTargetOutput
- func (o ContainerResourceMetricSourceOutput) ToContainerResourceMetricSourceOutput() ContainerResourceMetricSourceOutput
- func (o ContainerResourceMetricSourceOutput) ToContainerResourceMetricSourceOutputWithContext(ctx context.Context) ContainerResourceMetricSourceOutput
- func (o ContainerResourceMetricSourceOutput) ToContainerResourceMetricSourcePtrOutput() ContainerResourceMetricSourcePtrOutput
- func (o ContainerResourceMetricSourceOutput) ToContainerResourceMetricSourcePtrOutputWithContext(ctx context.Context) ContainerResourceMetricSourcePtrOutput
- type ContainerResourceMetricSourcePtrInput
- type ContainerResourceMetricSourcePtrOutput
- func (o ContainerResourceMetricSourcePtrOutput) Container() pulumi.StringPtrOutput
- func (o ContainerResourceMetricSourcePtrOutput) Elem() ContainerResourceMetricSourceOutput
- func (ContainerResourceMetricSourcePtrOutput) ElementType() reflect.Type
- func (o ContainerResourceMetricSourcePtrOutput) Name() pulumi.StringPtrOutput
- func (o ContainerResourceMetricSourcePtrOutput) Target() MetricTargetPtrOutput
- func (o ContainerResourceMetricSourcePtrOutput) ToContainerResourceMetricSourcePtrOutput() ContainerResourceMetricSourcePtrOutput
- func (o ContainerResourceMetricSourcePtrOutput) ToContainerResourceMetricSourcePtrOutputWithContext(ctx context.Context) ContainerResourceMetricSourcePtrOutput
- type ContainerResourceMetricStatus
- type ContainerResourceMetricStatusArgs
- func (ContainerResourceMetricStatusArgs) ElementType() reflect.Type
- func (i ContainerResourceMetricStatusArgs) ToContainerResourceMetricStatusOutput() ContainerResourceMetricStatusOutput
- func (i ContainerResourceMetricStatusArgs) ToContainerResourceMetricStatusOutputWithContext(ctx context.Context) ContainerResourceMetricStatusOutput
- func (i ContainerResourceMetricStatusArgs) ToContainerResourceMetricStatusPtrOutput() ContainerResourceMetricStatusPtrOutput
- func (i ContainerResourceMetricStatusArgs) ToContainerResourceMetricStatusPtrOutputWithContext(ctx context.Context) ContainerResourceMetricStatusPtrOutput
- type ContainerResourceMetricStatusInput
- type ContainerResourceMetricStatusOutput
- func (o ContainerResourceMetricStatusOutput) Container() pulumi.StringOutput
- func (o ContainerResourceMetricStatusOutput) Current() MetricValueStatusOutput
- func (ContainerResourceMetricStatusOutput) ElementType() reflect.Type
- func (o ContainerResourceMetricStatusOutput) Name() pulumi.StringOutput
- func (o ContainerResourceMetricStatusOutput) ToContainerResourceMetricStatusOutput() ContainerResourceMetricStatusOutput
- func (o ContainerResourceMetricStatusOutput) ToContainerResourceMetricStatusOutputWithContext(ctx context.Context) ContainerResourceMetricStatusOutput
- func (o ContainerResourceMetricStatusOutput) ToContainerResourceMetricStatusPtrOutput() ContainerResourceMetricStatusPtrOutput
- func (o ContainerResourceMetricStatusOutput) ToContainerResourceMetricStatusPtrOutputWithContext(ctx context.Context) ContainerResourceMetricStatusPtrOutput
- type ContainerResourceMetricStatusPtrInput
- type ContainerResourceMetricStatusPtrOutput
- func (o ContainerResourceMetricStatusPtrOutput) Container() pulumi.StringPtrOutput
- func (o ContainerResourceMetricStatusPtrOutput) Current() MetricValueStatusPtrOutput
- func (o ContainerResourceMetricStatusPtrOutput) Elem() ContainerResourceMetricStatusOutput
- func (ContainerResourceMetricStatusPtrOutput) ElementType() reflect.Type
- func (o ContainerResourceMetricStatusPtrOutput) Name() pulumi.StringPtrOutput
- func (o ContainerResourceMetricStatusPtrOutput) ToContainerResourceMetricStatusPtrOutput() ContainerResourceMetricStatusPtrOutput
- func (o ContainerResourceMetricStatusPtrOutput) ToContainerResourceMetricStatusPtrOutputWithContext(ctx context.Context) ContainerResourceMetricStatusPtrOutput
- type CrossVersionObjectReference
- type CrossVersionObjectReferenceArgs
- func (CrossVersionObjectReferenceArgs) ElementType() reflect.Type
- func (i CrossVersionObjectReferenceArgs) ToCrossVersionObjectReferenceOutput() CrossVersionObjectReferenceOutput
- func (i CrossVersionObjectReferenceArgs) ToCrossVersionObjectReferenceOutputWithContext(ctx context.Context) CrossVersionObjectReferenceOutput
- func (i CrossVersionObjectReferenceArgs) ToCrossVersionObjectReferencePtrOutput() CrossVersionObjectReferencePtrOutput
- func (i CrossVersionObjectReferenceArgs) ToCrossVersionObjectReferencePtrOutputWithContext(ctx context.Context) CrossVersionObjectReferencePtrOutput
- type CrossVersionObjectReferenceInput
- type CrossVersionObjectReferenceOutput
- func (o CrossVersionObjectReferenceOutput) ApiVersion() pulumi.StringPtrOutput
- func (CrossVersionObjectReferenceOutput) ElementType() reflect.Type
- func (o CrossVersionObjectReferenceOutput) Kind() pulumi.StringOutput
- func (o CrossVersionObjectReferenceOutput) Name() pulumi.StringOutput
- func (o CrossVersionObjectReferenceOutput) ToCrossVersionObjectReferenceOutput() CrossVersionObjectReferenceOutput
- func (o CrossVersionObjectReferenceOutput) ToCrossVersionObjectReferenceOutputWithContext(ctx context.Context) CrossVersionObjectReferenceOutput
- func (o CrossVersionObjectReferenceOutput) ToCrossVersionObjectReferencePtrOutput() CrossVersionObjectReferencePtrOutput
- func (o CrossVersionObjectReferenceOutput) ToCrossVersionObjectReferencePtrOutputWithContext(ctx context.Context) CrossVersionObjectReferencePtrOutput
- type CrossVersionObjectReferencePtrInput
- type CrossVersionObjectReferencePtrOutput
- func (o CrossVersionObjectReferencePtrOutput) ApiVersion() pulumi.StringPtrOutput
- func (o CrossVersionObjectReferencePtrOutput) Elem() CrossVersionObjectReferenceOutput
- func (CrossVersionObjectReferencePtrOutput) ElementType() reflect.Type
- func (o CrossVersionObjectReferencePtrOutput) Kind() pulumi.StringPtrOutput
- func (o CrossVersionObjectReferencePtrOutput) Name() pulumi.StringPtrOutput
- func (o CrossVersionObjectReferencePtrOutput) ToCrossVersionObjectReferencePtrOutput() CrossVersionObjectReferencePtrOutput
- func (o CrossVersionObjectReferencePtrOutput) ToCrossVersionObjectReferencePtrOutputWithContext(ctx context.Context) CrossVersionObjectReferencePtrOutput
- type ExternalMetricSource
- type ExternalMetricSourceArgs
- func (ExternalMetricSourceArgs) ElementType() reflect.Type
- func (i ExternalMetricSourceArgs) ToExternalMetricSourceOutput() ExternalMetricSourceOutput
- func (i ExternalMetricSourceArgs) ToExternalMetricSourceOutputWithContext(ctx context.Context) ExternalMetricSourceOutput
- func (i ExternalMetricSourceArgs) ToExternalMetricSourcePtrOutput() ExternalMetricSourcePtrOutput
- func (i ExternalMetricSourceArgs) ToExternalMetricSourcePtrOutputWithContext(ctx context.Context) ExternalMetricSourcePtrOutput
- type ExternalMetricSourceInput
- type ExternalMetricSourceOutput
- func (ExternalMetricSourceOutput) ElementType() reflect.Type
- func (o ExternalMetricSourceOutput) Metric() MetricIdentifierOutput
- func (o ExternalMetricSourceOutput) Target() MetricTargetOutput
- func (o ExternalMetricSourceOutput) ToExternalMetricSourceOutput() ExternalMetricSourceOutput
- func (o ExternalMetricSourceOutput) ToExternalMetricSourceOutputWithContext(ctx context.Context) ExternalMetricSourceOutput
- func (o ExternalMetricSourceOutput) ToExternalMetricSourcePtrOutput() ExternalMetricSourcePtrOutput
- func (o ExternalMetricSourceOutput) ToExternalMetricSourcePtrOutputWithContext(ctx context.Context) ExternalMetricSourcePtrOutput
- type ExternalMetricSourcePtrInput
- type ExternalMetricSourcePtrOutput
- func (o ExternalMetricSourcePtrOutput) Elem() ExternalMetricSourceOutput
- func (ExternalMetricSourcePtrOutput) ElementType() reflect.Type
- func (o ExternalMetricSourcePtrOutput) Metric() MetricIdentifierPtrOutput
- func (o ExternalMetricSourcePtrOutput) Target() MetricTargetPtrOutput
- func (o ExternalMetricSourcePtrOutput) ToExternalMetricSourcePtrOutput() ExternalMetricSourcePtrOutput
- func (o ExternalMetricSourcePtrOutput) ToExternalMetricSourcePtrOutputWithContext(ctx context.Context) ExternalMetricSourcePtrOutput
- type ExternalMetricStatus
- type ExternalMetricStatusArgs
- func (ExternalMetricStatusArgs) ElementType() reflect.Type
- func (i ExternalMetricStatusArgs) ToExternalMetricStatusOutput() ExternalMetricStatusOutput
- func (i ExternalMetricStatusArgs) ToExternalMetricStatusOutputWithContext(ctx context.Context) ExternalMetricStatusOutput
- func (i ExternalMetricStatusArgs) ToExternalMetricStatusPtrOutput() ExternalMetricStatusPtrOutput
- func (i ExternalMetricStatusArgs) ToExternalMetricStatusPtrOutputWithContext(ctx context.Context) ExternalMetricStatusPtrOutput
- type ExternalMetricStatusInput
- type ExternalMetricStatusOutput
- func (o ExternalMetricStatusOutput) Current() MetricValueStatusOutput
- func (ExternalMetricStatusOutput) ElementType() reflect.Type
- func (o ExternalMetricStatusOutput) Metric() MetricIdentifierOutput
- func (o ExternalMetricStatusOutput) ToExternalMetricStatusOutput() ExternalMetricStatusOutput
- func (o ExternalMetricStatusOutput) ToExternalMetricStatusOutputWithContext(ctx context.Context) ExternalMetricStatusOutput
- func (o ExternalMetricStatusOutput) ToExternalMetricStatusPtrOutput() ExternalMetricStatusPtrOutput
- func (o ExternalMetricStatusOutput) ToExternalMetricStatusPtrOutputWithContext(ctx context.Context) ExternalMetricStatusPtrOutput
- type ExternalMetricStatusPtrInput
- type ExternalMetricStatusPtrOutput
- func (o ExternalMetricStatusPtrOutput) Current() MetricValueStatusPtrOutput
- func (o ExternalMetricStatusPtrOutput) Elem() ExternalMetricStatusOutput
- func (ExternalMetricStatusPtrOutput) ElementType() reflect.Type
- func (o ExternalMetricStatusPtrOutput) Metric() MetricIdentifierPtrOutput
- func (o ExternalMetricStatusPtrOutput) ToExternalMetricStatusPtrOutput() ExternalMetricStatusPtrOutput
- func (o ExternalMetricStatusPtrOutput) ToExternalMetricStatusPtrOutputWithContext(ctx context.Context) ExternalMetricStatusPtrOutput
- type HPAScalingPolicy
- type HPAScalingPolicyArgs
- type HPAScalingPolicyArray
- type HPAScalingPolicyArrayInput
- type HPAScalingPolicyArrayOutput
- func (HPAScalingPolicyArrayOutput) ElementType() reflect.Type
- func (o HPAScalingPolicyArrayOutput) Index(i pulumi.IntInput) HPAScalingPolicyOutput
- func (o HPAScalingPolicyArrayOutput) ToHPAScalingPolicyArrayOutput() HPAScalingPolicyArrayOutput
- func (o HPAScalingPolicyArrayOutput) ToHPAScalingPolicyArrayOutputWithContext(ctx context.Context) HPAScalingPolicyArrayOutput
- type HPAScalingPolicyInput
- type HPAScalingPolicyOutput
- func (HPAScalingPolicyOutput) ElementType() reflect.Type
- func (o HPAScalingPolicyOutput) PeriodSeconds() pulumi.IntOutput
- func (o HPAScalingPolicyOutput) ToHPAScalingPolicyOutput() HPAScalingPolicyOutput
- func (o HPAScalingPolicyOutput) ToHPAScalingPolicyOutputWithContext(ctx context.Context) HPAScalingPolicyOutput
- func (o HPAScalingPolicyOutput) Type() pulumi.StringOutput
- func (o HPAScalingPolicyOutput) Value() pulumi.IntOutput
- type HPAScalingRules
- type HPAScalingRulesArgs
- func (HPAScalingRulesArgs) ElementType() reflect.Type
- func (i HPAScalingRulesArgs) ToHPAScalingRulesOutput() HPAScalingRulesOutput
- func (i HPAScalingRulesArgs) ToHPAScalingRulesOutputWithContext(ctx context.Context) HPAScalingRulesOutput
- func (i HPAScalingRulesArgs) ToHPAScalingRulesPtrOutput() HPAScalingRulesPtrOutput
- func (i HPAScalingRulesArgs) ToHPAScalingRulesPtrOutputWithContext(ctx context.Context) HPAScalingRulesPtrOutput
- type HPAScalingRulesInput
- type HPAScalingRulesOutput
- func (HPAScalingRulesOutput) ElementType() reflect.Type
- func (o HPAScalingRulesOutput) Policies() HPAScalingPolicyArrayOutput
- func (o HPAScalingRulesOutput) SelectPolicy() pulumi.StringPtrOutput
- func (o HPAScalingRulesOutput) StabilizationWindowSeconds() pulumi.IntPtrOutput
- func (o HPAScalingRulesOutput) ToHPAScalingRulesOutput() HPAScalingRulesOutput
- func (o HPAScalingRulesOutput) ToHPAScalingRulesOutputWithContext(ctx context.Context) HPAScalingRulesOutput
- func (o HPAScalingRulesOutput) ToHPAScalingRulesPtrOutput() HPAScalingRulesPtrOutput
- func (o HPAScalingRulesOutput) ToHPAScalingRulesPtrOutputWithContext(ctx context.Context) HPAScalingRulesPtrOutput
- type HPAScalingRulesPtrInput
- type HPAScalingRulesPtrOutput
- func (o HPAScalingRulesPtrOutput) Elem() HPAScalingRulesOutput
- func (HPAScalingRulesPtrOutput) ElementType() reflect.Type
- func (o HPAScalingRulesPtrOutput) Policies() HPAScalingPolicyArrayOutput
- func (o HPAScalingRulesPtrOutput) SelectPolicy() pulumi.StringPtrOutput
- func (o HPAScalingRulesPtrOutput) StabilizationWindowSeconds() pulumi.IntPtrOutput
- func (o HPAScalingRulesPtrOutput) ToHPAScalingRulesPtrOutput() HPAScalingRulesPtrOutput
- func (o HPAScalingRulesPtrOutput) ToHPAScalingRulesPtrOutputWithContext(ctx context.Context) HPAScalingRulesPtrOutput
- type HorizontalPodAutoscaler
- type HorizontalPodAutoscalerArgs
- type HorizontalPodAutoscalerArray
- func (HorizontalPodAutoscalerArray) ElementType() reflect.Type
- func (i HorizontalPodAutoscalerArray) ToHorizontalPodAutoscalerArrayOutput() HorizontalPodAutoscalerArrayOutput
- func (i HorizontalPodAutoscalerArray) ToHorizontalPodAutoscalerArrayOutputWithContext(ctx context.Context) HorizontalPodAutoscalerArrayOutput
- type HorizontalPodAutoscalerArrayInput
- type HorizontalPodAutoscalerArrayOutput
- func (HorizontalPodAutoscalerArrayOutput) ElementType() reflect.Type
- func (o HorizontalPodAutoscalerArrayOutput) Index(i pulumi.IntInput) HorizontalPodAutoscalerOutput
- func (o HorizontalPodAutoscalerArrayOutput) ToHorizontalPodAutoscalerArrayOutput() HorizontalPodAutoscalerArrayOutput
- func (o HorizontalPodAutoscalerArrayOutput) ToHorizontalPodAutoscalerArrayOutputWithContext(ctx context.Context) HorizontalPodAutoscalerArrayOutput
- type HorizontalPodAutoscalerBehavior
- type HorizontalPodAutoscalerBehaviorArgs
- func (HorizontalPodAutoscalerBehaviorArgs) ElementType() reflect.Type
- func (i HorizontalPodAutoscalerBehaviorArgs) ToHorizontalPodAutoscalerBehaviorOutput() HorizontalPodAutoscalerBehaviorOutput
- func (i HorizontalPodAutoscalerBehaviorArgs) ToHorizontalPodAutoscalerBehaviorOutputWithContext(ctx context.Context) HorizontalPodAutoscalerBehaviorOutput
- func (i HorizontalPodAutoscalerBehaviorArgs) ToHorizontalPodAutoscalerBehaviorPtrOutput() HorizontalPodAutoscalerBehaviorPtrOutput
- func (i HorizontalPodAutoscalerBehaviorArgs) ToHorizontalPodAutoscalerBehaviorPtrOutputWithContext(ctx context.Context) HorizontalPodAutoscalerBehaviorPtrOutput
- type HorizontalPodAutoscalerBehaviorInput
- type HorizontalPodAutoscalerBehaviorOutput
- func (HorizontalPodAutoscalerBehaviorOutput) ElementType() reflect.Type
- func (o HorizontalPodAutoscalerBehaviorOutput) ScaleDown() HPAScalingRulesPtrOutput
- func (o HorizontalPodAutoscalerBehaviorOutput) ScaleUp() HPAScalingRulesPtrOutput
- func (o HorizontalPodAutoscalerBehaviorOutput) ToHorizontalPodAutoscalerBehaviorOutput() HorizontalPodAutoscalerBehaviorOutput
- func (o HorizontalPodAutoscalerBehaviorOutput) ToHorizontalPodAutoscalerBehaviorOutputWithContext(ctx context.Context) HorizontalPodAutoscalerBehaviorOutput
- func (o HorizontalPodAutoscalerBehaviorOutput) ToHorizontalPodAutoscalerBehaviorPtrOutput() HorizontalPodAutoscalerBehaviorPtrOutput
- func (o HorizontalPodAutoscalerBehaviorOutput) ToHorizontalPodAutoscalerBehaviorPtrOutputWithContext(ctx context.Context) HorizontalPodAutoscalerBehaviorPtrOutput
- type HorizontalPodAutoscalerBehaviorPtrInput
- type HorizontalPodAutoscalerBehaviorPtrOutput
- func (o HorizontalPodAutoscalerBehaviorPtrOutput) Elem() HorizontalPodAutoscalerBehaviorOutput
- func (HorizontalPodAutoscalerBehaviorPtrOutput) ElementType() reflect.Type
- func (o HorizontalPodAutoscalerBehaviorPtrOutput) ScaleDown() HPAScalingRulesPtrOutput
- func (o HorizontalPodAutoscalerBehaviorPtrOutput) ScaleUp() HPAScalingRulesPtrOutput
- func (o HorizontalPodAutoscalerBehaviorPtrOutput) ToHorizontalPodAutoscalerBehaviorPtrOutput() HorizontalPodAutoscalerBehaviorPtrOutput
- func (o HorizontalPodAutoscalerBehaviorPtrOutput) ToHorizontalPodAutoscalerBehaviorPtrOutputWithContext(ctx context.Context) HorizontalPodAutoscalerBehaviorPtrOutput
- type HorizontalPodAutoscalerCondition
- type HorizontalPodAutoscalerConditionArgs
- func (HorizontalPodAutoscalerConditionArgs) ElementType() reflect.Type
- func (i HorizontalPodAutoscalerConditionArgs) ToHorizontalPodAutoscalerConditionOutput() HorizontalPodAutoscalerConditionOutput
- func (i HorizontalPodAutoscalerConditionArgs) ToHorizontalPodAutoscalerConditionOutputWithContext(ctx context.Context) HorizontalPodAutoscalerConditionOutput
- type HorizontalPodAutoscalerConditionArray
- func (HorizontalPodAutoscalerConditionArray) ElementType() reflect.Type
- func (i HorizontalPodAutoscalerConditionArray) ToHorizontalPodAutoscalerConditionArrayOutput() HorizontalPodAutoscalerConditionArrayOutput
- func (i HorizontalPodAutoscalerConditionArray) ToHorizontalPodAutoscalerConditionArrayOutputWithContext(ctx context.Context) HorizontalPodAutoscalerConditionArrayOutput
- type HorizontalPodAutoscalerConditionArrayInput
- type HorizontalPodAutoscalerConditionArrayOutput
- func (HorizontalPodAutoscalerConditionArrayOutput) ElementType() reflect.Type
- func (o HorizontalPodAutoscalerConditionArrayOutput) Index(i pulumi.IntInput) HorizontalPodAutoscalerConditionOutput
- func (o HorizontalPodAutoscalerConditionArrayOutput) ToHorizontalPodAutoscalerConditionArrayOutput() HorizontalPodAutoscalerConditionArrayOutput
- func (o HorizontalPodAutoscalerConditionArrayOutput) ToHorizontalPodAutoscalerConditionArrayOutputWithContext(ctx context.Context) HorizontalPodAutoscalerConditionArrayOutput
- type HorizontalPodAutoscalerConditionInput
- type HorizontalPodAutoscalerConditionOutput
- func (HorizontalPodAutoscalerConditionOutput) ElementType() reflect.Type
- func (o HorizontalPodAutoscalerConditionOutput) LastTransitionTime() pulumi.StringPtrOutput
- func (o HorizontalPodAutoscalerConditionOutput) Message() pulumi.StringPtrOutput
- func (o HorizontalPodAutoscalerConditionOutput) Reason() pulumi.StringPtrOutput
- func (o HorizontalPodAutoscalerConditionOutput) Status() pulumi.StringOutput
- func (o HorizontalPodAutoscalerConditionOutput) ToHorizontalPodAutoscalerConditionOutput() HorizontalPodAutoscalerConditionOutput
- func (o HorizontalPodAutoscalerConditionOutput) ToHorizontalPodAutoscalerConditionOutputWithContext(ctx context.Context) HorizontalPodAutoscalerConditionOutput
- func (o HorizontalPodAutoscalerConditionOutput) Type() pulumi.StringOutput
- type HorizontalPodAutoscalerInput
- type HorizontalPodAutoscalerList
- func (*HorizontalPodAutoscalerList) ElementType() reflect.Type
- func (i *HorizontalPodAutoscalerList) ToHorizontalPodAutoscalerListOutput() HorizontalPodAutoscalerListOutput
- func (i *HorizontalPodAutoscalerList) ToHorizontalPodAutoscalerListOutputWithContext(ctx context.Context) HorizontalPodAutoscalerListOutput
- type HorizontalPodAutoscalerListArgs
- type HorizontalPodAutoscalerListArray
- func (HorizontalPodAutoscalerListArray) ElementType() reflect.Type
- func (i HorizontalPodAutoscalerListArray) ToHorizontalPodAutoscalerListArrayOutput() HorizontalPodAutoscalerListArrayOutput
- func (i HorizontalPodAutoscalerListArray) ToHorizontalPodAutoscalerListArrayOutputWithContext(ctx context.Context) HorizontalPodAutoscalerListArrayOutput
- type HorizontalPodAutoscalerListArrayInput
- type HorizontalPodAutoscalerListArrayOutput
- func (HorizontalPodAutoscalerListArrayOutput) ElementType() reflect.Type
- func (o HorizontalPodAutoscalerListArrayOutput) Index(i pulumi.IntInput) HorizontalPodAutoscalerListOutput
- func (o HorizontalPodAutoscalerListArrayOutput) ToHorizontalPodAutoscalerListArrayOutput() HorizontalPodAutoscalerListArrayOutput
- func (o HorizontalPodAutoscalerListArrayOutput) ToHorizontalPodAutoscalerListArrayOutputWithContext(ctx context.Context) HorizontalPodAutoscalerListArrayOutput
- type HorizontalPodAutoscalerListInput
- type HorizontalPodAutoscalerListMap
- func (HorizontalPodAutoscalerListMap) ElementType() reflect.Type
- func (i HorizontalPodAutoscalerListMap) ToHorizontalPodAutoscalerListMapOutput() HorizontalPodAutoscalerListMapOutput
- func (i HorizontalPodAutoscalerListMap) ToHorizontalPodAutoscalerListMapOutputWithContext(ctx context.Context) HorizontalPodAutoscalerListMapOutput
- type HorizontalPodAutoscalerListMapInput
- type HorizontalPodAutoscalerListMapOutput
- func (HorizontalPodAutoscalerListMapOutput) ElementType() reflect.Type
- func (o HorizontalPodAutoscalerListMapOutput) MapIndex(k pulumi.StringInput) HorizontalPodAutoscalerListOutput
- func (o HorizontalPodAutoscalerListMapOutput) ToHorizontalPodAutoscalerListMapOutput() HorizontalPodAutoscalerListMapOutput
- func (o HorizontalPodAutoscalerListMapOutput) ToHorizontalPodAutoscalerListMapOutputWithContext(ctx context.Context) HorizontalPodAutoscalerListMapOutput
- type HorizontalPodAutoscalerListOutput
- func (HorizontalPodAutoscalerListOutput) ElementType() reflect.Type
- func (o HorizontalPodAutoscalerListOutput) ToHorizontalPodAutoscalerListOutput() HorizontalPodAutoscalerListOutput
- func (o HorizontalPodAutoscalerListOutput) ToHorizontalPodAutoscalerListOutputWithContext(ctx context.Context) HorizontalPodAutoscalerListOutput
- type HorizontalPodAutoscalerListState
- type HorizontalPodAutoscalerListType
- type HorizontalPodAutoscalerListTypeArgs
- func (HorizontalPodAutoscalerListTypeArgs) ElementType() reflect.Type
- func (i HorizontalPodAutoscalerListTypeArgs) ToHorizontalPodAutoscalerListTypeOutput() HorizontalPodAutoscalerListTypeOutput
- func (i HorizontalPodAutoscalerListTypeArgs) ToHorizontalPodAutoscalerListTypeOutputWithContext(ctx context.Context) HorizontalPodAutoscalerListTypeOutput
- type HorizontalPodAutoscalerListTypeInput
- type HorizontalPodAutoscalerListTypeOutput
- func (o HorizontalPodAutoscalerListTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (HorizontalPodAutoscalerListTypeOutput) ElementType() reflect.Type
- func (o HorizontalPodAutoscalerListTypeOutput) Items() HorizontalPodAutoscalerTypeArrayOutput
- func (o HorizontalPodAutoscalerListTypeOutput) Kind() pulumi.StringPtrOutput
- func (o HorizontalPodAutoscalerListTypeOutput) Metadata() metav1.ListMetaPtrOutput
- func (o HorizontalPodAutoscalerListTypeOutput) ToHorizontalPodAutoscalerListTypeOutput() HorizontalPodAutoscalerListTypeOutput
- func (o HorizontalPodAutoscalerListTypeOutput) ToHorizontalPodAutoscalerListTypeOutputWithContext(ctx context.Context) HorizontalPodAutoscalerListTypeOutput
- type HorizontalPodAutoscalerMap
- func (HorizontalPodAutoscalerMap) ElementType() reflect.Type
- func (i HorizontalPodAutoscalerMap) ToHorizontalPodAutoscalerMapOutput() HorizontalPodAutoscalerMapOutput
- func (i HorizontalPodAutoscalerMap) ToHorizontalPodAutoscalerMapOutputWithContext(ctx context.Context) HorizontalPodAutoscalerMapOutput
- type HorizontalPodAutoscalerMapInput
- type HorizontalPodAutoscalerMapOutput
- func (HorizontalPodAutoscalerMapOutput) ElementType() reflect.Type
- func (o HorizontalPodAutoscalerMapOutput) MapIndex(k pulumi.StringInput) HorizontalPodAutoscalerOutput
- func (o HorizontalPodAutoscalerMapOutput) ToHorizontalPodAutoscalerMapOutput() HorizontalPodAutoscalerMapOutput
- func (o HorizontalPodAutoscalerMapOutput) ToHorizontalPodAutoscalerMapOutputWithContext(ctx context.Context) HorizontalPodAutoscalerMapOutput
- type HorizontalPodAutoscalerOutput
- type HorizontalPodAutoscalerSpec
- type HorizontalPodAutoscalerSpecArgs
- func (HorizontalPodAutoscalerSpecArgs) ElementType() reflect.Type
- func (i HorizontalPodAutoscalerSpecArgs) ToHorizontalPodAutoscalerSpecOutput() HorizontalPodAutoscalerSpecOutput
- func (i HorizontalPodAutoscalerSpecArgs) ToHorizontalPodAutoscalerSpecOutputWithContext(ctx context.Context) HorizontalPodAutoscalerSpecOutput
- func (i HorizontalPodAutoscalerSpecArgs) ToHorizontalPodAutoscalerSpecPtrOutput() HorizontalPodAutoscalerSpecPtrOutput
- func (i HorizontalPodAutoscalerSpecArgs) ToHorizontalPodAutoscalerSpecPtrOutputWithContext(ctx context.Context) HorizontalPodAutoscalerSpecPtrOutput
- type HorizontalPodAutoscalerSpecInput
- type HorizontalPodAutoscalerSpecOutput
- func (o HorizontalPodAutoscalerSpecOutput) Behavior() HorizontalPodAutoscalerBehaviorPtrOutput
- func (HorizontalPodAutoscalerSpecOutput) ElementType() reflect.Type
- func (o HorizontalPodAutoscalerSpecOutput) MaxReplicas() pulumi.IntOutput
- func (o HorizontalPodAutoscalerSpecOutput) Metrics() MetricSpecArrayOutput
- func (o HorizontalPodAutoscalerSpecOutput) MinReplicas() pulumi.IntPtrOutput
- func (o HorizontalPodAutoscalerSpecOutput) ScaleTargetRef() CrossVersionObjectReferenceOutput
- func (o HorizontalPodAutoscalerSpecOutput) ToHorizontalPodAutoscalerSpecOutput() HorizontalPodAutoscalerSpecOutput
- func (o HorizontalPodAutoscalerSpecOutput) ToHorizontalPodAutoscalerSpecOutputWithContext(ctx context.Context) HorizontalPodAutoscalerSpecOutput
- func (o HorizontalPodAutoscalerSpecOutput) ToHorizontalPodAutoscalerSpecPtrOutput() HorizontalPodAutoscalerSpecPtrOutput
- func (o HorizontalPodAutoscalerSpecOutput) ToHorizontalPodAutoscalerSpecPtrOutputWithContext(ctx context.Context) HorizontalPodAutoscalerSpecPtrOutput
- type HorizontalPodAutoscalerSpecPtrInput
- type HorizontalPodAutoscalerSpecPtrOutput
- func (o HorizontalPodAutoscalerSpecPtrOutput) Behavior() HorizontalPodAutoscalerBehaviorPtrOutput
- func (o HorizontalPodAutoscalerSpecPtrOutput) Elem() HorizontalPodAutoscalerSpecOutput
- func (HorizontalPodAutoscalerSpecPtrOutput) ElementType() reflect.Type
- func (o HorizontalPodAutoscalerSpecPtrOutput) MaxReplicas() pulumi.IntPtrOutput
- func (o HorizontalPodAutoscalerSpecPtrOutput) Metrics() MetricSpecArrayOutput
- func (o HorizontalPodAutoscalerSpecPtrOutput) MinReplicas() pulumi.IntPtrOutput
- func (o HorizontalPodAutoscalerSpecPtrOutput) ScaleTargetRef() CrossVersionObjectReferencePtrOutput
- func (o HorizontalPodAutoscalerSpecPtrOutput) ToHorizontalPodAutoscalerSpecPtrOutput() HorizontalPodAutoscalerSpecPtrOutput
- func (o HorizontalPodAutoscalerSpecPtrOutput) ToHorizontalPodAutoscalerSpecPtrOutputWithContext(ctx context.Context) HorizontalPodAutoscalerSpecPtrOutput
- type HorizontalPodAutoscalerState
- type HorizontalPodAutoscalerStatus
- type HorizontalPodAutoscalerStatusArgs
- func (HorizontalPodAutoscalerStatusArgs) ElementType() reflect.Type
- func (i HorizontalPodAutoscalerStatusArgs) ToHorizontalPodAutoscalerStatusOutput() HorizontalPodAutoscalerStatusOutput
- func (i HorizontalPodAutoscalerStatusArgs) ToHorizontalPodAutoscalerStatusOutputWithContext(ctx context.Context) HorizontalPodAutoscalerStatusOutput
- func (i HorizontalPodAutoscalerStatusArgs) ToHorizontalPodAutoscalerStatusPtrOutput() HorizontalPodAutoscalerStatusPtrOutput
- func (i HorizontalPodAutoscalerStatusArgs) ToHorizontalPodAutoscalerStatusPtrOutputWithContext(ctx context.Context) HorizontalPodAutoscalerStatusPtrOutput
- type HorizontalPodAutoscalerStatusInput
- type HorizontalPodAutoscalerStatusOutput
- func (o HorizontalPodAutoscalerStatusOutput) Conditions() HorizontalPodAutoscalerConditionArrayOutput
- func (o HorizontalPodAutoscalerStatusOutput) CurrentMetrics() MetricStatusArrayOutput
- func (o HorizontalPodAutoscalerStatusOutput) CurrentReplicas() pulumi.IntOutput
- func (o HorizontalPodAutoscalerStatusOutput) DesiredReplicas() pulumi.IntOutput
- func (HorizontalPodAutoscalerStatusOutput) ElementType() reflect.Type
- func (o HorizontalPodAutoscalerStatusOutput) LastScaleTime() pulumi.StringPtrOutput
- func (o HorizontalPodAutoscalerStatusOutput) ObservedGeneration() pulumi.IntPtrOutput
- func (o HorizontalPodAutoscalerStatusOutput) ToHorizontalPodAutoscalerStatusOutput() HorizontalPodAutoscalerStatusOutput
- func (o HorizontalPodAutoscalerStatusOutput) ToHorizontalPodAutoscalerStatusOutputWithContext(ctx context.Context) HorizontalPodAutoscalerStatusOutput
- func (o HorizontalPodAutoscalerStatusOutput) ToHorizontalPodAutoscalerStatusPtrOutput() HorizontalPodAutoscalerStatusPtrOutput
- func (o HorizontalPodAutoscalerStatusOutput) ToHorizontalPodAutoscalerStatusPtrOutputWithContext(ctx context.Context) HorizontalPodAutoscalerStatusPtrOutput
- type HorizontalPodAutoscalerStatusPtrInput
- type HorizontalPodAutoscalerStatusPtrOutput
- func (o HorizontalPodAutoscalerStatusPtrOutput) Conditions() HorizontalPodAutoscalerConditionArrayOutput
- func (o HorizontalPodAutoscalerStatusPtrOutput) CurrentMetrics() MetricStatusArrayOutput
- func (o HorizontalPodAutoscalerStatusPtrOutput) CurrentReplicas() pulumi.IntPtrOutput
- func (o HorizontalPodAutoscalerStatusPtrOutput) DesiredReplicas() pulumi.IntPtrOutput
- func (o HorizontalPodAutoscalerStatusPtrOutput) Elem() HorizontalPodAutoscalerStatusOutput
- func (HorizontalPodAutoscalerStatusPtrOutput) ElementType() reflect.Type
- func (o HorizontalPodAutoscalerStatusPtrOutput) LastScaleTime() pulumi.StringPtrOutput
- func (o HorizontalPodAutoscalerStatusPtrOutput) ObservedGeneration() pulumi.IntPtrOutput
- func (o HorizontalPodAutoscalerStatusPtrOutput) ToHorizontalPodAutoscalerStatusPtrOutput() HorizontalPodAutoscalerStatusPtrOutput
- func (o HorizontalPodAutoscalerStatusPtrOutput) ToHorizontalPodAutoscalerStatusPtrOutputWithContext(ctx context.Context) HorizontalPodAutoscalerStatusPtrOutput
- type HorizontalPodAutoscalerType
- type HorizontalPodAutoscalerTypeArgs
- func (HorizontalPodAutoscalerTypeArgs) ElementType() reflect.Type
- func (i HorizontalPodAutoscalerTypeArgs) ToHorizontalPodAutoscalerTypeOutput() HorizontalPodAutoscalerTypeOutput
- func (i HorizontalPodAutoscalerTypeArgs) ToHorizontalPodAutoscalerTypeOutputWithContext(ctx context.Context) HorizontalPodAutoscalerTypeOutput
- type HorizontalPodAutoscalerTypeArray
- func (HorizontalPodAutoscalerTypeArray) ElementType() reflect.Type
- func (i HorizontalPodAutoscalerTypeArray) ToHorizontalPodAutoscalerTypeArrayOutput() HorizontalPodAutoscalerTypeArrayOutput
- func (i HorizontalPodAutoscalerTypeArray) ToHorizontalPodAutoscalerTypeArrayOutputWithContext(ctx context.Context) HorizontalPodAutoscalerTypeArrayOutput
- type HorizontalPodAutoscalerTypeArrayInput
- type HorizontalPodAutoscalerTypeArrayOutput
- func (HorizontalPodAutoscalerTypeArrayOutput) ElementType() reflect.Type
- func (o HorizontalPodAutoscalerTypeArrayOutput) Index(i pulumi.IntInput) HorizontalPodAutoscalerTypeOutput
- func (o HorizontalPodAutoscalerTypeArrayOutput) ToHorizontalPodAutoscalerTypeArrayOutput() HorizontalPodAutoscalerTypeArrayOutput
- func (o HorizontalPodAutoscalerTypeArrayOutput) ToHorizontalPodAutoscalerTypeArrayOutputWithContext(ctx context.Context) HorizontalPodAutoscalerTypeArrayOutput
- type HorizontalPodAutoscalerTypeInput
- type HorizontalPodAutoscalerTypeOutput
- func (o HorizontalPodAutoscalerTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (HorizontalPodAutoscalerTypeOutput) ElementType() reflect.Type
- func (o HorizontalPodAutoscalerTypeOutput) Kind() pulumi.StringPtrOutput
- func (o HorizontalPodAutoscalerTypeOutput) Metadata() metav1.ObjectMetaPtrOutput
- func (o HorizontalPodAutoscalerTypeOutput) Spec() HorizontalPodAutoscalerSpecPtrOutput
- func (o HorizontalPodAutoscalerTypeOutput) Status() HorizontalPodAutoscalerStatusPtrOutput
- func (o HorizontalPodAutoscalerTypeOutput) ToHorizontalPodAutoscalerTypeOutput() HorizontalPodAutoscalerTypeOutput
- func (o HorizontalPodAutoscalerTypeOutput) ToHorizontalPodAutoscalerTypeOutputWithContext(ctx context.Context) HorizontalPodAutoscalerTypeOutput
- type MetricIdentifier
- type MetricIdentifierArgs
- func (MetricIdentifierArgs) ElementType() reflect.Type
- func (i MetricIdentifierArgs) ToMetricIdentifierOutput() MetricIdentifierOutput
- func (i MetricIdentifierArgs) ToMetricIdentifierOutputWithContext(ctx context.Context) MetricIdentifierOutput
- func (i MetricIdentifierArgs) ToMetricIdentifierPtrOutput() MetricIdentifierPtrOutput
- func (i MetricIdentifierArgs) ToMetricIdentifierPtrOutputWithContext(ctx context.Context) MetricIdentifierPtrOutput
- type MetricIdentifierInput
- type MetricIdentifierOutput
- func (MetricIdentifierOutput) ElementType() reflect.Type
- func (o MetricIdentifierOutput) Name() pulumi.StringOutput
- func (o MetricIdentifierOutput) Selector() metav1.LabelSelectorPtrOutput
- func (o MetricIdentifierOutput) ToMetricIdentifierOutput() MetricIdentifierOutput
- func (o MetricIdentifierOutput) ToMetricIdentifierOutputWithContext(ctx context.Context) MetricIdentifierOutput
- func (o MetricIdentifierOutput) ToMetricIdentifierPtrOutput() MetricIdentifierPtrOutput
- func (o MetricIdentifierOutput) ToMetricIdentifierPtrOutputWithContext(ctx context.Context) MetricIdentifierPtrOutput
- type MetricIdentifierPtrInput
- type MetricIdentifierPtrOutput
- func (o MetricIdentifierPtrOutput) Elem() MetricIdentifierOutput
- func (MetricIdentifierPtrOutput) ElementType() reflect.Type
- func (o MetricIdentifierPtrOutput) Name() pulumi.StringPtrOutput
- func (o MetricIdentifierPtrOutput) Selector() metav1.LabelSelectorPtrOutput
- func (o MetricIdentifierPtrOutput) ToMetricIdentifierPtrOutput() MetricIdentifierPtrOutput
- func (o MetricIdentifierPtrOutput) ToMetricIdentifierPtrOutputWithContext(ctx context.Context) MetricIdentifierPtrOutput
- type MetricSpec
- type MetricSpecArgs
- type MetricSpecArray
- type MetricSpecArrayInput
- type MetricSpecArrayOutput
- func (MetricSpecArrayOutput) ElementType() reflect.Type
- func (o MetricSpecArrayOutput) Index(i pulumi.IntInput) MetricSpecOutput
- func (o MetricSpecArrayOutput) ToMetricSpecArrayOutput() MetricSpecArrayOutput
- func (o MetricSpecArrayOutput) ToMetricSpecArrayOutputWithContext(ctx context.Context) MetricSpecArrayOutput
- type MetricSpecInput
- type MetricSpecOutput
- func (o MetricSpecOutput) ContainerResource() ContainerResourceMetricSourcePtrOutput
- func (MetricSpecOutput) ElementType() reflect.Type
- func (o MetricSpecOutput) External() ExternalMetricSourcePtrOutput
- func (o MetricSpecOutput) Object() ObjectMetricSourcePtrOutput
- func (o MetricSpecOutput) Pods() PodsMetricSourcePtrOutput
- func (o MetricSpecOutput) Resource() ResourceMetricSourcePtrOutput
- func (o MetricSpecOutput) ToMetricSpecOutput() MetricSpecOutput
- func (o MetricSpecOutput) ToMetricSpecOutputWithContext(ctx context.Context) MetricSpecOutput
- func (o MetricSpecOutput) Type() pulumi.StringOutput
- type MetricStatus
- type MetricStatusArgs
- type MetricStatusArray
- type MetricStatusArrayInput
- type MetricStatusArrayOutput
- func (MetricStatusArrayOutput) ElementType() reflect.Type
- func (o MetricStatusArrayOutput) Index(i pulumi.IntInput) MetricStatusOutput
- func (o MetricStatusArrayOutput) ToMetricStatusArrayOutput() MetricStatusArrayOutput
- func (o MetricStatusArrayOutput) ToMetricStatusArrayOutputWithContext(ctx context.Context) MetricStatusArrayOutput
- type MetricStatusInput
- type MetricStatusOutput
- func (o MetricStatusOutput) ContainerResource() ContainerResourceMetricStatusPtrOutput
- func (MetricStatusOutput) ElementType() reflect.Type
- func (o MetricStatusOutput) External() ExternalMetricStatusPtrOutput
- func (o MetricStatusOutput) Object() ObjectMetricStatusPtrOutput
- func (o MetricStatusOutput) Pods() PodsMetricStatusPtrOutput
- func (o MetricStatusOutput) Resource() ResourceMetricStatusPtrOutput
- func (o MetricStatusOutput) ToMetricStatusOutput() MetricStatusOutput
- func (o MetricStatusOutput) ToMetricStatusOutputWithContext(ctx context.Context) MetricStatusOutput
- func (o MetricStatusOutput) Type() pulumi.StringOutput
- type MetricTarget
- type MetricTargetArgs
- func (MetricTargetArgs) ElementType() reflect.Type
- func (i MetricTargetArgs) ToMetricTargetOutput() MetricTargetOutput
- func (i MetricTargetArgs) ToMetricTargetOutputWithContext(ctx context.Context) MetricTargetOutput
- func (i MetricTargetArgs) ToMetricTargetPtrOutput() MetricTargetPtrOutput
- func (i MetricTargetArgs) ToMetricTargetPtrOutputWithContext(ctx context.Context) MetricTargetPtrOutput
- type MetricTargetInput
- type MetricTargetOutput
- func (o MetricTargetOutput) AverageUtilization() pulumi.IntPtrOutput
- func (o MetricTargetOutput) AverageValue() pulumi.StringPtrOutput
- func (MetricTargetOutput) ElementType() reflect.Type
- func (o MetricTargetOutput) ToMetricTargetOutput() MetricTargetOutput
- func (o MetricTargetOutput) ToMetricTargetOutputWithContext(ctx context.Context) MetricTargetOutput
- func (o MetricTargetOutput) ToMetricTargetPtrOutput() MetricTargetPtrOutput
- func (o MetricTargetOutput) ToMetricTargetPtrOutputWithContext(ctx context.Context) MetricTargetPtrOutput
- func (o MetricTargetOutput) Type() pulumi.StringOutput
- func (o MetricTargetOutput) Value() pulumi.StringPtrOutput
- type MetricTargetPtrInput
- type MetricTargetPtrOutput
- func (o MetricTargetPtrOutput) AverageUtilization() pulumi.IntPtrOutput
- func (o MetricTargetPtrOutput) AverageValue() pulumi.StringPtrOutput
- func (o MetricTargetPtrOutput) Elem() MetricTargetOutput
- func (MetricTargetPtrOutput) ElementType() reflect.Type
- func (o MetricTargetPtrOutput) ToMetricTargetPtrOutput() MetricTargetPtrOutput
- func (o MetricTargetPtrOutput) ToMetricTargetPtrOutputWithContext(ctx context.Context) MetricTargetPtrOutput
- func (o MetricTargetPtrOutput) Type() pulumi.StringPtrOutput
- func (o MetricTargetPtrOutput) Value() pulumi.StringPtrOutput
- type MetricValueStatus
- type MetricValueStatusArgs
- func (MetricValueStatusArgs) ElementType() reflect.Type
- func (i MetricValueStatusArgs) ToMetricValueStatusOutput() MetricValueStatusOutput
- func (i MetricValueStatusArgs) ToMetricValueStatusOutputWithContext(ctx context.Context) MetricValueStatusOutput
- func (i MetricValueStatusArgs) ToMetricValueStatusPtrOutput() MetricValueStatusPtrOutput
- func (i MetricValueStatusArgs) ToMetricValueStatusPtrOutputWithContext(ctx context.Context) MetricValueStatusPtrOutput
- type MetricValueStatusInput
- type MetricValueStatusOutput
- func (o MetricValueStatusOutput) AverageUtilization() pulumi.IntPtrOutput
- func (o MetricValueStatusOutput) AverageValue() pulumi.StringPtrOutput
- func (MetricValueStatusOutput) ElementType() reflect.Type
- func (o MetricValueStatusOutput) ToMetricValueStatusOutput() MetricValueStatusOutput
- func (o MetricValueStatusOutput) ToMetricValueStatusOutputWithContext(ctx context.Context) MetricValueStatusOutput
- func (o MetricValueStatusOutput) ToMetricValueStatusPtrOutput() MetricValueStatusPtrOutput
- func (o MetricValueStatusOutput) ToMetricValueStatusPtrOutputWithContext(ctx context.Context) MetricValueStatusPtrOutput
- func (o MetricValueStatusOutput) Value() pulumi.StringPtrOutput
- type MetricValueStatusPtrInput
- type MetricValueStatusPtrOutput
- func (o MetricValueStatusPtrOutput) AverageUtilization() pulumi.IntPtrOutput
- func (o MetricValueStatusPtrOutput) AverageValue() pulumi.StringPtrOutput
- func (o MetricValueStatusPtrOutput) Elem() MetricValueStatusOutput
- func (MetricValueStatusPtrOutput) ElementType() reflect.Type
- func (o MetricValueStatusPtrOutput) ToMetricValueStatusPtrOutput() MetricValueStatusPtrOutput
- func (o MetricValueStatusPtrOutput) ToMetricValueStatusPtrOutputWithContext(ctx context.Context) MetricValueStatusPtrOutput
- func (o MetricValueStatusPtrOutput) Value() pulumi.StringPtrOutput
- type ObjectMetricSource
- type ObjectMetricSourceArgs
- func (ObjectMetricSourceArgs) ElementType() reflect.Type
- func (i ObjectMetricSourceArgs) ToObjectMetricSourceOutput() ObjectMetricSourceOutput
- func (i ObjectMetricSourceArgs) ToObjectMetricSourceOutputWithContext(ctx context.Context) ObjectMetricSourceOutput
- func (i ObjectMetricSourceArgs) ToObjectMetricSourcePtrOutput() ObjectMetricSourcePtrOutput
- func (i ObjectMetricSourceArgs) ToObjectMetricSourcePtrOutputWithContext(ctx context.Context) ObjectMetricSourcePtrOutput
- type ObjectMetricSourceInput
- type ObjectMetricSourceOutput
- func (o ObjectMetricSourceOutput) DescribedObject() CrossVersionObjectReferenceOutput
- func (ObjectMetricSourceOutput) ElementType() reflect.Type
- func (o ObjectMetricSourceOutput) Metric() MetricIdentifierOutput
- func (o ObjectMetricSourceOutput) Target() MetricTargetOutput
- func (o ObjectMetricSourceOutput) ToObjectMetricSourceOutput() ObjectMetricSourceOutput
- func (o ObjectMetricSourceOutput) ToObjectMetricSourceOutputWithContext(ctx context.Context) ObjectMetricSourceOutput
- func (o ObjectMetricSourceOutput) ToObjectMetricSourcePtrOutput() ObjectMetricSourcePtrOutput
- func (o ObjectMetricSourceOutput) ToObjectMetricSourcePtrOutputWithContext(ctx context.Context) ObjectMetricSourcePtrOutput
- type ObjectMetricSourcePtrInput
- type ObjectMetricSourcePtrOutput
- func (o ObjectMetricSourcePtrOutput) DescribedObject() CrossVersionObjectReferencePtrOutput
- func (o ObjectMetricSourcePtrOutput) Elem() ObjectMetricSourceOutput
- func (ObjectMetricSourcePtrOutput) ElementType() reflect.Type
- func (o ObjectMetricSourcePtrOutput) Metric() MetricIdentifierPtrOutput
- func (o ObjectMetricSourcePtrOutput) Target() MetricTargetPtrOutput
- func (o ObjectMetricSourcePtrOutput) ToObjectMetricSourcePtrOutput() ObjectMetricSourcePtrOutput
- func (o ObjectMetricSourcePtrOutput) ToObjectMetricSourcePtrOutputWithContext(ctx context.Context) ObjectMetricSourcePtrOutput
- type ObjectMetricStatus
- type ObjectMetricStatusArgs
- func (ObjectMetricStatusArgs) ElementType() reflect.Type
- func (i ObjectMetricStatusArgs) ToObjectMetricStatusOutput() ObjectMetricStatusOutput
- func (i ObjectMetricStatusArgs) ToObjectMetricStatusOutputWithContext(ctx context.Context) ObjectMetricStatusOutput
- func (i ObjectMetricStatusArgs) ToObjectMetricStatusPtrOutput() ObjectMetricStatusPtrOutput
- func (i ObjectMetricStatusArgs) ToObjectMetricStatusPtrOutputWithContext(ctx context.Context) ObjectMetricStatusPtrOutput
- type ObjectMetricStatusInput
- type ObjectMetricStatusOutput
- func (o ObjectMetricStatusOutput) Current() MetricValueStatusOutput
- func (o ObjectMetricStatusOutput) DescribedObject() CrossVersionObjectReferenceOutput
- func (ObjectMetricStatusOutput) ElementType() reflect.Type
- func (o ObjectMetricStatusOutput) Metric() MetricIdentifierOutput
- func (o ObjectMetricStatusOutput) ToObjectMetricStatusOutput() ObjectMetricStatusOutput
- func (o ObjectMetricStatusOutput) ToObjectMetricStatusOutputWithContext(ctx context.Context) ObjectMetricStatusOutput
- func (o ObjectMetricStatusOutput) ToObjectMetricStatusPtrOutput() ObjectMetricStatusPtrOutput
- func (o ObjectMetricStatusOutput) ToObjectMetricStatusPtrOutputWithContext(ctx context.Context) ObjectMetricStatusPtrOutput
- type ObjectMetricStatusPtrInput
- type ObjectMetricStatusPtrOutput
- func (o ObjectMetricStatusPtrOutput) Current() MetricValueStatusPtrOutput
- func (o ObjectMetricStatusPtrOutput) DescribedObject() CrossVersionObjectReferencePtrOutput
- func (o ObjectMetricStatusPtrOutput) Elem() ObjectMetricStatusOutput
- func (ObjectMetricStatusPtrOutput) ElementType() reflect.Type
- func (o ObjectMetricStatusPtrOutput) Metric() MetricIdentifierPtrOutput
- func (o ObjectMetricStatusPtrOutput) ToObjectMetricStatusPtrOutput() ObjectMetricStatusPtrOutput
- func (o ObjectMetricStatusPtrOutput) ToObjectMetricStatusPtrOutputWithContext(ctx context.Context) ObjectMetricStatusPtrOutput
- type PodsMetricSource
- type PodsMetricSourceArgs
- func (PodsMetricSourceArgs) ElementType() reflect.Type
- func (i PodsMetricSourceArgs) ToPodsMetricSourceOutput() PodsMetricSourceOutput
- func (i PodsMetricSourceArgs) ToPodsMetricSourceOutputWithContext(ctx context.Context) PodsMetricSourceOutput
- func (i PodsMetricSourceArgs) ToPodsMetricSourcePtrOutput() PodsMetricSourcePtrOutput
- func (i PodsMetricSourceArgs) ToPodsMetricSourcePtrOutputWithContext(ctx context.Context) PodsMetricSourcePtrOutput
- type PodsMetricSourceInput
- type PodsMetricSourceOutput
- func (PodsMetricSourceOutput) ElementType() reflect.Type
- func (o PodsMetricSourceOutput) Metric() MetricIdentifierOutput
- func (o PodsMetricSourceOutput) Target() MetricTargetOutput
- func (o PodsMetricSourceOutput) ToPodsMetricSourceOutput() PodsMetricSourceOutput
- func (o PodsMetricSourceOutput) ToPodsMetricSourceOutputWithContext(ctx context.Context) PodsMetricSourceOutput
- func (o PodsMetricSourceOutput) ToPodsMetricSourcePtrOutput() PodsMetricSourcePtrOutput
- func (o PodsMetricSourceOutput) ToPodsMetricSourcePtrOutputWithContext(ctx context.Context) PodsMetricSourcePtrOutput
- type PodsMetricSourcePtrInput
- type PodsMetricSourcePtrOutput
- func (o PodsMetricSourcePtrOutput) Elem() PodsMetricSourceOutput
- func (PodsMetricSourcePtrOutput) ElementType() reflect.Type
- func (o PodsMetricSourcePtrOutput) Metric() MetricIdentifierPtrOutput
- func (o PodsMetricSourcePtrOutput) Target() MetricTargetPtrOutput
- func (o PodsMetricSourcePtrOutput) ToPodsMetricSourcePtrOutput() PodsMetricSourcePtrOutput
- func (o PodsMetricSourcePtrOutput) ToPodsMetricSourcePtrOutputWithContext(ctx context.Context) PodsMetricSourcePtrOutput
- type PodsMetricStatus
- type PodsMetricStatusArgs
- func (PodsMetricStatusArgs) ElementType() reflect.Type
- func (i PodsMetricStatusArgs) ToPodsMetricStatusOutput() PodsMetricStatusOutput
- func (i PodsMetricStatusArgs) ToPodsMetricStatusOutputWithContext(ctx context.Context) PodsMetricStatusOutput
- func (i PodsMetricStatusArgs) ToPodsMetricStatusPtrOutput() PodsMetricStatusPtrOutput
- func (i PodsMetricStatusArgs) ToPodsMetricStatusPtrOutputWithContext(ctx context.Context) PodsMetricStatusPtrOutput
- type PodsMetricStatusInput
- type PodsMetricStatusOutput
- func (o PodsMetricStatusOutput) Current() MetricValueStatusOutput
- func (PodsMetricStatusOutput) ElementType() reflect.Type
- func (o PodsMetricStatusOutput) Metric() MetricIdentifierOutput
- func (o PodsMetricStatusOutput) ToPodsMetricStatusOutput() PodsMetricStatusOutput
- func (o PodsMetricStatusOutput) ToPodsMetricStatusOutputWithContext(ctx context.Context) PodsMetricStatusOutput
- func (o PodsMetricStatusOutput) ToPodsMetricStatusPtrOutput() PodsMetricStatusPtrOutput
- func (o PodsMetricStatusOutput) ToPodsMetricStatusPtrOutputWithContext(ctx context.Context) PodsMetricStatusPtrOutput
- type PodsMetricStatusPtrInput
- type PodsMetricStatusPtrOutput
- func (o PodsMetricStatusPtrOutput) Current() MetricValueStatusPtrOutput
- func (o PodsMetricStatusPtrOutput) Elem() PodsMetricStatusOutput
- func (PodsMetricStatusPtrOutput) ElementType() reflect.Type
- func (o PodsMetricStatusPtrOutput) Metric() MetricIdentifierPtrOutput
- func (o PodsMetricStatusPtrOutput) ToPodsMetricStatusPtrOutput() PodsMetricStatusPtrOutput
- func (o PodsMetricStatusPtrOutput) ToPodsMetricStatusPtrOutputWithContext(ctx context.Context) PodsMetricStatusPtrOutput
- type ResourceMetricSource
- type ResourceMetricSourceArgs
- func (ResourceMetricSourceArgs) ElementType() reflect.Type
- func (i ResourceMetricSourceArgs) ToResourceMetricSourceOutput() ResourceMetricSourceOutput
- func (i ResourceMetricSourceArgs) ToResourceMetricSourceOutputWithContext(ctx context.Context) ResourceMetricSourceOutput
- func (i ResourceMetricSourceArgs) ToResourceMetricSourcePtrOutput() ResourceMetricSourcePtrOutput
- func (i ResourceMetricSourceArgs) ToResourceMetricSourcePtrOutputWithContext(ctx context.Context) ResourceMetricSourcePtrOutput
- type ResourceMetricSourceInput
- type ResourceMetricSourceOutput
- func (ResourceMetricSourceOutput) ElementType() reflect.Type
- func (o ResourceMetricSourceOutput) Name() pulumi.StringOutput
- func (o ResourceMetricSourceOutput) Target() MetricTargetOutput
- func (o ResourceMetricSourceOutput) ToResourceMetricSourceOutput() ResourceMetricSourceOutput
- func (o ResourceMetricSourceOutput) ToResourceMetricSourceOutputWithContext(ctx context.Context) ResourceMetricSourceOutput
- func (o ResourceMetricSourceOutput) ToResourceMetricSourcePtrOutput() ResourceMetricSourcePtrOutput
- func (o ResourceMetricSourceOutput) ToResourceMetricSourcePtrOutputWithContext(ctx context.Context) ResourceMetricSourcePtrOutput
- type ResourceMetricSourcePtrInput
- type ResourceMetricSourcePtrOutput
- func (o ResourceMetricSourcePtrOutput) Elem() ResourceMetricSourceOutput
- func (ResourceMetricSourcePtrOutput) ElementType() reflect.Type
- func (o ResourceMetricSourcePtrOutput) Name() pulumi.StringPtrOutput
- func (o ResourceMetricSourcePtrOutput) Target() MetricTargetPtrOutput
- func (o ResourceMetricSourcePtrOutput) ToResourceMetricSourcePtrOutput() ResourceMetricSourcePtrOutput
- func (o ResourceMetricSourcePtrOutput) ToResourceMetricSourcePtrOutputWithContext(ctx context.Context) ResourceMetricSourcePtrOutput
- type ResourceMetricStatus
- type ResourceMetricStatusArgs
- func (ResourceMetricStatusArgs) ElementType() reflect.Type
- func (i ResourceMetricStatusArgs) ToResourceMetricStatusOutput() ResourceMetricStatusOutput
- func (i ResourceMetricStatusArgs) ToResourceMetricStatusOutputWithContext(ctx context.Context) ResourceMetricStatusOutput
- func (i ResourceMetricStatusArgs) ToResourceMetricStatusPtrOutput() ResourceMetricStatusPtrOutput
- func (i ResourceMetricStatusArgs) ToResourceMetricStatusPtrOutputWithContext(ctx context.Context) ResourceMetricStatusPtrOutput
- type ResourceMetricStatusInput
- type ResourceMetricStatusOutput
- func (o ResourceMetricStatusOutput) Current() MetricValueStatusOutput
- func (ResourceMetricStatusOutput) ElementType() reflect.Type
- func (o ResourceMetricStatusOutput) Name() pulumi.StringOutput
- func (o ResourceMetricStatusOutput) ToResourceMetricStatusOutput() ResourceMetricStatusOutput
- func (o ResourceMetricStatusOutput) ToResourceMetricStatusOutputWithContext(ctx context.Context) ResourceMetricStatusOutput
- func (o ResourceMetricStatusOutput) ToResourceMetricStatusPtrOutput() ResourceMetricStatusPtrOutput
- func (o ResourceMetricStatusOutput) ToResourceMetricStatusPtrOutputWithContext(ctx context.Context) ResourceMetricStatusPtrOutput
- type ResourceMetricStatusPtrInput
- type ResourceMetricStatusPtrOutput
- func (o ResourceMetricStatusPtrOutput) Current() MetricValueStatusPtrOutput
- func (o ResourceMetricStatusPtrOutput) Elem() ResourceMetricStatusOutput
- func (ResourceMetricStatusPtrOutput) ElementType() reflect.Type
- func (o ResourceMetricStatusPtrOutput) Name() pulumi.StringPtrOutput
- func (o ResourceMetricStatusPtrOutput) ToResourceMetricStatusPtrOutput() ResourceMetricStatusPtrOutput
- func (o ResourceMetricStatusPtrOutput) ToResourceMetricStatusPtrOutputWithContext(ctx context.Context) ResourceMetricStatusPtrOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerResourceMetricSource ¶
type ContainerResourceMetricSource struct { // container is the name of the container in the pods of the scaling target Container string `pulumi:"container"` // name is the name of the resource in question. Name string `pulumi:"name"` // target specifies the target value for the given metric Target MetricTarget `pulumi:"target"` }
ContainerResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.
type ContainerResourceMetricSourceArgs ¶
type ContainerResourceMetricSourceArgs struct { // container is the name of the container in the pods of the scaling target Container pulumi.StringInput `pulumi:"container"` // name is the name of the resource in question. Name pulumi.StringInput `pulumi:"name"` // target specifies the target value for the given metric Target MetricTargetInput `pulumi:"target"` }
ContainerResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.
func (ContainerResourceMetricSourceArgs) ElementType ¶
func (ContainerResourceMetricSourceArgs) ElementType() reflect.Type
func (ContainerResourceMetricSourceArgs) ToContainerResourceMetricSourceOutput ¶
func (i ContainerResourceMetricSourceArgs) ToContainerResourceMetricSourceOutput() ContainerResourceMetricSourceOutput
func (ContainerResourceMetricSourceArgs) ToContainerResourceMetricSourceOutputWithContext ¶
func (i ContainerResourceMetricSourceArgs) ToContainerResourceMetricSourceOutputWithContext(ctx context.Context) ContainerResourceMetricSourceOutput
func (ContainerResourceMetricSourceArgs) ToContainerResourceMetricSourcePtrOutput ¶
func (i ContainerResourceMetricSourceArgs) ToContainerResourceMetricSourcePtrOutput() ContainerResourceMetricSourcePtrOutput
func (ContainerResourceMetricSourceArgs) ToContainerResourceMetricSourcePtrOutputWithContext ¶
func (i ContainerResourceMetricSourceArgs) ToContainerResourceMetricSourcePtrOutputWithContext(ctx context.Context) ContainerResourceMetricSourcePtrOutput
type ContainerResourceMetricSourceInput ¶
type ContainerResourceMetricSourceInput interface { pulumi.Input ToContainerResourceMetricSourceOutput() ContainerResourceMetricSourceOutput ToContainerResourceMetricSourceOutputWithContext(context.Context) ContainerResourceMetricSourceOutput }
ContainerResourceMetricSourceInput is an input type that accepts ContainerResourceMetricSourceArgs and ContainerResourceMetricSourceOutput values. You can construct a concrete instance of `ContainerResourceMetricSourceInput` via:
ContainerResourceMetricSourceArgs{...}
type ContainerResourceMetricSourceOutput ¶
type ContainerResourceMetricSourceOutput struct{ *pulumi.OutputState }
ContainerResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.
func (ContainerResourceMetricSourceOutput) Container ¶
func (o ContainerResourceMetricSourceOutput) Container() pulumi.StringOutput
container is the name of the container in the pods of the scaling target
func (ContainerResourceMetricSourceOutput) ElementType ¶
func (ContainerResourceMetricSourceOutput) ElementType() reflect.Type
func (ContainerResourceMetricSourceOutput) Name ¶
func (o ContainerResourceMetricSourceOutput) Name() pulumi.StringOutput
name is the name of the resource in question.
func (ContainerResourceMetricSourceOutput) Target ¶
func (o ContainerResourceMetricSourceOutput) Target() MetricTargetOutput
target specifies the target value for the given metric
func (ContainerResourceMetricSourceOutput) ToContainerResourceMetricSourceOutput ¶
func (o ContainerResourceMetricSourceOutput) ToContainerResourceMetricSourceOutput() ContainerResourceMetricSourceOutput
func (ContainerResourceMetricSourceOutput) ToContainerResourceMetricSourceOutputWithContext ¶
func (o ContainerResourceMetricSourceOutput) ToContainerResourceMetricSourceOutputWithContext(ctx context.Context) ContainerResourceMetricSourceOutput
func (ContainerResourceMetricSourceOutput) ToContainerResourceMetricSourcePtrOutput ¶
func (o ContainerResourceMetricSourceOutput) ToContainerResourceMetricSourcePtrOutput() ContainerResourceMetricSourcePtrOutput
func (ContainerResourceMetricSourceOutput) ToContainerResourceMetricSourcePtrOutputWithContext ¶
func (o ContainerResourceMetricSourceOutput) ToContainerResourceMetricSourcePtrOutputWithContext(ctx context.Context) ContainerResourceMetricSourcePtrOutput
type ContainerResourceMetricSourcePtrInput ¶
type ContainerResourceMetricSourcePtrInput interface { pulumi.Input ToContainerResourceMetricSourcePtrOutput() ContainerResourceMetricSourcePtrOutput ToContainerResourceMetricSourcePtrOutputWithContext(context.Context) ContainerResourceMetricSourcePtrOutput }
ContainerResourceMetricSourcePtrInput is an input type that accepts ContainerResourceMetricSourceArgs, ContainerResourceMetricSourcePtr and ContainerResourceMetricSourcePtrOutput values. You can construct a concrete instance of `ContainerResourceMetricSourcePtrInput` via:
ContainerResourceMetricSourceArgs{...} or: nil
func ContainerResourceMetricSourcePtr ¶
func ContainerResourceMetricSourcePtr(v *ContainerResourceMetricSourceArgs) ContainerResourceMetricSourcePtrInput
type ContainerResourceMetricSourcePtrOutput ¶
type ContainerResourceMetricSourcePtrOutput struct{ *pulumi.OutputState }
func (ContainerResourceMetricSourcePtrOutput) Container ¶
func (o ContainerResourceMetricSourcePtrOutput) Container() pulumi.StringPtrOutput
container is the name of the container in the pods of the scaling target
func (ContainerResourceMetricSourcePtrOutput) ElementType ¶
func (ContainerResourceMetricSourcePtrOutput) ElementType() reflect.Type
func (ContainerResourceMetricSourcePtrOutput) Name ¶
func (o ContainerResourceMetricSourcePtrOutput) Name() pulumi.StringPtrOutput
name is the name of the resource in question.
func (ContainerResourceMetricSourcePtrOutput) Target ¶
func (o ContainerResourceMetricSourcePtrOutput) Target() MetricTargetPtrOutput
target specifies the target value for the given metric
func (ContainerResourceMetricSourcePtrOutput) ToContainerResourceMetricSourcePtrOutput ¶
func (o ContainerResourceMetricSourcePtrOutput) ToContainerResourceMetricSourcePtrOutput() ContainerResourceMetricSourcePtrOutput
func (ContainerResourceMetricSourcePtrOutput) ToContainerResourceMetricSourcePtrOutputWithContext ¶
func (o ContainerResourceMetricSourcePtrOutput) ToContainerResourceMetricSourcePtrOutputWithContext(ctx context.Context) ContainerResourceMetricSourcePtrOutput
type ContainerResourceMetricStatus ¶
type ContainerResourceMetricStatus struct { // Container is the name of the container in the pods of the scaling target Container string `pulumi:"container"` // current contains the current value for the given metric Current MetricValueStatus `pulumi:"current"` // Name is the name of the resource in question. Name string `pulumi:"name"` }
ContainerResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
type ContainerResourceMetricStatusArgs ¶
type ContainerResourceMetricStatusArgs struct { // Container is the name of the container in the pods of the scaling target Container pulumi.StringInput `pulumi:"container"` // current contains the current value for the given metric Current MetricValueStatusInput `pulumi:"current"` // Name is the name of the resource in question. Name pulumi.StringInput `pulumi:"name"` }
ContainerResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
func (ContainerResourceMetricStatusArgs) ElementType ¶
func (ContainerResourceMetricStatusArgs) ElementType() reflect.Type
func (ContainerResourceMetricStatusArgs) ToContainerResourceMetricStatusOutput ¶
func (i ContainerResourceMetricStatusArgs) ToContainerResourceMetricStatusOutput() ContainerResourceMetricStatusOutput
func (ContainerResourceMetricStatusArgs) ToContainerResourceMetricStatusOutputWithContext ¶
func (i ContainerResourceMetricStatusArgs) ToContainerResourceMetricStatusOutputWithContext(ctx context.Context) ContainerResourceMetricStatusOutput
func (ContainerResourceMetricStatusArgs) ToContainerResourceMetricStatusPtrOutput ¶
func (i ContainerResourceMetricStatusArgs) ToContainerResourceMetricStatusPtrOutput() ContainerResourceMetricStatusPtrOutput
func (ContainerResourceMetricStatusArgs) ToContainerResourceMetricStatusPtrOutputWithContext ¶
func (i ContainerResourceMetricStatusArgs) ToContainerResourceMetricStatusPtrOutputWithContext(ctx context.Context) ContainerResourceMetricStatusPtrOutput
type ContainerResourceMetricStatusInput ¶
type ContainerResourceMetricStatusInput interface { pulumi.Input ToContainerResourceMetricStatusOutput() ContainerResourceMetricStatusOutput ToContainerResourceMetricStatusOutputWithContext(context.Context) ContainerResourceMetricStatusOutput }
ContainerResourceMetricStatusInput is an input type that accepts ContainerResourceMetricStatusArgs and ContainerResourceMetricStatusOutput values. You can construct a concrete instance of `ContainerResourceMetricStatusInput` via:
ContainerResourceMetricStatusArgs{...}
type ContainerResourceMetricStatusOutput ¶
type ContainerResourceMetricStatusOutput struct{ *pulumi.OutputState }
ContainerResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
func (ContainerResourceMetricStatusOutput) Container ¶
func (o ContainerResourceMetricStatusOutput) Container() pulumi.StringOutput
Container is the name of the container in the pods of the scaling target
func (ContainerResourceMetricStatusOutput) Current ¶
func (o ContainerResourceMetricStatusOutput) Current() MetricValueStatusOutput
current contains the current value for the given metric
func (ContainerResourceMetricStatusOutput) ElementType ¶
func (ContainerResourceMetricStatusOutput) ElementType() reflect.Type
func (ContainerResourceMetricStatusOutput) Name ¶
func (o ContainerResourceMetricStatusOutput) Name() pulumi.StringOutput
Name is the name of the resource in question.
func (ContainerResourceMetricStatusOutput) ToContainerResourceMetricStatusOutput ¶
func (o ContainerResourceMetricStatusOutput) ToContainerResourceMetricStatusOutput() ContainerResourceMetricStatusOutput
func (ContainerResourceMetricStatusOutput) ToContainerResourceMetricStatusOutputWithContext ¶
func (o ContainerResourceMetricStatusOutput) ToContainerResourceMetricStatusOutputWithContext(ctx context.Context) ContainerResourceMetricStatusOutput
func (ContainerResourceMetricStatusOutput) ToContainerResourceMetricStatusPtrOutput ¶
func (o ContainerResourceMetricStatusOutput) ToContainerResourceMetricStatusPtrOutput() ContainerResourceMetricStatusPtrOutput
func (ContainerResourceMetricStatusOutput) ToContainerResourceMetricStatusPtrOutputWithContext ¶
func (o ContainerResourceMetricStatusOutput) ToContainerResourceMetricStatusPtrOutputWithContext(ctx context.Context) ContainerResourceMetricStatusPtrOutput
type ContainerResourceMetricStatusPtrInput ¶
type ContainerResourceMetricStatusPtrInput interface { pulumi.Input ToContainerResourceMetricStatusPtrOutput() ContainerResourceMetricStatusPtrOutput ToContainerResourceMetricStatusPtrOutputWithContext(context.Context) ContainerResourceMetricStatusPtrOutput }
ContainerResourceMetricStatusPtrInput is an input type that accepts ContainerResourceMetricStatusArgs, ContainerResourceMetricStatusPtr and ContainerResourceMetricStatusPtrOutput values. You can construct a concrete instance of `ContainerResourceMetricStatusPtrInput` via:
ContainerResourceMetricStatusArgs{...} or: nil
func ContainerResourceMetricStatusPtr ¶
func ContainerResourceMetricStatusPtr(v *ContainerResourceMetricStatusArgs) ContainerResourceMetricStatusPtrInput
type ContainerResourceMetricStatusPtrOutput ¶
type ContainerResourceMetricStatusPtrOutput struct{ *pulumi.OutputState }
func (ContainerResourceMetricStatusPtrOutput) Container ¶
func (o ContainerResourceMetricStatusPtrOutput) Container() pulumi.StringPtrOutput
Container is the name of the container in the pods of the scaling target
func (ContainerResourceMetricStatusPtrOutput) Current ¶
func (o ContainerResourceMetricStatusPtrOutput) Current() MetricValueStatusPtrOutput
current contains the current value for the given metric
func (ContainerResourceMetricStatusPtrOutput) ElementType ¶
func (ContainerResourceMetricStatusPtrOutput) ElementType() reflect.Type
func (ContainerResourceMetricStatusPtrOutput) Name ¶
func (o ContainerResourceMetricStatusPtrOutput) Name() pulumi.StringPtrOutput
Name is the name of the resource in question.
func (ContainerResourceMetricStatusPtrOutput) ToContainerResourceMetricStatusPtrOutput ¶
func (o ContainerResourceMetricStatusPtrOutput) ToContainerResourceMetricStatusPtrOutput() ContainerResourceMetricStatusPtrOutput
func (ContainerResourceMetricStatusPtrOutput) ToContainerResourceMetricStatusPtrOutputWithContext ¶
func (o ContainerResourceMetricStatusPtrOutput) ToContainerResourceMetricStatusPtrOutputWithContext(ctx context.Context) ContainerResourceMetricStatusPtrOutput
type CrossVersionObjectReference ¶
type CrossVersionObjectReference struct { // API version of the referent ApiVersion *string `pulumi:"apiVersion"` // Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" Kind string `pulumi:"kind"` // Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names Name string `pulumi:"name"` }
CrossVersionObjectReference contains enough information to let you identify the referred resource.
type CrossVersionObjectReferenceArgs ¶
type CrossVersionObjectReferenceArgs struct { // API version of the referent ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"` // Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" Kind pulumi.StringInput `pulumi:"kind"` // Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names Name pulumi.StringInput `pulumi:"name"` }
CrossVersionObjectReference contains enough information to let you identify the referred resource.
func (CrossVersionObjectReferenceArgs) ElementType ¶
func (CrossVersionObjectReferenceArgs) ElementType() reflect.Type
func (CrossVersionObjectReferenceArgs) ToCrossVersionObjectReferenceOutput ¶
func (i CrossVersionObjectReferenceArgs) ToCrossVersionObjectReferenceOutput() CrossVersionObjectReferenceOutput
func (CrossVersionObjectReferenceArgs) ToCrossVersionObjectReferenceOutputWithContext ¶
func (i CrossVersionObjectReferenceArgs) ToCrossVersionObjectReferenceOutputWithContext(ctx context.Context) CrossVersionObjectReferenceOutput
func (CrossVersionObjectReferenceArgs) ToCrossVersionObjectReferencePtrOutput ¶
func (i CrossVersionObjectReferenceArgs) ToCrossVersionObjectReferencePtrOutput() CrossVersionObjectReferencePtrOutput
func (CrossVersionObjectReferenceArgs) ToCrossVersionObjectReferencePtrOutputWithContext ¶
func (i CrossVersionObjectReferenceArgs) ToCrossVersionObjectReferencePtrOutputWithContext(ctx context.Context) CrossVersionObjectReferencePtrOutput
type CrossVersionObjectReferenceInput ¶
type CrossVersionObjectReferenceInput interface { pulumi.Input ToCrossVersionObjectReferenceOutput() CrossVersionObjectReferenceOutput ToCrossVersionObjectReferenceOutputWithContext(context.Context) CrossVersionObjectReferenceOutput }
CrossVersionObjectReferenceInput is an input type that accepts CrossVersionObjectReferenceArgs and CrossVersionObjectReferenceOutput values. You can construct a concrete instance of `CrossVersionObjectReferenceInput` via:
CrossVersionObjectReferenceArgs{...}
type CrossVersionObjectReferenceOutput ¶
type CrossVersionObjectReferenceOutput struct{ *pulumi.OutputState }
CrossVersionObjectReference contains enough information to let you identify the referred resource.
func (CrossVersionObjectReferenceOutput) ApiVersion ¶
func (o CrossVersionObjectReferenceOutput) ApiVersion() pulumi.StringPtrOutput
API version of the referent
func (CrossVersionObjectReferenceOutput) ElementType ¶
func (CrossVersionObjectReferenceOutput) ElementType() reflect.Type
func (CrossVersionObjectReferenceOutput) Kind ¶
func (o CrossVersionObjectReferenceOutput) Kind() pulumi.StringOutput
Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
func (CrossVersionObjectReferenceOutput) Name ¶
func (o CrossVersionObjectReferenceOutput) Name() pulumi.StringOutput
Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
func (CrossVersionObjectReferenceOutput) ToCrossVersionObjectReferenceOutput ¶
func (o CrossVersionObjectReferenceOutput) ToCrossVersionObjectReferenceOutput() CrossVersionObjectReferenceOutput
func (CrossVersionObjectReferenceOutput) ToCrossVersionObjectReferenceOutputWithContext ¶
func (o CrossVersionObjectReferenceOutput) ToCrossVersionObjectReferenceOutputWithContext(ctx context.Context) CrossVersionObjectReferenceOutput
func (CrossVersionObjectReferenceOutput) ToCrossVersionObjectReferencePtrOutput ¶
func (o CrossVersionObjectReferenceOutput) ToCrossVersionObjectReferencePtrOutput() CrossVersionObjectReferencePtrOutput
func (CrossVersionObjectReferenceOutput) ToCrossVersionObjectReferencePtrOutputWithContext ¶
func (o CrossVersionObjectReferenceOutput) ToCrossVersionObjectReferencePtrOutputWithContext(ctx context.Context) CrossVersionObjectReferencePtrOutput
type CrossVersionObjectReferencePtrInput ¶
type CrossVersionObjectReferencePtrInput interface { pulumi.Input ToCrossVersionObjectReferencePtrOutput() CrossVersionObjectReferencePtrOutput ToCrossVersionObjectReferencePtrOutputWithContext(context.Context) CrossVersionObjectReferencePtrOutput }
CrossVersionObjectReferencePtrInput is an input type that accepts CrossVersionObjectReferenceArgs, CrossVersionObjectReferencePtr and CrossVersionObjectReferencePtrOutput values. You can construct a concrete instance of `CrossVersionObjectReferencePtrInput` via:
CrossVersionObjectReferenceArgs{...} or: nil
func CrossVersionObjectReferencePtr ¶
func CrossVersionObjectReferencePtr(v *CrossVersionObjectReferenceArgs) CrossVersionObjectReferencePtrInput
type CrossVersionObjectReferencePtrOutput ¶
type CrossVersionObjectReferencePtrOutput struct{ *pulumi.OutputState }
func (CrossVersionObjectReferencePtrOutput) ApiVersion ¶
func (o CrossVersionObjectReferencePtrOutput) ApiVersion() pulumi.StringPtrOutput
API version of the referent
func (CrossVersionObjectReferencePtrOutput) ElementType ¶
func (CrossVersionObjectReferencePtrOutput) ElementType() reflect.Type
func (CrossVersionObjectReferencePtrOutput) Kind ¶
func (o CrossVersionObjectReferencePtrOutput) Kind() pulumi.StringPtrOutput
Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
func (CrossVersionObjectReferencePtrOutput) Name ¶
func (o CrossVersionObjectReferencePtrOutput) Name() pulumi.StringPtrOutput
Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
func (CrossVersionObjectReferencePtrOutput) ToCrossVersionObjectReferencePtrOutput ¶
func (o CrossVersionObjectReferencePtrOutput) ToCrossVersionObjectReferencePtrOutput() CrossVersionObjectReferencePtrOutput
func (CrossVersionObjectReferencePtrOutput) ToCrossVersionObjectReferencePtrOutputWithContext ¶
func (o CrossVersionObjectReferencePtrOutput) ToCrossVersionObjectReferencePtrOutputWithContext(ctx context.Context) CrossVersionObjectReferencePtrOutput
type ExternalMetricSource ¶
type ExternalMetricSource struct { // metric identifies the target metric by name and selector Metric MetricIdentifier `pulumi:"metric"` // target specifies the target value for the given metric Target MetricTarget `pulumi:"target"` }
ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).
type ExternalMetricSourceArgs ¶
type ExternalMetricSourceArgs struct { // metric identifies the target metric by name and selector Metric MetricIdentifierInput `pulumi:"metric"` // target specifies the target value for the given metric Target MetricTargetInput `pulumi:"target"` }
ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).
func (ExternalMetricSourceArgs) ElementType ¶
func (ExternalMetricSourceArgs) ElementType() reflect.Type
func (ExternalMetricSourceArgs) ToExternalMetricSourceOutput ¶
func (i ExternalMetricSourceArgs) ToExternalMetricSourceOutput() ExternalMetricSourceOutput
func (ExternalMetricSourceArgs) ToExternalMetricSourceOutputWithContext ¶
func (i ExternalMetricSourceArgs) ToExternalMetricSourceOutputWithContext(ctx context.Context) ExternalMetricSourceOutput
func (ExternalMetricSourceArgs) ToExternalMetricSourcePtrOutput ¶
func (i ExternalMetricSourceArgs) ToExternalMetricSourcePtrOutput() ExternalMetricSourcePtrOutput
func (ExternalMetricSourceArgs) ToExternalMetricSourcePtrOutputWithContext ¶
func (i ExternalMetricSourceArgs) ToExternalMetricSourcePtrOutputWithContext(ctx context.Context) ExternalMetricSourcePtrOutput
type ExternalMetricSourceInput ¶
type ExternalMetricSourceInput interface { pulumi.Input ToExternalMetricSourceOutput() ExternalMetricSourceOutput ToExternalMetricSourceOutputWithContext(context.Context) ExternalMetricSourceOutput }
ExternalMetricSourceInput is an input type that accepts ExternalMetricSourceArgs and ExternalMetricSourceOutput values. You can construct a concrete instance of `ExternalMetricSourceInput` via:
ExternalMetricSourceArgs{...}
type ExternalMetricSourceOutput ¶
type ExternalMetricSourceOutput struct{ *pulumi.OutputState }
ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).
func (ExternalMetricSourceOutput) ElementType ¶
func (ExternalMetricSourceOutput) ElementType() reflect.Type
func (ExternalMetricSourceOutput) Metric ¶
func (o ExternalMetricSourceOutput) Metric() MetricIdentifierOutput
metric identifies the target metric by name and selector
func (ExternalMetricSourceOutput) Target ¶
func (o ExternalMetricSourceOutput) Target() MetricTargetOutput
target specifies the target value for the given metric
func (ExternalMetricSourceOutput) ToExternalMetricSourceOutput ¶
func (o ExternalMetricSourceOutput) ToExternalMetricSourceOutput() ExternalMetricSourceOutput
func (ExternalMetricSourceOutput) ToExternalMetricSourceOutputWithContext ¶
func (o ExternalMetricSourceOutput) ToExternalMetricSourceOutputWithContext(ctx context.Context) ExternalMetricSourceOutput
func (ExternalMetricSourceOutput) ToExternalMetricSourcePtrOutput ¶
func (o ExternalMetricSourceOutput) ToExternalMetricSourcePtrOutput() ExternalMetricSourcePtrOutput
func (ExternalMetricSourceOutput) ToExternalMetricSourcePtrOutputWithContext ¶
func (o ExternalMetricSourceOutput) ToExternalMetricSourcePtrOutputWithContext(ctx context.Context) ExternalMetricSourcePtrOutput
type ExternalMetricSourcePtrInput ¶
type ExternalMetricSourcePtrInput interface { pulumi.Input ToExternalMetricSourcePtrOutput() ExternalMetricSourcePtrOutput ToExternalMetricSourcePtrOutputWithContext(context.Context) ExternalMetricSourcePtrOutput }
ExternalMetricSourcePtrInput is an input type that accepts ExternalMetricSourceArgs, ExternalMetricSourcePtr and ExternalMetricSourcePtrOutput values. You can construct a concrete instance of `ExternalMetricSourcePtrInput` via:
ExternalMetricSourceArgs{...} or: nil
func ExternalMetricSourcePtr ¶
func ExternalMetricSourcePtr(v *ExternalMetricSourceArgs) ExternalMetricSourcePtrInput
type ExternalMetricSourcePtrOutput ¶
type ExternalMetricSourcePtrOutput struct{ *pulumi.OutputState }
func (ExternalMetricSourcePtrOutput) Elem ¶
func (o ExternalMetricSourcePtrOutput) Elem() ExternalMetricSourceOutput
func (ExternalMetricSourcePtrOutput) ElementType ¶
func (ExternalMetricSourcePtrOutput) ElementType() reflect.Type
func (ExternalMetricSourcePtrOutput) Metric ¶
func (o ExternalMetricSourcePtrOutput) Metric() MetricIdentifierPtrOutput
metric identifies the target metric by name and selector
func (ExternalMetricSourcePtrOutput) Target ¶
func (o ExternalMetricSourcePtrOutput) Target() MetricTargetPtrOutput
target specifies the target value for the given metric
func (ExternalMetricSourcePtrOutput) ToExternalMetricSourcePtrOutput ¶
func (o ExternalMetricSourcePtrOutput) ToExternalMetricSourcePtrOutput() ExternalMetricSourcePtrOutput
func (ExternalMetricSourcePtrOutput) ToExternalMetricSourcePtrOutputWithContext ¶
func (o ExternalMetricSourcePtrOutput) ToExternalMetricSourcePtrOutputWithContext(ctx context.Context) ExternalMetricSourcePtrOutput
type ExternalMetricStatus ¶
type ExternalMetricStatus struct { // current contains the current value for the given metric Current MetricValueStatus `pulumi:"current"` // metric identifies the target metric by name and selector Metric MetricIdentifier `pulumi:"metric"` }
ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.
type ExternalMetricStatusArgs ¶
type ExternalMetricStatusArgs struct { // current contains the current value for the given metric Current MetricValueStatusInput `pulumi:"current"` // metric identifies the target metric by name and selector Metric MetricIdentifierInput `pulumi:"metric"` }
ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.
func (ExternalMetricStatusArgs) ElementType ¶
func (ExternalMetricStatusArgs) ElementType() reflect.Type
func (ExternalMetricStatusArgs) ToExternalMetricStatusOutput ¶
func (i ExternalMetricStatusArgs) ToExternalMetricStatusOutput() ExternalMetricStatusOutput
func (ExternalMetricStatusArgs) ToExternalMetricStatusOutputWithContext ¶
func (i ExternalMetricStatusArgs) ToExternalMetricStatusOutputWithContext(ctx context.Context) ExternalMetricStatusOutput
func (ExternalMetricStatusArgs) ToExternalMetricStatusPtrOutput ¶
func (i ExternalMetricStatusArgs) ToExternalMetricStatusPtrOutput() ExternalMetricStatusPtrOutput
func (ExternalMetricStatusArgs) ToExternalMetricStatusPtrOutputWithContext ¶
func (i ExternalMetricStatusArgs) ToExternalMetricStatusPtrOutputWithContext(ctx context.Context) ExternalMetricStatusPtrOutput
type ExternalMetricStatusInput ¶
type ExternalMetricStatusInput interface { pulumi.Input ToExternalMetricStatusOutput() ExternalMetricStatusOutput ToExternalMetricStatusOutputWithContext(context.Context) ExternalMetricStatusOutput }
ExternalMetricStatusInput is an input type that accepts ExternalMetricStatusArgs and ExternalMetricStatusOutput values. You can construct a concrete instance of `ExternalMetricStatusInput` via:
ExternalMetricStatusArgs{...}
type ExternalMetricStatusOutput ¶
type ExternalMetricStatusOutput struct{ *pulumi.OutputState }
ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.
func (ExternalMetricStatusOutput) Current ¶
func (o ExternalMetricStatusOutput) Current() MetricValueStatusOutput
current contains the current value for the given metric
func (ExternalMetricStatusOutput) ElementType ¶
func (ExternalMetricStatusOutput) ElementType() reflect.Type
func (ExternalMetricStatusOutput) Metric ¶
func (o ExternalMetricStatusOutput) Metric() MetricIdentifierOutput
metric identifies the target metric by name and selector
func (ExternalMetricStatusOutput) ToExternalMetricStatusOutput ¶
func (o ExternalMetricStatusOutput) ToExternalMetricStatusOutput() ExternalMetricStatusOutput
func (ExternalMetricStatusOutput) ToExternalMetricStatusOutputWithContext ¶
func (o ExternalMetricStatusOutput) ToExternalMetricStatusOutputWithContext(ctx context.Context) ExternalMetricStatusOutput
func (ExternalMetricStatusOutput) ToExternalMetricStatusPtrOutput ¶
func (o ExternalMetricStatusOutput) ToExternalMetricStatusPtrOutput() ExternalMetricStatusPtrOutput
func (ExternalMetricStatusOutput) ToExternalMetricStatusPtrOutputWithContext ¶
func (o ExternalMetricStatusOutput) ToExternalMetricStatusPtrOutputWithContext(ctx context.Context) ExternalMetricStatusPtrOutput
type ExternalMetricStatusPtrInput ¶
type ExternalMetricStatusPtrInput interface { pulumi.Input ToExternalMetricStatusPtrOutput() ExternalMetricStatusPtrOutput ToExternalMetricStatusPtrOutputWithContext(context.Context) ExternalMetricStatusPtrOutput }
ExternalMetricStatusPtrInput is an input type that accepts ExternalMetricStatusArgs, ExternalMetricStatusPtr and ExternalMetricStatusPtrOutput values. You can construct a concrete instance of `ExternalMetricStatusPtrInput` via:
ExternalMetricStatusArgs{...} or: nil
func ExternalMetricStatusPtr ¶
func ExternalMetricStatusPtr(v *ExternalMetricStatusArgs) ExternalMetricStatusPtrInput
type ExternalMetricStatusPtrOutput ¶
type ExternalMetricStatusPtrOutput struct{ *pulumi.OutputState }
func (ExternalMetricStatusPtrOutput) Current ¶
func (o ExternalMetricStatusPtrOutput) Current() MetricValueStatusPtrOutput
current contains the current value for the given metric
func (ExternalMetricStatusPtrOutput) Elem ¶
func (o ExternalMetricStatusPtrOutput) Elem() ExternalMetricStatusOutput
func (ExternalMetricStatusPtrOutput) ElementType ¶
func (ExternalMetricStatusPtrOutput) ElementType() reflect.Type
func (ExternalMetricStatusPtrOutput) Metric ¶
func (o ExternalMetricStatusPtrOutput) Metric() MetricIdentifierPtrOutput
metric identifies the target metric by name and selector
func (ExternalMetricStatusPtrOutput) ToExternalMetricStatusPtrOutput ¶
func (o ExternalMetricStatusPtrOutput) ToExternalMetricStatusPtrOutput() ExternalMetricStatusPtrOutput
func (ExternalMetricStatusPtrOutput) ToExternalMetricStatusPtrOutputWithContext ¶
func (o ExternalMetricStatusPtrOutput) ToExternalMetricStatusPtrOutputWithContext(ctx context.Context) ExternalMetricStatusPtrOutput
type HPAScalingPolicy ¶
type HPAScalingPolicy struct { // PeriodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min). PeriodSeconds int `pulumi:"periodSeconds"` // Type is used to specify the scaling policy. Type string `pulumi:"type"` // Value contains the amount of change which is permitted by the policy. It must be greater than zero Value int `pulumi:"value"` }
HPAScalingPolicy is a single policy which must hold true for a specified past interval.
type HPAScalingPolicyArgs ¶
type HPAScalingPolicyArgs struct { // PeriodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min). PeriodSeconds pulumi.IntInput `pulumi:"periodSeconds"` // Type is used to specify the scaling policy. Type pulumi.StringInput `pulumi:"type"` // Value contains the amount of change which is permitted by the policy. It must be greater than zero Value pulumi.IntInput `pulumi:"value"` }
HPAScalingPolicy is a single policy which must hold true for a specified past interval.
func (HPAScalingPolicyArgs) ElementType ¶
func (HPAScalingPolicyArgs) ElementType() reflect.Type
func (HPAScalingPolicyArgs) ToHPAScalingPolicyOutput ¶
func (i HPAScalingPolicyArgs) ToHPAScalingPolicyOutput() HPAScalingPolicyOutput
func (HPAScalingPolicyArgs) ToHPAScalingPolicyOutputWithContext ¶
func (i HPAScalingPolicyArgs) ToHPAScalingPolicyOutputWithContext(ctx context.Context) HPAScalingPolicyOutput
type HPAScalingPolicyArray ¶
type HPAScalingPolicyArray []HPAScalingPolicyInput
func (HPAScalingPolicyArray) ElementType ¶
func (HPAScalingPolicyArray) ElementType() reflect.Type
func (HPAScalingPolicyArray) ToHPAScalingPolicyArrayOutput ¶
func (i HPAScalingPolicyArray) ToHPAScalingPolicyArrayOutput() HPAScalingPolicyArrayOutput
func (HPAScalingPolicyArray) ToHPAScalingPolicyArrayOutputWithContext ¶
func (i HPAScalingPolicyArray) ToHPAScalingPolicyArrayOutputWithContext(ctx context.Context) HPAScalingPolicyArrayOutput
type HPAScalingPolicyArrayInput ¶
type HPAScalingPolicyArrayInput interface { pulumi.Input ToHPAScalingPolicyArrayOutput() HPAScalingPolicyArrayOutput ToHPAScalingPolicyArrayOutputWithContext(context.Context) HPAScalingPolicyArrayOutput }
HPAScalingPolicyArrayInput is an input type that accepts HPAScalingPolicyArray and HPAScalingPolicyArrayOutput values. You can construct a concrete instance of `HPAScalingPolicyArrayInput` via:
HPAScalingPolicyArray{ HPAScalingPolicyArgs{...} }
type HPAScalingPolicyArrayOutput ¶
type HPAScalingPolicyArrayOutput struct{ *pulumi.OutputState }
func (HPAScalingPolicyArrayOutput) ElementType ¶
func (HPAScalingPolicyArrayOutput) ElementType() reflect.Type
func (HPAScalingPolicyArrayOutput) Index ¶
func (o HPAScalingPolicyArrayOutput) Index(i pulumi.IntInput) HPAScalingPolicyOutput
func (HPAScalingPolicyArrayOutput) ToHPAScalingPolicyArrayOutput ¶
func (o HPAScalingPolicyArrayOutput) ToHPAScalingPolicyArrayOutput() HPAScalingPolicyArrayOutput
func (HPAScalingPolicyArrayOutput) ToHPAScalingPolicyArrayOutputWithContext ¶
func (o HPAScalingPolicyArrayOutput) ToHPAScalingPolicyArrayOutputWithContext(ctx context.Context) HPAScalingPolicyArrayOutput
type HPAScalingPolicyInput ¶
type HPAScalingPolicyInput interface { pulumi.Input ToHPAScalingPolicyOutput() HPAScalingPolicyOutput ToHPAScalingPolicyOutputWithContext(context.Context) HPAScalingPolicyOutput }
HPAScalingPolicyInput is an input type that accepts HPAScalingPolicyArgs and HPAScalingPolicyOutput values. You can construct a concrete instance of `HPAScalingPolicyInput` via:
HPAScalingPolicyArgs{...}
type HPAScalingPolicyOutput ¶
type HPAScalingPolicyOutput struct{ *pulumi.OutputState }
HPAScalingPolicy is a single policy which must hold true for a specified past interval.
func (HPAScalingPolicyOutput) ElementType ¶
func (HPAScalingPolicyOutput) ElementType() reflect.Type
func (HPAScalingPolicyOutput) PeriodSeconds ¶
func (o HPAScalingPolicyOutput) PeriodSeconds() pulumi.IntOutput
PeriodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
func (HPAScalingPolicyOutput) ToHPAScalingPolicyOutput ¶
func (o HPAScalingPolicyOutput) ToHPAScalingPolicyOutput() HPAScalingPolicyOutput
func (HPAScalingPolicyOutput) ToHPAScalingPolicyOutputWithContext ¶
func (o HPAScalingPolicyOutput) ToHPAScalingPolicyOutputWithContext(ctx context.Context) HPAScalingPolicyOutput
func (HPAScalingPolicyOutput) Type ¶
func (o HPAScalingPolicyOutput) Type() pulumi.StringOutput
Type is used to specify the scaling policy.
func (HPAScalingPolicyOutput) Value ¶
func (o HPAScalingPolicyOutput) Value() pulumi.IntOutput
Value contains the amount of change which is permitted by the policy. It must be greater than zero
type HPAScalingRules ¶
type HPAScalingRules struct { // policies is a list of potential scaling polices which can be used during scaling. At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid Policies []HPAScalingPolicy `pulumi:"policies"` // selectPolicy is used to specify which policy should be used. If not set, the default value MaxPolicySelect is used. SelectPolicy *string `pulumi:"selectPolicy"` // StabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long). StabilizationWindowSeconds *int `pulumi:"stabilizationWindowSeconds"` }
HPAScalingRules configures the scaling behavior for one direction. These Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen.
type HPAScalingRulesArgs ¶
type HPAScalingRulesArgs struct { // policies is a list of potential scaling polices which can be used during scaling. At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid Policies HPAScalingPolicyArrayInput `pulumi:"policies"` // selectPolicy is used to specify which policy should be used. If not set, the default value MaxPolicySelect is used. SelectPolicy pulumi.StringPtrInput `pulumi:"selectPolicy"` // StabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long). StabilizationWindowSeconds pulumi.IntPtrInput `pulumi:"stabilizationWindowSeconds"` }
HPAScalingRules configures the scaling behavior for one direction. These Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen.
func (HPAScalingRulesArgs) ElementType ¶
func (HPAScalingRulesArgs) ElementType() reflect.Type
func (HPAScalingRulesArgs) ToHPAScalingRulesOutput ¶
func (i HPAScalingRulesArgs) ToHPAScalingRulesOutput() HPAScalingRulesOutput
func (HPAScalingRulesArgs) ToHPAScalingRulesOutputWithContext ¶
func (i HPAScalingRulesArgs) ToHPAScalingRulesOutputWithContext(ctx context.Context) HPAScalingRulesOutput
func (HPAScalingRulesArgs) ToHPAScalingRulesPtrOutput ¶
func (i HPAScalingRulesArgs) ToHPAScalingRulesPtrOutput() HPAScalingRulesPtrOutput
func (HPAScalingRulesArgs) ToHPAScalingRulesPtrOutputWithContext ¶
func (i HPAScalingRulesArgs) ToHPAScalingRulesPtrOutputWithContext(ctx context.Context) HPAScalingRulesPtrOutput
type HPAScalingRulesInput ¶
type HPAScalingRulesInput interface { pulumi.Input ToHPAScalingRulesOutput() HPAScalingRulesOutput ToHPAScalingRulesOutputWithContext(context.Context) HPAScalingRulesOutput }
HPAScalingRulesInput is an input type that accepts HPAScalingRulesArgs and HPAScalingRulesOutput values. You can construct a concrete instance of `HPAScalingRulesInput` via:
HPAScalingRulesArgs{...}
type HPAScalingRulesOutput ¶
type HPAScalingRulesOutput struct{ *pulumi.OutputState }
HPAScalingRules configures the scaling behavior for one direction. These Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen.
func (HPAScalingRulesOutput) ElementType ¶
func (HPAScalingRulesOutput) ElementType() reflect.Type
func (HPAScalingRulesOutput) Policies ¶
func (o HPAScalingRulesOutput) Policies() HPAScalingPolicyArrayOutput
policies is a list of potential scaling polices which can be used during scaling. At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid
func (HPAScalingRulesOutput) SelectPolicy ¶
func (o HPAScalingRulesOutput) SelectPolicy() pulumi.StringPtrOutput
selectPolicy is used to specify which policy should be used. If not set, the default value MaxPolicySelect is used.
func (HPAScalingRulesOutput) StabilizationWindowSeconds ¶
func (o HPAScalingRulesOutput) StabilizationWindowSeconds() pulumi.IntPtrOutput
StabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
func (HPAScalingRulesOutput) ToHPAScalingRulesOutput ¶
func (o HPAScalingRulesOutput) ToHPAScalingRulesOutput() HPAScalingRulesOutput
func (HPAScalingRulesOutput) ToHPAScalingRulesOutputWithContext ¶
func (o HPAScalingRulesOutput) ToHPAScalingRulesOutputWithContext(ctx context.Context) HPAScalingRulesOutput
func (HPAScalingRulesOutput) ToHPAScalingRulesPtrOutput ¶
func (o HPAScalingRulesOutput) ToHPAScalingRulesPtrOutput() HPAScalingRulesPtrOutput
func (HPAScalingRulesOutput) ToHPAScalingRulesPtrOutputWithContext ¶
func (o HPAScalingRulesOutput) ToHPAScalingRulesPtrOutputWithContext(ctx context.Context) HPAScalingRulesPtrOutput
type HPAScalingRulesPtrInput ¶
type HPAScalingRulesPtrInput interface { pulumi.Input ToHPAScalingRulesPtrOutput() HPAScalingRulesPtrOutput ToHPAScalingRulesPtrOutputWithContext(context.Context) HPAScalingRulesPtrOutput }
HPAScalingRulesPtrInput is an input type that accepts HPAScalingRulesArgs, HPAScalingRulesPtr and HPAScalingRulesPtrOutput values. You can construct a concrete instance of `HPAScalingRulesPtrInput` via:
HPAScalingRulesArgs{...} or: nil
func HPAScalingRulesPtr ¶
func HPAScalingRulesPtr(v *HPAScalingRulesArgs) HPAScalingRulesPtrInput
type HPAScalingRulesPtrOutput ¶
type HPAScalingRulesPtrOutput struct{ *pulumi.OutputState }
func (HPAScalingRulesPtrOutput) Elem ¶
func (o HPAScalingRulesPtrOutput) Elem() HPAScalingRulesOutput
func (HPAScalingRulesPtrOutput) ElementType ¶
func (HPAScalingRulesPtrOutput) ElementType() reflect.Type
func (HPAScalingRulesPtrOutput) Policies ¶
func (o HPAScalingRulesPtrOutput) Policies() HPAScalingPolicyArrayOutput
policies is a list of potential scaling polices which can be used during scaling. At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid
func (HPAScalingRulesPtrOutput) SelectPolicy ¶
func (o HPAScalingRulesPtrOutput) SelectPolicy() pulumi.StringPtrOutput
selectPolicy is used to specify which policy should be used. If not set, the default value MaxPolicySelect is used.
func (HPAScalingRulesPtrOutput) StabilizationWindowSeconds ¶
func (o HPAScalingRulesPtrOutput) StabilizationWindowSeconds() pulumi.IntPtrOutput
StabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
func (HPAScalingRulesPtrOutput) ToHPAScalingRulesPtrOutput ¶
func (o HPAScalingRulesPtrOutput) ToHPAScalingRulesPtrOutput() HPAScalingRulesPtrOutput
func (HPAScalingRulesPtrOutput) ToHPAScalingRulesPtrOutputWithContext ¶
func (o HPAScalingRulesPtrOutput) ToHPAScalingRulesPtrOutputWithContext(ctx context.Context) HPAScalingRulesPtrOutput
type HorizontalPodAutoscaler ¶
type HorizontalPodAutoscaler 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"` // metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ObjectMetaPtrOutput `pulumi:"metadata"` // spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Spec HorizontalPodAutoscalerSpecPtrOutput `pulumi:"spec"` // status is the current information about the autoscaler. Status HorizontalPodAutoscalerStatusPtrOutput `pulumi:"status"` }
HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.
func GetHorizontalPodAutoscaler ¶
func GetHorizontalPodAutoscaler(ctx *pulumi.Context, name string, id pulumi.IDInput, state *HorizontalPodAutoscalerState, opts ...pulumi.ResourceOption) (*HorizontalPodAutoscaler, error)
GetHorizontalPodAutoscaler gets an existing HorizontalPodAutoscaler 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 NewHorizontalPodAutoscaler ¶
func NewHorizontalPodAutoscaler(ctx *pulumi.Context, name string, args *HorizontalPodAutoscalerArgs, opts ...pulumi.ResourceOption) (*HorizontalPodAutoscaler, error)
NewHorizontalPodAutoscaler registers a new resource with the given unique name, arguments, and options.
func (*HorizontalPodAutoscaler) ElementType ¶
func (*HorizontalPodAutoscaler) ElementType() reflect.Type
func (*HorizontalPodAutoscaler) ToHorizontalPodAutoscalerOutput ¶
func (i *HorizontalPodAutoscaler) ToHorizontalPodAutoscalerOutput() HorizontalPodAutoscalerOutput
func (*HorizontalPodAutoscaler) ToHorizontalPodAutoscalerOutputWithContext ¶
func (i *HorizontalPodAutoscaler) ToHorizontalPodAutoscalerOutputWithContext(ctx context.Context) HorizontalPodAutoscalerOutput
type HorizontalPodAutoscalerArgs ¶
type HorizontalPodAutoscalerArgs 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 // metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ObjectMetaPtrInput // spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Spec HorizontalPodAutoscalerSpecPtrInput }
The set of arguments for constructing a HorizontalPodAutoscaler resource.
func (HorizontalPodAutoscalerArgs) ElementType ¶
func (HorizontalPodAutoscalerArgs) ElementType() reflect.Type
type HorizontalPodAutoscalerArray ¶
type HorizontalPodAutoscalerArray []HorizontalPodAutoscalerInput
func (HorizontalPodAutoscalerArray) ElementType ¶
func (HorizontalPodAutoscalerArray) ElementType() reflect.Type
func (HorizontalPodAutoscalerArray) ToHorizontalPodAutoscalerArrayOutput ¶
func (i HorizontalPodAutoscalerArray) ToHorizontalPodAutoscalerArrayOutput() HorizontalPodAutoscalerArrayOutput
func (HorizontalPodAutoscalerArray) ToHorizontalPodAutoscalerArrayOutputWithContext ¶
func (i HorizontalPodAutoscalerArray) ToHorizontalPodAutoscalerArrayOutputWithContext(ctx context.Context) HorizontalPodAutoscalerArrayOutput
type HorizontalPodAutoscalerArrayInput ¶
type HorizontalPodAutoscalerArrayInput interface { pulumi.Input ToHorizontalPodAutoscalerArrayOutput() HorizontalPodAutoscalerArrayOutput ToHorizontalPodAutoscalerArrayOutputWithContext(context.Context) HorizontalPodAutoscalerArrayOutput }
HorizontalPodAutoscalerArrayInput is an input type that accepts HorizontalPodAutoscalerArray and HorizontalPodAutoscalerArrayOutput values. You can construct a concrete instance of `HorizontalPodAutoscalerArrayInput` via:
HorizontalPodAutoscalerArray{ HorizontalPodAutoscalerArgs{...} }
type HorizontalPodAutoscalerArrayOutput ¶
type HorizontalPodAutoscalerArrayOutput struct{ *pulumi.OutputState }
func (HorizontalPodAutoscalerArrayOutput) ElementType ¶
func (HorizontalPodAutoscalerArrayOutput) ElementType() reflect.Type
func (HorizontalPodAutoscalerArrayOutput) Index ¶
func (o HorizontalPodAutoscalerArrayOutput) Index(i pulumi.IntInput) HorizontalPodAutoscalerOutput
func (HorizontalPodAutoscalerArrayOutput) ToHorizontalPodAutoscalerArrayOutput ¶
func (o HorizontalPodAutoscalerArrayOutput) ToHorizontalPodAutoscalerArrayOutput() HorizontalPodAutoscalerArrayOutput
func (HorizontalPodAutoscalerArrayOutput) ToHorizontalPodAutoscalerArrayOutputWithContext ¶
func (o HorizontalPodAutoscalerArrayOutput) ToHorizontalPodAutoscalerArrayOutputWithContext(ctx context.Context) HorizontalPodAutoscalerArrayOutput
type HorizontalPodAutoscalerBehavior ¶
type HorizontalPodAutoscalerBehavior struct { // scaleDown is scaling policy for scaling Down. If not set, the default value is to allow to scale down to minReplicas pods, with a 300 second stabilization window (i.e., the highest recommendation for the last 300sec is used). ScaleDown *HPAScalingRules `pulumi:"scaleDown"` // scaleUp is scaling policy for scaling Up. If not set, the default value is the higher of: // * increase no more than 4 pods per 60 seconds // * double the number of pods per 60 seconds // No stabilization is used. ScaleUp *HPAScalingRules `pulumi:"scaleUp"` }
HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).
type HorizontalPodAutoscalerBehaviorArgs ¶
type HorizontalPodAutoscalerBehaviorArgs struct { // scaleDown is scaling policy for scaling Down. If not set, the default value is to allow to scale down to minReplicas pods, with a 300 second stabilization window (i.e., the highest recommendation for the last 300sec is used). ScaleDown HPAScalingRulesPtrInput `pulumi:"scaleDown"` // scaleUp is scaling policy for scaling Up. If not set, the default value is the higher of: // * increase no more than 4 pods per 60 seconds // * double the number of pods per 60 seconds // No stabilization is used. ScaleUp HPAScalingRulesPtrInput `pulumi:"scaleUp"` }
HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).
func (HorizontalPodAutoscalerBehaviorArgs) ElementType ¶
func (HorizontalPodAutoscalerBehaviorArgs) ElementType() reflect.Type
func (HorizontalPodAutoscalerBehaviorArgs) ToHorizontalPodAutoscalerBehaviorOutput ¶
func (i HorizontalPodAutoscalerBehaviorArgs) ToHorizontalPodAutoscalerBehaviorOutput() HorizontalPodAutoscalerBehaviorOutput
func (HorizontalPodAutoscalerBehaviorArgs) ToHorizontalPodAutoscalerBehaviorOutputWithContext ¶
func (i HorizontalPodAutoscalerBehaviorArgs) ToHorizontalPodAutoscalerBehaviorOutputWithContext(ctx context.Context) HorizontalPodAutoscalerBehaviorOutput
func (HorizontalPodAutoscalerBehaviorArgs) ToHorizontalPodAutoscalerBehaviorPtrOutput ¶
func (i HorizontalPodAutoscalerBehaviorArgs) ToHorizontalPodAutoscalerBehaviorPtrOutput() HorizontalPodAutoscalerBehaviorPtrOutput
func (HorizontalPodAutoscalerBehaviorArgs) ToHorizontalPodAutoscalerBehaviorPtrOutputWithContext ¶
func (i HorizontalPodAutoscalerBehaviorArgs) ToHorizontalPodAutoscalerBehaviorPtrOutputWithContext(ctx context.Context) HorizontalPodAutoscalerBehaviorPtrOutput
type HorizontalPodAutoscalerBehaviorInput ¶
type HorizontalPodAutoscalerBehaviorInput interface { pulumi.Input ToHorizontalPodAutoscalerBehaviorOutput() HorizontalPodAutoscalerBehaviorOutput ToHorizontalPodAutoscalerBehaviorOutputWithContext(context.Context) HorizontalPodAutoscalerBehaviorOutput }
HorizontalPodAutoscalerBehaviorInput is an input type that accepts HorizontalPodAutoscalerBehaviorArgs and HorizontalPodAutoscalerBehaviorOutput values. You can construct a concrete instance of `HorizontalPodAutoscalerBehaviorInput` via:
HorizontalPodAutoscalerBehaviorArgs{...}
type HorizontalPodAutoscalerBehaviorOutput ¶
type HorizontalPodAutoscalerBehaviorOutput struct{ *pulumi.OutputState }
HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).
func (HorizontalPodAutoscalerBehaviorOutput) ElementType ¶
func (HorizontalPodAutoscalerBehaviorOutput) ElementType() reflect.Type
func (HorizontalPodAutoscalerBehaviorOutput) ScaleDown ¶
func (o HorizontalPodAutoscalerBehaviorOutput) ScaleDown() HPAScalingRulesPtrOutput
scaleDown is scaling policy for scaling Down. If not set, the default value is to allow to scale down to minReplicas pods, with a 300 second stabilization window (i.e., the highest recommendation for the last 300sec is used).
func (HorizontalPodAutoscalerBehaviorOutput) ScaleUp ¶
func (o HorizontalPodAutoscalerBehaviorOutput) ScaleUp() HPAScalingRulesPtrOutput
scaleUp is scaling policy for scaling Up. If not set, the default value is the higher of:
- increase no more than 4 pods per 60 seconds
- double the number of pods per 60 seconds No stabilization is used.
func (HorizontalPodAutoscalerBehaviorOutput) ToHorizontalPodAutoscalerBehaviorOutput ¶
func (o HorizontalPodAutoscalerBehaviorOutput) ToHorizontalPodAutoscalerBehaviorOutput() HorizontalPodAutoscalerBehaviorOutput
func (HorizontalPodAutoscalerBehaviorOutput) ToHorizontalPodAutoscalerBehaviorOutputWithContext ¶
func (o HorizontalPodAutoscalerBehaviorOutput) ToHorizontalPodAutoscalerBehaviorOutputWithContext(ctx context.Context) HorizontalPodAutoscalerBehaviorOutput
func (HorizontalPodAutoscalerBehaviorOutput) ToHorizontalPodAutoscalerBehaviorPtrOutput ¶
func (o HorizontalPodAutoscalerBehaviorOutput) ToHorizontalPodAutoscalerBehaviorPtrOutput() HorizontalPodAutoscalerBehaviorPtrOutput
func (HorizontalPodAutoscalerBehaviorOutput) ToHorizontalPodAutoscalerBehaviorPtrOutputWithContext ¶
func (o HorizontalPodAutoscalerBehaviorOutput) ToHorizontalPodAutoscalerBehaviorPtrOutputWithContext(ctx context.Context) HorizontalPodAutoscalerBehaviorPtrOutput
type HorizontalPodAutoscalerBehaviorPtrInput ¶
type HorizontalPodAutoscalerBehaviorPtrInput interface { pulumi.Input ToHorizontalPodAutoscalerBehaviorPtrOutput() HorizontalPodAutoscalerBehaviorPtrOutput ToHorizontalPodAutoscalerBehaviorPtrOutputWithContext(context.Context) HorizontalPodAutoscalerBehaviorPtrOutput }
HorizontalPodAutoscalerBehaviorPtrInput is an input type that accepts HorizontalPodAutoscalerBehaviorArgs, HorizontalPodAutoscalerBehaviorPtr and HorizontalPodAutoscalerBehaviorPtrOutput values. You can construct a concrete instance of `HorizontalPodAutoscalerBehaviorPtrInput` via:
HorizontalPodAutoscalerBehaviorArgs{...} or: nil
func HorizontalPodAutoscalerBehaviorPtr ¶
func HorizontalPodAutoscalerBehaviorPtr(v *HorizontalPodAutoscalerBehaviorArgs) HorizontalPodAutoscalerBehaviorPtrInput
type HorizontalPodAutoscalerBehaviorPtrOutput ¶
type HorizontalPodAutoscalerBehaviorPtrOutput struct{ *pulumi.OutputState }
func (HorizontalPodAutoscalerBehaviorPtrOutput) ElementType ¶
func (HorizontalPodAutoscalerBehaviorPtrOutput) ElementType() reflect.Type
func (HorizontalPodAutoscalerBehaviorPtrOutput) ScaleDown ¶
func (o HorizontalPodAutoscalerBehaviorPtrOutput) ScaleDown() HPAScalingRulesPtrOutput
scaleDown is scaling policy for scaling Down. If not set, the default value is to allow to scale down to minReplicas pods, with a 300 second stabilization window (i.e., the highest recommendation for the last 300sec is used).
func (HorizontalPodAutoscalerBehaviorPtrOutput) ScaleUp ¶
func (o HorizontalPodAutoscalerBehaviorPtrOutput) ScaleUp() HPAScalingRulesPtrOutput
scaleUp is scaling policy for scaling Up. If not set, the default value is the higher of:
- increase no more than 4 pods per 60 seconds
- double the number of pods per 60 seconds No stabilization is used.
func (HorizontalPodAutoscalerBehaviorPtrOutput) ToHorizontalPodAutoscalerBehaviorPtrOutput ¶
func (o HorizontalPodAutoscalerBehaviorPtrOutput) ToHorizontalPodAutoscalerBehaviorPtrOutput() HorizontalPodAutoscalerBehaviorPtrOutput
func (HorizontalPodAutoscalerBehaviorPtrOutput) ToHorizontalPodAutoscalerBehaviorPtrOutputWithContext ¶
func (o HorizontalPodAutoscalerBehaviorPtrOutput) ToHorizontalPodAutoscalerBehaviorPtrOutputWithContext(ctx context.Context) HorizontalPodAutoscalerBehaviorPtrOutput
type HorizontalPodAutoscalerCondition ¶
type HorizontalPodAutoscalerCondition struct { // lastTransitionTime is the last time the condition transitioned from one status to another LastTransitionTime *string `pulumi:"lastTransitionTime"` // message is a human-readable explanation containing details about the transition Message *string `pulumi:"message"` // reason is the reason for the condition's last transition. Reason *string `pulumi:"reason"` // status is the status of the condition (True, False, Unknown) Status string `pulumi:"status"` // type describes the current condition Type string `pulumi:"type"` }
HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.
type HorizontalPodAutoscalerConditionArgs ¶
type HorizontalPodAutoscalerConditionArgs struct { // lastTransitionTime is the last time the condition transitioned from one status to another LastTransitionTime pulumi.StringPtrInput `pulumi:"lastTransitionTime"` // message is a human-readable explanation containing details about the transition Message pulumi.StringPtrInput `pulumi:"message"` // reason is the reason for the condition's last transition. Reason pulumi.StringPtrInput `pulumi:"reason"` // status is the status of the condition (True, False, Unknown) Status pulumi.StringInput `pulumi:"status"` // type describes the current condition Type pulumi.StringInput `pulumi:"type"` }
HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.
func (HorizontalPodAutoscalerConditionArgs) ElementType ¶
func (HorizontalPodAutoscalerConditionArgs) ElementType() reflect.Type
func (HorizontalPodAutoscalerConditionArgs) ToHorizontalPodAutoscalerConditionOutput ¶
func (i HorizontalPodAutoscalerConditionArgs) ToHorizontalPodAutoscalerConditionOutput() HorizontalPodAutoscalerConditionOutput
func (HorizontalPodAutoscalerConditionArgs) ToHorizontalPodAutoscalerConditionOutputWithContext ¶
func (i HorizontalPodAutoscalerConditionArgs) ToHorizontalPodAutoscalerConditionOutputWithContext(ctx context.Context) HorizontalPodAutoscalerConditionOutput
type HorizontalPodAutoscalerConditionArray ¶
type HorizontalPodAutoscalerConditionArray []HorizontalPodAutoscalerConditionInput
func (HorizontalPodAutoscalerConditionArray) ElementType ¶
func (HorizontalPodAutoscalerConditionArray) ElementType() reflect.Type
func (HorizontalPodAutoscalerConditionArray) ToHorizontalPodAutoscalerConditionArrayOutput ¶
func (i HorizontalPodAutoscalerConditionArray) ToHorizontalPodAutoscalerConditionArrayOutput() HorizontalPodAutoscalerConditionArrayOutput
func (HorizontalPodAutoscalerConditionArray) ToHorizontalPodAutoscalerConditionArrayOutputWithContext ¶
func (i HorizontalPodAutoscalerConditionArray) ToHorizontalPodAutoscalerConditionArrayOutputWithContext(ctx context.Context) HorizontalPodAutoscalerConditionArrayOutput
type HorizontalPodAutoscalerConditionArrayInput ¶
type HorizontalPodAutoscalerConditionArrayInput interface { pulumi.Input ToHorizontalPodAutoscalerConditionArrayOutput() HorizontalPodAutoscalerConditionArrayOutput ToHorizontalPodAutoscalerConditionArrayOutputWithContext(context.Context) HorizontalPodAutoscalerConditionArrayOutput }
HorizontalPodAutoscalerConditionArrayInput is an input type that accepts HorizontalPodAutoscalerConditionArray and HorizontalPodAutoscalerConditionArrayOutput values. You can construct a concrete instance of `HorizontalPodAutoscalerConditionArrayInput` via:
HorizontalPodAutoscalerConditionArray{ HorizontalPodAutoscalerConditionArgs{...} }
type HorizontalPodAutoscalerConditionArrayOutput ¶
type HorizontalPodAutoscalerConditionArrayOutput struct{ *pulumi.OutputState }
func (HorizontalPodAutoscalerConditionArrayOutput) ElementType ¶
func (HorizontalPodAutoscalerConditionArrayOutput) ElementType() reflect.Type
func (HorizontalPodAutoscalerConditionArrayOutput) ToHorizontalPodAutoscalerConditionArrayOutput ¶
func (o HorizontalPodAutoscalerConditionArrayOutput) ToHorizontalPodAutoscalerConditionArrayOutput() HorizontalPodAutoscalerConditionArrayOutput
func (HorizontalPodAutoscalerConditionArrayOutput) ToHorizontalPodAutoscalerConditionArrayOutputWithContext ¶
func (o HorizontalPodAutoscalerConditionArrayOutput) ToHorizontalPodAutoscalerConditionArrayOutputWithContext(ctx context.Context) HorizontalPodAutoscalerConditionArrayOutput
type HorizontalPodAutoscalerConditionInput ¶
type HorizontalPodAutoscalerConditionInput interface { pulumi.Input ToHorizontalPodAutoscalerConditionOutput() HorizontalPodAutoscalerConditionOutput ToHorizontalPodAutoscalerConditionOutputWithContext(context.Context) HorizontalPodAutoscalerConditionOutput }
HorizontalPodAutoscalerConditionInput is an input type that accepts HorizontalPodAutoscalerConditionArgs and HorizontalPodAutoscalerConditionOutput values. You can construct a concrete instance of `HorizontalPodAutoscalerConditionInput` via:
HorizontalPodAutoscalerConditionArgs{...}
type HorizontalPodAutoscalerConditionOutput ¶
type HorizontalPodAutoscalerConditionOutput struct{ *pulumi.OutputState }
HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.
func (HorizontalPodAutoscalerConditionOutput) ElementType ¶
func (HorizontalPodAutoscalerConditionOutput) ElementType() reflect.Type
func (HorizontalPodAutoscalerConditionOutput) LastTransitionTime ¶
func (o HorizontalPodAutoscalerConditionOutput) LastTransitionTime() pulumi.StringPtrOutput
lastTransitionTime is the last time the condition transitioned from one status to another
func (HorizontalPodAutoscalerConditionOutput) Message ¶
func (o HorizontalPodAutoscalerConditionOutput) Message() pulumi.StringPtrOutput
message is a human-readable explanation containing details about the transition
func (HorizontalPodAutoscalerConditionOutput) Reason ¶
func (o HorizontalPodAutoscalerConditionOutput) Reason() pulumi.StringPtrOutput
reason is the reason for the condition's last transition.
func (HorizontalPodAutoscalerConditionOutput) Status ¶
func (o HorizontalPodAutoscalerConditionOutput) Status() pulumi.StringOutput
status is the status of the condition (True, False, Unknown)
func (HorizontalPodAutoscalerConditionOutput) ToHorizontalPodAutoscalerConditionOutput ¶
func (o HorizontalPodAutoscalerConditionOutput) ToHorizontalPodAutoscalerConditionOutput() HorizontalPodAutoscalerConditionOutput
func (HorizontalPodAutoscalerConditionOutput) ToHorizontalPodAutoscalerConditionOutputWithContext ¶
func (o HorizontalPodAutoscalerConditionOutput) ToHorizontalPodAutoscalerConditionOutputWithContext(ctx context.Context) HorizontalPodAutoscalerConditionOutput
func (HorizontalPodAutoscalerConditionOutput) Type ¶
func (o HorizontalPodAutoscalerConditionOutput) Type() pulumi.StringOutput
type describes the current condition
type HorizontalPodAutoscalerInput ¶
type HorizontalPodAutoscalerInput interface { pulumi.Input ToHorizontalPodAutoscalerOutput() HorizontalPodAutoscalerOutput ToHorizontalPodAutoscalerOutputWithContext(ctx context.Context) HorizontalPodAutoscalerOutput }
type HorizontalPodAutoscalerList ¶
type HorizontalPodAutoscalerList 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"` // items is the list of horizontal pod autoscaler objects. Items HorizontalPodAutoscalerTypeArrayOutput `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.StringPtrOutput `pulumi:"kind"` // metadata is the standard list metadata. Metadata metav1.ListMetaPtrOutput `pulumi:"metadata"` }
HorizontalPodAutoscalerList is a list of horizontal pod autoscaler objects.
func GetHorizontalPodAutoscalerList ¶
func GetHorizontalPodAutoscalerList(ctx *pulumi.Context, name string, id pulumi.IDInput, state *HorizontalPodAutoscalerListState, opts ...pulumi.ResourceOption) (*HorizontalPodAutoscalerList, error)
GetHorizontalPodAutoscalerList gets an existing HorizontalPodAutoscalerList 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 NewHorizontalPodAutoscalerList ¶
func NewHorizontalPodAutoscalerList(ctx *pulumi.Context, name string, args *HorizontalPodAutoscalerListArgs, opts ...pulumi.ResourceOption) (*HorizontalPodAutoscalerList, error)
NewHorizontalPodAutoscalerList registers a new resource with the given unique name, arguments, and options.
func (*HorizontalPodAutoscalerList) ElementType ¶
func (*HorizontalPodAutoscalerList) ElementType() reflect.Type
func (*HorizontalPodAutoscalerList) ToHorizontalPodAutoscalerListOutput ¶
func (i *HorizontalPodAutoscalerList) ToHorizontalPodAutoscalerListOutput() HorizontalPodAutoscalerListOutput
func (*HorizontalPodAutoscalerList) ToHorizontalPodAutoscalerListOutputWithContext ¶
func (i *HorizontalPodAutoscalerList) ToHorizontalPodAutoscalerListOutputWithContext(ctx context.Context) HorizontalPodAutoscalerListOutput
type HorizontalPodAutoscalerListArgs ¶
type HorizontalPodAutoscalerListArgs 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 the list of horizontal pod autoscaler objects. Items HorizontalPodAutoscalerTypeArrayInput // 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 // metadata is the standard list metadata. Metadata metav1.ListMetaPtrInput }
The set of arguments for constructing a HorizontalPodAutoscalerList resource.
func (HorizontalPodAutoscalerListArgs) ElementType ¶
func (HorizontalPodAutoscalerListArgs) ElementType() reflect.Type
type HorizontalPodAutoscalerListArray ¶
type HorizontalPodAutoscalerListArray []HorizontalPodAutoscalerListInput
func (HorizontalPodAutoscalerListArray) ElementType ¶
func (HorizontalPodAutoscalerListArray) ElementType() reflect.Type
func (HorizontalPodAutoscalerListArray) ToHorizontalPodAutoscalerListArrayOutput ¶
func (i HorizontalPodAutoscalerListArray) ToHorizontalPodAutoscalerListArrayOutput() HorizontalPodAutoscalerListArrayOutput
func (HorizontalPodAutoscalerListArray) ToHorizontalPodAutoscalerListArrayOutputWithContext ¶
func (i HorizontalPodAutoscalerListArray) ToHorizontalPodAutoscalerListArrayOutputWithContext(ctx context.Context) HorizontalPodAutoscalerListArrayOutput
type HorizontalPodAutoscalerListArrayInput ¶
type HorizontalPodAutoscalerListArrayInput interface { pulumi.Input ToHorizontalPodAutoscalerListArrayOutput() HorizontalPodAutoscalerListArrayOutput ToHorizontalPodAutoscalerListArrayOutputWithContext(context.Context) HorizontalPodAutoscalerListArrayOutput }
HorizontalPodAutoscalerListArrayInput is an input type that accepts HorizontalPodAutoscalerListArray and HorizontalPodAutoscalerListArrayOutput values. You can construct a concrete instance of `HorizontalPodAutoscalerListArrayInput` via:
HorizontalPodAutoscalerListArray{ HorizontalPodAutoscalerListArgs{...} }
type HorizontalPodAutoscalerListArrayOutput ¶
type HorizontalPodAutoscalerListArrayOutput struct{ *pulumi.OutputState }
func (HorizontalPodAutoscalerListArrayOutput) ElementType ¶
func (HorizontalPodAutoscalerListArrayOutput) ElementType() reflect.Type
func (HorizontalPodAutoscalerListArrayOutput) ToHorizontalPodAutoscalerListArrayOutput ¶
func (o HorizontalPodAutoscalerListArrayOutput) ToHorizontalPodAutoscalerListArrayOutput() HorizontalPodAutoscalerListArrayOutput
func (HorizontalPodAutoscalerListArrayOutput) ToHorizontalPodAutoscalerListArrayOutputWithContext ¶
func (o HorizontalPodAutoscalerListArrayOutput) ToHorizontalPodAutoscalerListArrayOutputWithContext(ctx context.Context) HorizontalPodAutoscalerListArrayOutput
type HorizontalPodAutoscalerListInput ¶
type HorizontalPodAutoscalerListInput interface { pulumi.Input ToHorizontalPodAutoscalerListOutput() HorizontalPodAutoscalerListOutput ToHorizontalPodAutoscalerListOutputWithContext(ctx context.Context) HorizontalPodAutoscalerListOutput }
type HorizontalPodAutoscalerListMap ¶
type HorizontalPodAutoscalerListMap map[string]HorizontalPodAutoscalerListInput
func (HorizontalPodAutoscalerListMap) ElementType ¶
func (HorizontalPodAutoscalerListMap) ElementType() reflect.Type
func (HorizontalPodAutoscalerListMap) ToHorizontalPodAutoscalerListMapOutput ¶
func (i HorizontalPodAutoscalerListMap) ToHorizontalPodAutoscalerListMapOutput() HorizontalPodAutoscalerListMapOutput
func (HorizontalPodAutoscalerListMap) ToHorizontalPodAutoscalerListMapOutputWithContext ¶
func (i HorizontalPodAutoscalerListMap) ToHorizontalPodAutoscalerListMapOutputWithContext(ctx context.Context) HorizontalPodAutoscalerListMapOutput
type HorizontalPodAutoscalerListMapInput ¶
type HorizontalPodAutoscalerListMapInput interface { pulumi.Input ToHorizontalPodAutoscalerListMapOutput() HorizontalPodAutoscalerListMapOutput ToHorizontalPodAutoscalerListMapOutputWithContext(context.Context) HorizontalPodAutoscalerListMapOutput }
HorizontalPodAutoscalerListMapInput is an input type that accepts HorizontalPodAutoscalerListMap and HorizontalPodAutoscalerListMapOutput values. You can construct a concrete instance of `HorizontalPodAutoscalerListMapInput` via:
HorizontalPodAutoscalerListMap{ "key": HorizontalPodAutoscalerListArgs{...} }
type HorizontalPodAutoscalerListMapOutput ¶
type HorizontalPodAutoscalerListMapOutput struct{ *pulumi.OutputState }
func (HorizontalPodAutoscalerListMapOutput) ElementType ¶
func (HorizontalPodAutoscalerListMapOutput) ElementType() reflect.Type
func (HorizontalPodAutoscalerListMapOutput) MapIndex ¶
func (o HorizontalPodAutoscalerListMapOutput) MapIndex(k pulumi.StringInput) HorizontalPodAutoscalerListOutput
func (HorizontalPodAutoscalerListMapOutput) ToHorizontalPodAutoscalerListMapOutput ¶
func (o HorizontalPodAutoscalerListMapOutput) ToHorizontalPodAutoscalerListMapOutput() HorizontalPodAutoscalerListMapOutput
func (HorizontalPodAutoscalerListMapOutput) ToHorizontalPodAutoscalerListMapOutputWithContext ¶
func (o HorizontalPodAutoscalerListMapOutput) ToHorizontalPodAutoscalerListMapOutputWithContext(ctx context.Context) HorizontalPodAutoscalerListMapOutput
type HorizontalPodAutoscalerListOutput ¶
type HorizontalPodAutoscalerListOutput struct{ *pulumi.OutputState }
func (HorizontalPodAutoscalerListOutput) ElementType ¶
func (HorizontalPodAutoscalerListOutput) ElementType() reflect.Type
func (HorizontalPodAutoscalerListOutput) ToHorizontalPodAutoscalerListOutput ¶
func (o HorizontalPodAutoscalerListOutput) ToHorizontalPodAutoscalerListOutput() HorizontalPodAutoscalerListOutput
func (HorizontalPodAutoscalerListOutput) ToHorizontalPodAutoscalerListOutputWithContext ¶
func (o HorizontalPodAutoscalerListOutput) ToHorizontalPodAutoscalerListOutputWithContext(ctx context.Context) HorizontalPodAutoscalerListOutput
type HorizontalPodAutoscalerListState ¶
type HorizontalPodAutoscalerListState struct { }
func (HorizontalPodAutoscalerListState) ElementType ¶
func (HorizontalPodAutoscalerListState) ElementType() reflect.Type
type HorizontalPodAutoscalerListType ¶
type HorizontalPodAutoscalerListType 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 the list of horizontal pod autoscaler objects. Items []HorizontalPodAutoscalerType `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"` // metadata is the standard list metadata. Metadata *metav1.ListMeta `pulumi:"metadata"` }
HorizontalPodAutoscalerList is a list of horizontal pod autoscaler objects.
type HorizontalPodAutoscalerListTypeArgs ¶
type HorizontalPodAutoscalerListTypeArgs 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 the list of horizontal pod autoscaler objects. Items HorizontalPodAutoscalerTypeArrayInput `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"` // metadata is the standard list metadata. Metadata metav1.ListMetaPtrInput `pulumi:"metadata"` }
HorizontalPodAutoscalerList is a list of horizontal pod autoscaler objects.
func (HorizontalPodAutoscalerListTypeArgs) ElementType ¶
func (HorizontalPodAutoscalerListTypeArgs) ElementType() reflect.Type
func (HorizontalPodAutoscalerListTypeArgs) ToHorizontalPodAutoscalerListTypeOutput ¶
func (i HorizontalPodAutoscalerListTypeArgs) ToHorizontalPodAutoscalerListTypeOutput() HorizontalPodAutoscalerListTypeOutput
func (HorizontalPodAutoscalerListTypeArgs) ToHorizontalPodAutoscalerListTypeOutputWithContext ¶
func (i HorizontalPodAutoscalerListTypeArgs) ToHorizontalPodAutoscalerListTypeOutputWithContext(ctx context.Context) HorizontalPodAutoscalerListTypeOutput
type HorizontalPodAutoscalerListTypeInput ¶
type HorizontalPodAutoscalerListTypeInput interface { pulumi.Input ToHorizontalPodAutoscalerListTypeOutput() HorizontalPodAutoscalerListTypeOutput ToHorizontalPodAutoscalerListTypeOutputWithContext(context.Context) HorizontalPodAutoscalerListTypeOutput }
HorizontalPodAutoscalerListTypeInput is an input type that accepts HorizontalPodAutoscalerListTypeArgs and HorizontalPodAutoscalerListTypeOutput values. You can construct a concrete instance of `HorizontalPodAutoscalerListTypeInput` via:
HorizontalPodAutoscalerListTypeArgs{...}
type HorizontalPodAutoscalerListTypeOutput ¶
type HorizontalPodAutoscalerListTypeOutput struct{ *pulumi.OutputState }
HorizontalPodAutoscalerList is a list of horizontal pod autoscaler objects.
func (HorizontalPodAutoscalerListTypeOutput) ApiVersion ¶
func (o HorizontalPodAutoscalerListTypeOutput) 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 (HorizontalPodAutoscalerListTypeOutput) ElementType ¶
func (HorizontalPodAutoscalerListTypeOutput) ElementType() reflect.Type
func (HorizontalPodAutoscalerListTypeOutput) Items ¶
items is the list of horizontal pod autoscaler objects.
func (HorizontalPodAutoscalerListTypeOutput) Kind ¶
func (o HorizontalPodAutoscalerListTypeOutput) 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 (HorizontalPodAutoscalerListTypeOutput) Metadata ¶
func (o HorizontalPodAutoscalerListTypeOutput) Metadata() metav1.ListMetaPtrOutput
metadata is the standard list metadata.
func (HorizontalPodAutoscalerListTypeOutput) ToHorizontalPodAutoscalerListTypeOutput ¶
func (o HorizontalPodAutoscalerListTypeOutput) ToHorizontalPodAutoscalerListTypeOutput() HorizontalPodAutoscalerListTypeOutput
func (HorizontalPodAutoscalerListTypeOutput) ToHorizontalPodAutoscalerListTypeOutputWithContext ¶
func (o HorizontalPodAutoscalerListTypeOutput) ToHorizontalPodAutoscalerListTypeOutputWithContext(ctx context.Context) HorizontalPodAutoscalerListTypeOutput
type HorizontalPodAutoscalerMap ¶
type HorizontalPodAutoscalerMap map[string]HorizontalPodAutoscalerInput
func (HorizontalPodAutoscalerMap) ElementType ¶
func (HorizontalPodAutoscalerMap) ElementType() reflect.Type
func (HorizontalPodAutoscalerMap) ToHorizontalPodAutoscalerMapOutput ¶
func (i HorizontalPodAutoscalerMap) ToHorizontalPodAutoscalerMapOutput() HorizontalPodAutoscalerMapOutput
func (HorizontalPodAutoscalerMap) ToHorizontalPodAutoscalerMapOutputWithContext ¶
func (i HorizontalPodAutoscalerMap) ToHorizontalPodAutoscalerMapOutputWithContext(ctx context.Context) HorizontalPodAutoscalerMapOutput
type HorizontalPodAutoscalerMapInput ¶
type HorizontalPodAutoscalerMapInput interface { pulumi.Input ToHorizontalPodAutoscalerMapOutput() HorizontalPodAutoscalerMapOutput ToHorizontalPodAutoscalerMapOutputWithContext(context.Context) HorizontalPodAutoscalerMapOutput }
HorizontalPodAutoscalerMapInput is an input type that accepts HorizontalPodAutoscalerMap and HorizontalPodAutoscalerMapOutput values. You can construct a concrete instance of `HorizontalPodAutoscalerMapInput` via:
HorizontalPodAutoscalerMap{ "key": HorizontalPodAutoscalerArgs{...} }
type HorizontalPodAutoscalerMapOutput ¶
type HorizontalPodAutoscalerMapOutput struct{ *pulumi.OutputState }
func (HorizontalPodAutoscalerMapOutput) ElementType ¶
func (HorizontalPodAutoscalerMapOutput) ElementType() reflect.Type
func (HorizontalPodAutoscalerMapOutput) MapIndex ¶
func (o HorizontalPodAutoscalerMapOutput) MapIndex(k pulumi.StringInput) HorizontalPodAutoscalerOutput
func (HorizontalPodAutoscalerMapOutput) ToHorizontalPodAutoscalerMapOutput ¶
func (o HorizontalPodAutoscalerMapOutput) ToHorizontalPodAutoscalerMapOutput() HorizontalPodAutoscalerMapOutput
func (HorizontalPodAutoscalerMapOutput) ToHorizontalPodAutoscalerMapOutputWithContext ¶
func (o HorizontalPodAutoscalerMapOutput) ToHorizontalPodAutoscalerMapOutputWithContext(ctx context.Context) HorizontalPodAutoscalerMapOutput
type HorizontalPodAutoscalerOutput ¶
type HorizontalPodAutoscalerOutput struct{ *pulumi.OutputState }
func (HorizontalPodAutoscalerOutput) ElementType ¶
func (HorizontalPodAutoscalerOutput) ElementType() reflect.Type
func (HorizontalPodAutoscalerOutput) ToHorizontalPodAutoscalerOutput ¶
func (o HorizontalPodAutoscalerOutput) ToHorizontalPodAutoscalerOutput() HorizontalPodAutoscalerOutput
func (HorizontalPodAutoscalerOutput) ToHorizontalPodAutoscalerOutputWithContext ¶
func (o HorizontalPodAutoscalerOutput) ToHorizontalPodAutoscalerOutputWithContext(ctx context.Context) HorizontalPodAutoscalerOutput
type HorizontalPodAutoscalerSpec ¶
type HorizontalPodAutoscalerSpec struct { // behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). If not set, the default HPAScalingRules for scale up and scale down are used. Behavior *HorizontalPodAutoscalerBehavior `pulumi:"behavior"` // maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas. MaxReplicas int `pulumi:"maxReplicas"` // metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. If not set, the default metric will be set to 80% average CPU utilization. Metrics []MetricSpec `pulumi:"metrics"` // minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available. MinReplicas *int `pulumi:"minReplicas"` // scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count. ScaleTargetRef CrossVersionObjectReference `pulumi:"scaleTargetRef"` }
HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.
type HorizontalPodAutoscalerSpecArgs ¶
type HorizontalPodAutoscalerSpecArgs struct { // behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). If not set, the default HPAScalingRules for scale up and scale down are used. Behavior HorizontalPodAutoscalerBehaviorPtrInput `pulumi:"behavior"` // maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas. MaxReplicas pulumi.IntInput `pulumi:"maxReplicas"` // metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. If not set, the default metric will be set to 80% average CPU utilization. Metrics MetricSpecArrayInput `pulumi:"metrics"` // minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available. MinReplicas pulumi.IntPtrInput `pulumi:"minReplicas"` // scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count. ScaleTargetRef CrossVersionObjectReferenceInput `pulumi:"scaleTargetRef"` }
HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.
func (HorizontalPodAutoscalerSpecArgs) ElementType ¶
func (HorizontalPodAutoscalerSpecArgs) ElementType() reflect.Type
func (HorizontalPodAutoscalerSpecArgs) ToHorizontalPodAutoscalerSpecOutput ¶
func (i HorizontalPodAutoscalerSpecArgs) ToHorizontalPodAutoscalerSpecOutput() HorizontalPodAutoscalerSpecOutput
func (HorizontalPodAutoscalerSpecArgs) ToHorizontalPodAutoscalerSpecOutputWithContext ¶
func (i HorizontalPodAutoscalerSpecArgs) ToHorizontalPodAutoscalerSpecOutputWithContext(ctx context.Context) HorizontalPodAutoscalerSpecOutput
func (HorizontalPodAutoscalerSpecArgs) ToHorizontalPodAutoscalerSpecPtrOutput ¶
func (i HorizontalPodAutoscalerSpecArgs) ToHorizontalPodAutoscalerSpecPtrOutput() HorizontalPodAutoscalerSpecPtrOutput
func (HorizontalPodAutoscalerSpecArgs) ToHorizontalPodAutoscalerSpecPtrOutputWithContext ¶
func (i HorizontalPodAutoscalerSpecArgs) ToHorizontalPodAutoscalerSpecPtrOutputWithContext(ctx context.Context) HorizontalPodAutoscalerSpecPtrOutput
type HorizontalPodAutoscalerSpecInput ¶
type HorizontalPodAutoscalerSpecInput interface { pulumi.Input ToHorizontalPodAutoscalerSpecOutput() HorizontalPodAutoscalerSpecOutput ToHorizontalPodAutoscalerSpecOutputWithContext(context.Context) HorizontalPodAutoscalerSpecOutput }
HorizontalPodAutoscalerSpecInput is an input type that accepts HorizontalPodAutoscalerSpecArgs and HorizontalPodAutoscalerSpecOutput values. You can construct a concrete instance of `HorizontalPodAutoscalerSpecInput` via:
HorizontalPodAutoscalerSpecArgs{...}
type HorizontalPodAutoscalerSpecOutput ¶
type HorizontalPodAutoscalerSpecOutput struct{ *pulumi.OutputState }
HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.
func (HorizontalPodAutoscalerSpecOutput) Behavior ¶
func (o HorizontalPodAutoscalerSpecOutput) Behavior() HorizontalPodAutoscalerBehaviorPtrOutput
behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). If not set, the default HPAScalingRules for scale up and scale down are used.
func (HorizontalPodAutoscalerSpecOutput) ElementType ¶
func (HorizontalPodAutoscalerSpecOutput) ElementType() reflect.Type
func (HorizontalPodAutoscalerSpecOutput) MaxReplicas ¶
func (o HorizontalPodAutoscalerSpecOutput) MaxReplicas() pulumi.IntOutput
maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
func (HorizontalPodAutoscalerSpecOutput) Metrics ¶
func (o HorizontalPodAutoscalerSpecOutput) Metrics() MetricSpecArrayOutput
metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. If not set, the default metric will be set to 80% average CPU utilization.
func (HorizontalPodAutoscalerSpecOutput) MinReplicas ¶
func (o HorizontalPodAutoscalerSpecOutput) MinReplicas() pulumi.IntPtrOutput
minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.
func (HorizontalPodAutoscalerSpecOutput) ScaleTargetRef ¶
func (o HorizontalPodAutoscalerSpecOutput) ScaleTargetRef() CrossVersionObjectReferenceOutput
scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count.
func (HorizontalPodAutoscalerSpecOutput) ToHorizontalPodAutoscalerSpecOutput ¶
func (o HorizontalPodAutoscalerSpecOutput) ToHorizontalPodAutoscalerSpecOutput() HorizontalPodAutoscalerSpecOutput
func (HorizontalPodAutoscalerSpecOutput) ToHorizontalPodAutoscalerSpecOutputWithContext ¶
func (o HorizontalPodAutoscalerSpecOutput) ToHorizontalPodAutoscalerSpecOutputWithContext(ctx context.Context) HorizontalPodAutoscalerSpecOutput
func (HorizontalPodAutoscalerSpecOutput) ToHorizontalPodAutoscalerSpecPtrOutput ¶
func (o HorizontalPodAutoscalerSpecOutput) ToHorizontalPodAutoscalerSpecPtrOutput() HorizontalPodAutoscalerSpecPtrOutput
func (HorizontalPodAutoscalerSpecOutput) ToHorizontalPodAutoscalerSpecPtrOutputWithContext ¶
func (o HorizontalPodAutoscalerSpecOutput) ToHorizontalPodAutoscalerSpecPtrOutputWithContext(ctx context.Context) HorizontalPodAutoscalerSpecPtrOutput
type HorizontalPodAutoscalerSpecPtrInput ¶
type HorizontalPodAutoscalerSpecPtrInput interface { pulumi.Input ToHorizontalPodAutoscalerSpecPtrOutput() HorizontalPodAutoscalerSpecPtrOutput ToHorizontalPodAutoscalerSpecPtrOutputWithContext(context.Context) HorizontalPodAutoscalerSpecPtrOutput }
HorizontalPodAutoscalerSpecPtrInput is an input type that accepts HorizontalPodAutoscalerSpecArgs, HorizontalPodAutoscalerSpecPtr and HorizontalPodAutoscalerSpecPtrOutput values. You can construct a concrete instance of `HorizontalPodAutoscalerSpecPtrInput` via:
HorizontalPodAutoscalerSpecArgs{...} or: nil
func HorizontalPodAutoscalerSpecPtr ¶
func HorizontalPodAutoscalerSpecPtr(v *HorizontalPodAutoscalerSpecArgs) HorizontalPodAutoscalerSpecPtrInput
type HorizontalPodAutoscalerSpecPtrOutput ¶
type HorizontalPodAutoscalerSpecPtrOutput struct{ *pulumi.OutputState }
func (HorizontalPodAutoscalerSpecPtrOutput) Behavior ¶
func (o HorizontalPodAutoscalerSpecPtrOutput) Behavior() HorizontalPodAutoscalerBehaviorPtrOutput
behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). If not set, the default HPAScalingRules for scale up and scale down are used.
func (HorizontalPodAutoscalerSpecPtrOutput) ElementType ¶
func (HorizontalPodAutoscalerSpecPtrOutput) ElementType() reflect.Type
func (HorizontalPodAutoscalerSpecPtrOutput) MaxReplicas ¶
func (o HorizontalPodAutoscalerSpecPtrOutput) MaxReplicas() pulumi.IntPtrOutput
maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
func (HorizontalPodAutoscalerSpecPtrOutput) Metrics ¶
func (o HorizontalPodAutoscalerSpecPtrOutput) Metrics() MetricSpecArrayOutput
metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. If not set, the default metric will be set to 80% average CPU utilization.
func (HorizontalPodAutoscalerSpecPtrOutput) MinReplicas ¶
func (o HorizontalPodAutoscalerSpecPtrOutput) MinReplicas() pulumi.IntPtrOutput
minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.
func (HorizontalPodAutoscalerSpecPtrOutput) ScaleTargetRef ¶
func (o HorizontalPodAutoscalerSpecPtrOutput) ScaleTargetRef() CrossVersionObjectReferencePtrOutput
scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count.
func (HorizontalPodAutoscalerSpecPtrOutput) ToHorizontalPodAutoscalerSpecPtrOutput ¶
func (o HorizontalPodAutoscalerSpecPtrOutput) ToHorizontalPodAutoscalerSpecPtrOutput() HorizontalPodAutoscalerSpecPtrOutput
func (HorizontalPodAutoscalerSpecPtrOutput) ToHorizontalPodAutoscalerSpecPtrOutputWithContext ¶
func (o HorizontalPodAutoscalerSpecPtrOutput) ToHorizontalPodAutoscalerSpecPtrOutputWithContext(ctx context.Context) HorizontalPodAutoscalerSpecPtrOutput
type HorizontalPodAutoscalerState ¶
type HorizontalPodAutoscalerState struct { }
func (HorizontalPodAutoscalerState) ElementType ¶
func (HorizontalPodAutoscalerState) ElementType() reflect.Type
type HorizontalPodAutoscalerStatus ¶
type HorizontalPodAutoscalerStatus struct { // conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met. Conditions []HorizontalPodAutoscalerCondition `pulumi:"conditions"` // currentMetrics is the last read state of the metrics used by this autoscaler. CurrentMetrics []MetricStatus `pulumi:"currentMetrics"` // currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler. CurrentReplicas int `pulumi:"currentReplicas"` // desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler. DesiredReplicas int `pulumi:"desiredReplicas"` // lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed. LastScaleTime *string `pulumi:"lastScaleTime"` // observedGeneration is the most recent generation observed by this autoscaler. ObservedGeneration *int `pulumi:"observedGeneration"` }
HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.
type HorizontalPodAutoscalerStatusArgs ¶
type HorizontalPodAutoscalerStatusArgs struct { // conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met. Conditions HorizontalPodAutoscalerConditionArrayInput `pulumi:"conditions"` // currentMetrics is the last read state of the metrics used by this autoscaler. CurrentMetrics MetricStatusArrayInput `pulumi:"currentMetrics"` // currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler. CurrentReplicas pulumi.IntInput `pulumi:"currentReplicas"` // desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler. DesiredReplicas pulumi.IntInput `pulumi:"desiredReplicas"` // lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed. LastScaleTime pulumi.StringPtrInput `pulumi:"lastScaleTime"` // observedGeneration is the most recent generation observed by this autoscaler. ObservedGeneration pulumi.IntPtrInput `pulumi:"observedGeneration"` }
HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.
func (HorizontalPodAutoscalerStatusArgs) ElementType ¶
func (HorizontalPodAutoscalerStatusArgs) ElementType() reflect.Type
func (HorizontalPodAutoscalerStatusArgs) ToHorizontalPodAutoscalerStatusOutput ¶
func (i HorizontalPodAutoscalerStatusArgs) ToHorizontalPodAutoscalerStatusOutput() HorizontalPodAutoscalerStatusOutput
func (HorizontalPodAutoscalerStatusArgs) ToHorizontalPodAutoscalerStatusOutputWithContext ¶
func (i HorizontalPodAutoscalerStatusArgs) ToHorizontalPodAutoscalerStatusOutputWithContext(ctx context.Context) HorizontalPodAutoscalerStatusOutput
func (HorizontalPodAutoscalerStatusArgs) ToHorizontalPodAutoscalerStatusPtrOutput ¶
func (i HorizontalPodAutoscalerStatusArgs) ToHorizontalPodAutoscalerStatusPtrOutput() HorizontalPodAutoscalerStatusPtrOutput
func (HorizontalPodAutoscalerStatusArgs) ToHorizontalPodAutoscalerStatusPtrOutputWithContext ¶
func (i HorizontalPodAutoscalerStatusArgs) ToHorizontalPodAutoscalerStatusPtrOutputWithContext(ctx context.Context) HorizontalPodAutoscalerStatusPtrOutput
type HorizontalPodAutoscalerStatusInput ¶
type HorizontalPodAutoscalerStatusInput interface { pulumi.Input ToHorizontalPodAutoscalerStatusOutput() HorizontalPodAutoscalerStatusOutput ToHorizontalPodAutoscalerStatusOutputWithContext(context.Context) HorizontalPodAutoscalerStatusOutput }
HorizontalPodAutoscalerStatusInput is an input type that accepts HorizontalPodAutoscalerStatusArgs and HorizontalPodAutoscalerStatusOutput values. You can construct a concrete instance of `HorizontalPodAutoscalerStatusInput` via:
HorizontalPodAutoscalerStatusArgs{...}
type HorizontalPodAutoscalerStatusOutput ¶
type HorizontalPodAutoscalerStatusOutput struct{ *pulumi.OutputState }
HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.
func (HorizontalPodAutoscalerStatusOutput) Conditions ¶
func (o HorizontalPodAutoscalerStatusOutput) Conditions() HorizontalPodAutoscalerConditionArrayOutput
conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.
func (HorizontalPodAutoscalerStatusOutput) CurrentMetrics ¶
func (o HorizontalPodAutoscalerStatusOutput) CurrentMetrics() MetricStatusArrayOutput
currentMetrics is the last read state of the metrics used by this autoscaler.
func (HorizontalPodAutoscalerStatusOutput) CurrentReplicas ¶
func (o HorizontalPodAutoscalerStatusOutput) CurrentReplicas() pulumi.IntOutput
currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
func (HorizontalPodAutoscalerStatusOutput) DesiredReplicas ¶
func (o HorizontalPodAutoscalerStatusOutput) DesiredReplicas() pulumi.IntOutput
desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
func (HorizontalPodAutoscalerStatusOutput) ElementType ¶
func (HorizontalPodAutoscalerStatusOutput) ElementType() reflect.Type
func (HorizontalPodAutoscalerStatusOutput) LastScaleTime ¶
func (o HorizontalPodAutoscalerStatusOutput) LastScaleTime() pulumi.StringPtrOutput
lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.
func (HorizontalPodAutoscalerStatusOutput) ObservedGeneration ¶
func (o HorizontalPodAutoscalerStatusOutput) ObservedGeneration() pulumi.IntPtrOutput
observedGeneration is the most recent generation observed by this autoscaler.
func (HorizontalPodAutoscalerStatusOutput) ToHorizontalPodAutoscalerStatusOutput ¶
func (o HorizontalPodAutoscalerStatusOutput) ToHorizontalPodAutoscalerStatusOutput() HorizontalPodAutoscalerStatusOutput
func (HorizontalPodAutoscalerStatusOutput) ToHorizontalPodAutoscalerStatusOutputWithContext ¶
func (o HorizontalPodAutoscalerStatusOutput) ToHorizontalPodAutoscalerStatusOutputWithContext(ctx context.Context) HorizontalPodAutoscalerStatusOutput
func (HorizontalPodAutoscalerStatusOutput) ToHorizontalPodAutoscalerStatusPtrOutput ¶
func (o HorizontalPodAutoscalerStatusOutput) ToHorizontalPodAutoscalerStatusPtrOutput() HorizontalPodAutoscalerStatusPtrOutput
func (HorizontalPodAutoscalerStatusOutput) ToHorizontalPodAutoscalerStatusPtrOutputWithContext ¶
func (o HorizontalPodAutoscalerStatusOutput) ToHorizontalPodAutoscalerStatusPtrOutputWithContext(ctx context.Context) HorizontalPodAutoscalerStatusPtrOutput
type HorizontalPodAutoscalerStatusPtrInput ¶
type HorizontalPodAutoscalerStatusPtrInput interface { pulumi.Input ToHorizontalPodAutoscalerStatusPtrOutput() HorizontalPodAutoscalerStatusPtrOutput ToHorizontalPodAutoscalerStatusPtrOutputWithContext(context.Context) HorizontalPodAutoscalerStatusPtrOutput }
HorizontalPodAutoscalerStatusPtrInput is an input type that accepts HorizontalPodAutoscalerStatusArgs, HorizontalPodAutoscalerStatusPtr and HorizontalPodAutoscalerStatusPtrOutput values. You can construct a concrete instance of `HorizontalPodAutoscalerStatusPtrInput` via:
HorizontalPodAutoscalerStatusArgs{...} or: nil
func HorizontalPodAutoscalerStatusPtr ¶
func HorizontalPodAutoscalerStatusPtr(v *HorizontalPodAutoscalerStatusArgs) HorizontalPodAutoscalerStatusPtrInput
type HorizontalPodAutoscalerStatusPtrOutput ¶
type HorizontalPodAutoscalerStatusPtrOutput struct{ *pulumi.OutputState }
func (HorizontalPodAutoscalerStatusPtrOutput) Conditions ¶
func (o HorizontalPodAutoscalerStatusPtrOutput) Conditions() HorizontalPodAutoscalerConditionArrayOutput
conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.
func (HorizontalPodAutoscalerStatusPtrOutput) CurrentMetrics ¶
func (o HorizontalPodAutoscalerStatusPtrOutput) CurrentMetrics() MetricStatusArrayOutput
currentMetrics is the last read state of the metrics used by this autoscaler.
func (HorizontalPodAutoscalerStatusPtrOutput) CurrentReplicas ¶
func (o HorizontalPodAutoscalerStatusPtrOutput) CurrentReplicas() pulumi.IntPtrOutput
currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
func (HorizontalPodAutoscalerStatusPtrOutput) DesiredReplicas ¶
func (o HorizontalPodAutoscalerStatusPtrOutput) DesiredReplicas() pulumi.IntPtrOutput
desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
func (HorizontalPodAutoscalerStatusPtrOutput) ElementType ¶
func (HorizontalPodAutoscalerStatusPtrOutput) ElementType() reflect.Type
func (HorizontalPodAutoscalerStatusPtrOutput) LastScaleTime ¶
func (o HorizontalPodAutoscalerStatusPtrOutput) LastScaleTime() pulumi.StringPtrOutput
lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.
func (HorizontalPodAutoscalerStatusPtrOutput) ObservedGeneration ¶
func (o HorizontalPodAutoscalerStatusPtrOutput) ObservedGeneration() pulumi.IntPtrOutput
observedGeneration is the most recent generation observed by this autoscaler.
func (HorizontalPodAutoscalerStatusPtrOutput) ToHorizontalPodAutoscalerStatusPtrOutput ¶
func (o HorizontalPodAutoscalerStatusPtrOutput) ToHorizontalPodAutoscalerStatusPtrOutput() HorizontalPodAutoscalerStatusPtrOutput
func (HorizontalPodAutoscalerStatusPtrOutput) ToHorizontalPodAutoscalerStatusPtrOutputWithContext ¶
func (o HorizontalPodAutoscalerStatusPtrOutput) ToHorizontalPodAutoscalerStatusPtrOutputWithContext(ctx context.Context) HorizontalPodAutoscalerStatusPtrOutput
type HorizontalPodAutoscalerType ¶
type HorizontalPodAutoscalerType 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"` // metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata *metav1.ObjectMeta `pulumi:"metadata"` // spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Spec *HorizontalPodAutoscalerSpec `pulumi:"spec"` // status is the current information about the autoscaler. Status *HorizontalPodAutoscalerStatus `pulumi:"status"` }
HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.
type HorizontalPodAutoscalerTypeArgs ¶
type HorizontalPodAutoscalerTypeArgs 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"` // metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"` // spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Spec HorizontalPodAutoscalerSpecPtrInput `pulumi:"spec"` // status is the current information about the autoscaler. Status HorizontalPodAutoscalerStatusPtrInput `pulumi:"status"` }
HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.
func (HorizontalPodAutoscalerTypeArgs) ElementType ¶
func (HorizontalPodAutoscalerTypeArgs) ElementType() reflect.Type
func (HorizontalPodAutoscalerTypeArgs) ToHorizontalPodAutoscalerTypeOutput ¶
func (i HorizontalPodAutoscalerTypeArgs) ToHorizontalPodAutoscalerTypeOutput() HorizontalPodAutoscalerTypeOutput
func (HorizontalPodAutoscalerTypeArgs) ToHorizontalPodAutoscalerTypeOutputWithContext ¶
func (i HorizontalPodAutoscalerTypeArgs) ToHorizontalPodAutoscalerTypeOutputWithContext(ctx context.Context) HorizontalPodAutoscalerTypeOutput
type HorizontalPodAutoscalerTypeArray ¶
type HorizontalPodAutoscalerTypeArray []HorizontalPodAutoscalerTypeInput
func (HorizontalPodAutoscalerTypeArray) ElementType ¶
func (HorizontalPodAutoscalerTypeArray) ElementType() reflect.Type
func (HorizontalPodAutoscalerTypeArray) ToHorizontalPodAutoscalerTypeArrayOutput ¶
func (i HorizontalPodAutoscalerTypeArray) ToHorizontalPodAutoscalerTypeArrayOutput() HorizontalPodAutoscalerTypeArrayOutput
func (HorizontalPodAutoscalerTypeArray) ToHorizontalPodAutoscalerTypeArrayOutputWithContext ¶
func (i HorizontalPodAutoscalerTypeArray) ToHorizontalPodAutoscalerTypeArrayOutputWithContext(ctx context.Context) HorizontalPodAutoscalerTypeArrayOutput
type HorizontalPodAutoscalerTypeArrayInput ¶
type HorizontalPodAutoscalerTypeArrayInput interface { pulumi.Input ToHorizontalPodAutoscalerTypeArrayOutput() HorizontalPodAutoscalerTypeArrayOutput ToHorizontalPodAutoscalerTypeArrayOutputWithContext(context.Context) HorizontalPodAutoscalerTypeArrayOutput }
HorizontalPodAutoscalerTypeArrayInput is an input type that accepts HorizontalPodAutoscalerTypeArray and HorizontalPodAutoscalerTypeArrayOutput values. You can construct a concrete instance of `HorizontalPodAutoscalerTypeArrayInput` via:
HorizontalPodAutoscalerTypeArray{ HorizontalPodAutoscalerTypeArgs{...} }
type HorizontalPodAutoscalerTypeArrayOutput ¶
type HorizontalPodAutoscalerTypeArrayOutput struct{ *pulumi.OutputState }
func (HorizontalPodAutoscalerTypeArrayOutput) ElementType ¶
func (HorizontalPodAutoscalerTypeArrayOutput) ElementType() reflect.Type
func (HorizontalPodAutoscalerTypeArrayOutput) ToHorizontalPodAutoscalerTypeArrayOutput ¶
func (o HorizontalPodAutoscalerTypeArrayOutput) ToHorizontalPodAutoscalerTypeArrayOutput() HorizontalPodAutoscalerTypeArrayOutput
func (HorizontalPodAutoscalerTypeArrayOutput) ToHorizontalPodAutoscalerTypeArrayOutputWithContext ¶
func (o HorizontalPodAutoscalerTypeArrayOutput) ToHorizontalPodAutoscalerTypeArrayOutputWithContext(ctx context.Context) HorizontalPodAutoscalerTypeArrayOutput
type HorizontalPodAutoscalerTypeInput ¶
type HorizontalPodAutoscalerTypeInput interface { pulumi.Input ToHorizontalPodAutoscalerTypeOutput() HorizontalPodAutoscalerTypeOutput ToHorizontalPodAutoscalerTypeOutputWithContext(context.Context) HorizontalPodAutoscalerTypeOutput }
HorizontalPodAutoscalerTypeInput is an input type that accepts HorizontalPodAutoscalerTypeArgs and HorizontalPodAutoscalerTypeOutput values. You can construct a concrete instance of `HorizontalPodAutoscalerTypeInput` via:
HorizontalPodAutoscalerTypeArgs{...}
type HorizontalPodAutoscalerTypeOutput ¶
type HorizontalPodAutoscalerTypeOutput struct{ *pulumi.OutputState }
HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.
func (HorizontalPodAutoscalerTypeOutput) ApiVersion ¶
func (o HorizontalPodAutoscalerTypeOutput) 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 (HorizontalPodAutoscalerTypeOutput) ElementType ¶
func (HorizontalPodAutoscalerTypeOutput) ElementType() reflect.Type
func (HorizontalPodAutoscalerTypeOutput) Kind ¶
func (o HorizontalPodAutoscalerTypeOutput) 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 (HorizontalPodAutoscalerTypeOutput) Metadata ¶
func (o HorizontalPodAutoscalerTypeOutput) Metadata() metav1.ObjectMetaPtrOutput
metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
func (HorizontalPodAutoscalerTypeOutput) Spec ¶
spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
func (HorizontalPodAutoscalerTypeOutput) Status ¶
func (o HorizontalPodAutoscalerTypeOutput) Status() HorizontalPodAutoscalerStatusPtrOutput
status is the current information about the autoscaler.
func (HorizontalPodAutoscalerTypeOutput) ToHorizontalPodAutoscalerTypeOutput ¶
func (o HorizontalPodAutoscalerTypeOutput) ToHorizontalPodAutoscalerTypeOutput() HorizontalPodAutoscalerTypeOutput
func (HorizontalPodAutoscalerTypeOutput) ToHorizontalPodAutoscalerTypeOutputWithContext ¶
func (o HorizontalPodAutoscalerTypeOutput) ToHorizontalPodAutoscalerTypeOutputWithContext(ctx context.Context) HorizontalPodAutoscalerTypeOutput
type MetricIdentifier ¶
type MetricIdentifier struct { // name is the name of the given metric Name string `pulumi:"name"` // selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. Selector *metav1.LabelSelector `pulumi:"selector"` }
MetricIdentifier defines the name and optionally selector for a metric
type MetricIdentifierArgs ¶
type MetricIdentifierArgs struct { // name is the name of the given metric Name pulumi.StringInput `pulumi:"name"` // selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. Selector metav1.LabelSelectorPtrInput `pulumi:"selector"` }
MetricIdentifier defines the name and optionally selector for a metric
func (MetricIdentifierArgs) ElementType ¶
func (MetricIdentifierArgs) ElementType() reflect.Type
func (MetricIdentifierArgs) ToMetricIdentifierOutput ¶
func (i MetricIdentifierArgs) ToMetricIdentifierOutput() MetricIdentifierOutput
func (MetricIdentifierArgs) ToMetricIdentifierOutputWithContext ¶
func (i MetricIdentifierArgs) ToMetricIdentifierOutputWithContext(ctx context.Context) MetricIdentifierOutput
func (MetricIdentifierArgs) ToMetricIdentifierPtrOutput ¶
func (i MetricIdentifierArgs) ToMetricIdentifierPtrOutput() MetricIdentifierPtrOutput
func (MetricIdentifierArgs) ToMetricIdentifierPtrOutputWithContext ¶
func (i MetricIdentifierArgs) ToMetricIdentifierPtrOutputWithContext(ctx context.Context) MetricIdentifierPtrOutput
type MetricIdentifierInput ¶
type MetricIdentifierInput interface { pulumi.Input ToMetricIdentifierOutput() MetricIdentifierOutput ToMetricIdentifierOutputWithContext(context.Context) MetricIdentifierOutput }
MetricIdentifierInput is an input type that accepts MetricIdentifierArgs and MetricIdentifierOutput values. You can construct a concrete instance of `MetricIdentifierInput` via:
MetricIdentifierArgs{...}
type MetricIdentifierOutput ¶
type MetricIdentifierOutput struct{ *pulumi.OutputState }
MetricIdentifier defines the name and optionally selector for a metric
func (MetricIdentifierOutput) ElementType ¶
func (MetricIdentifierOutput) ElementType() reflect.Type
func (MetricIdentifierOutput) Name ¶
func (o MetricIdentifierOutput) Name() pulumi.StringOutput
name is the name of the given metric
func (MetricIdentifierOutput) Selector ¶
func (o MetricIdentifierOutput) Selector() metav1.LabelSelectorPtrOutput
selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.
func (MetricIdentifierOutput) ToMetricIdentifierOutput ¶
func (o MetricIdentifierOutput) ToMetricIdentifierOutput() MetricIdentifierOutput
func (MetricIdentifierOutput) ToMetricIdentifierOutputWithContext ¶
func (o MetricIdentifierOutput) ToMetricIdentifierOutputWithContext(ctx context.Context) MetricIdentifierOutput
func (MetricIdentifierOutput) ToMetricIdentifierPtrOutput ¶
func (o MetricIdentifierOutput) ToMetricIdentifierPtrOutput() MetricIdentifierPtrOutput
func (MetricIdentifierOutput) ToMetricIdentifierPtrOutputWithContext ¶
func (o MetricIdentifierOutput) ToMetricIdentifierPtrOutputWithContext(ctx context.Context) MetricIdentifierPtrOutput
type MetricIdentifierPtrInput ¶
type MetricIdentifierPtrInput interface { pulumi.Input ToMetricIdentifierPtrOutput() MetricIdentifierPtrOutput ToMetricIdentifierPtrOutputWithContext(context.Context) MetricIdentifierPtrOutput }
MetricIdentifierPtrInput is an input type that accepts MetricIdentifierArgs, MetricIdentifierPtr and MetricIdentifierPtrOutput values. You can construct a concrete instance of `MetricIdentifierPtrInput` via:
MetricIdentifierArgs{...} or: nil
func MetricIdentifierPtr ¶
func MetricIdentifierPtr(v *MetricIdentifierArgs) MetricIdentifierPtrInput
type MetricIdentifierPtrOutput ¶
type MetricIdentifierPtrOutput struct{ *pulumi.OutputState }
func (MetricIdentifierPtrOutput) Elem ¶
func (o MetricIdentifierPtrOutput) Elem() MetricIdentifierOutput
func (MetricIdentifierPtrOutput) ElementType ¶
func (MetricIdentifierPtrOutput) ElementType() reflect.Type
func (MetricIdentifierPtrOutput) Name ¶
func (o MetricIdentifierPtrOutput) Name() pulumi.StringPtrOutput
name is the name of the given metric
func (MetricIdentifierPtrOutput) Selector ¶
func (o MetricIdentifierPtrOutput) Selector() metav1.LabelSelectorPtrOutput
selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.
func (MetricIdentifierPtrOutput) ToMetricIdentifierPtrOutput ¶
func (o MetricIdentifierPtrOutput) ToMetricIdentifierPtrOutput() MetricIdentifierPtrOutput
func (MetricIdentifierPtrOutput) ToMetricIdentifierPtrOutputWithContext ¶
func (o MetricIdentifierPtrOutput) ToMetricIdentifierPtrOutputWithContext(ctx context.Context) MetricIdentifierPtrOutput
type MetricSpec ¶
type MetricSpec struct { // container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. This is an alpha feature and can be enabled by the HPAContainerMetrics feature flag. ContainerResource *ContainerResourceMetricSource `pulumi:"containerResource"` // external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). External *ExternalMetricSource `pulumi:"external"` // object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object). Object *ObjectMetricSource `pulumi:"object"` // pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value. Pods *PodsMetricSource `pulumi:"pods"` // resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Resource *ResourceMetricSource `pulumi:"resource"` // type is the type of metric source. It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object. Note: "ContainerResource" type is available on when the feature-gate HPAContainerMetrics is enabled Type string `pulumi:"type"` }
MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).
type MetricSpecArgs ¶
type MetricSpecArgs struct { // container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. This is an alpha feature and can be enabled by the HPAContainerMetrics feature flag. ContainerResource ContainerResourceMetricSourcePtrInput `pulumi:"containerResource"` // external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). External ExternalMetricSourcePtrInput `pulumi:"external"` // object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object). Object ObjectMetricSourcePtrInput `pulumi:"object"` // pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value. Pods PodsMetricSourcePtrInput `pulumi:"pods"` // resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Resource ResourceMetricSourcePtrInput `pulumi:"resource"` // type is the type of metric source. It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object. Note: "ContainerResource" type is available on when the feature-gate HPAContainerMetrics is enabled Type pulumi.StringInput `pulumi:"type"` }
MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).
func (MetricSpecArgs) ElementType ¶
func (MetricSpecArgs) ElementType() reflect.Type
func (MetricSpecArgs) ToMetricSpecOutput ¶
func (i MetricSpecArgs) ToMetricSpecOutput() MetricSpecOutput
func (MetricSpecArgs) ToMetricSpecOutputWithContext ¶
func (i MetricSpecArgs) ToMetricSpecOutputWithContext(ctx context.Context) MetricSpecOutput
type MetricSpecArray ¶
type MetricSpecArray []MetricSpecInput
func (MetricSpecArray) ElementType ¶
func (MetricSpecArray) ElementType() reflect.Type
func (MetricSpecArray) ToMetricSpecArrayOutput ¶
func (i MetricSpecArray) ToMetricSpecArrayOutput() MetricSpecArrayOutput
func (MetricSpecArray) ToMetricSpecArrayOutputWithContext ¶
func (i MetricSpecArray) ToMetricSpecArrayOutputWithContext(ctx context.Context) MetricSpecArrayOutput
type MetricSpecArrayInput ¶
type MetricSpecArrayInput interface { pulumi.Input ToMetricSpecArrayOutput() MetricSpecArrayOutput ToMetricSpecArrayOutputWithContext(context.Context) MetricSpecArrayOutput }
MetricSpecArrayInput is an input type that accepts MetricSpecArray and MetricSpecArrayOutput values. You can construct a concrete instance of `MetricSpecArrayInput` via:
MetricSpecArray{ MetricSpecArgs{...} }
type MetricSpecArrayOutput ¶
type MetricSpecArrayOutput struct{ *pulumi.OutputState }
func (MetricSpecArrayOutput) ElementType ¶
func (MetricSpecArrayOutput) ElementType() reflect.Type
func (MetricSpecArrayOutput) Index ¶
func (o MetricSpecArrayOutput) Index(i pulumi.IntInput) MetricSpecOutput
func (MetricSpecArrayOutput) ToMetricSpecArrayOutput ¶
func (o MetricSpecArrayOutput) ToMetricSpecArrayOutput() MetricSpecArrayOutput
func (MetricSpecArrayOutput) ToMetricSpecArrayOutputWithContext ¶
func (o MetricSpecArrayOutput) ToMetricSpecArrayOutputWithContext(ctx context.Context) MetricSpecArrayOutput
type MetricSpecInput ¶
type MetricSpecInput interface { pulumi.Input ToMetricSpecOutput() MetricSpecOutput ToMetricSpecOutputWithContext(context.Context) MetricSpecOutput }
MetricSpecInput is an input type that accepts MetricSpecArgs and MetricSpecOutput values. You can construct a concrete instance of `MetricSpecInput` via:
MetricSpecArgs{...}
type MetricSpecOutput ¶
type MetricSpecOutput struct{ *pulumi.OutputState }
MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).
func (MetricSpecOutput) ContainerResource ¶
func (o MetricSpecOutput) ContainerResource() ContainerResourceMetricSourcePtrOutput
container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. This is an alpha feature and can be enabled by the HPAContainerMetrics feature flag.
func (MetricSpecOutput) ElementType ¶
func (MetricSpecOutput) ElementType() reflect.Type
func (MetricSpecOutput) External ¶
func (o MetricSpecOutput) External() ExternalMetricSourcePtrOutput
external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).
func (MetricSpecOutput) Object ¶
func (o MetricSpecOutput) Object() ObjectMetricSourcePtrOutput
object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
func (MetricSpecOutput) Pods ¶
func (o MetricSpecOutput) Pods() PodsMetricSourcePtrOutput
pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.
func (MetricSpecOutput) Resource ¶
func (o MetricSpecOutput) Resource() ResourceMetricSourcePtrOutput
resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
func (MetricSpecOutput) ToMetricSpecOutput ¶
func (o MetricSpecOutput) ToMetricSpecOutput() MetricSpecOutput
func (MetricSpecOutput) ToMetricSpecOutputWithContext ¶
func (o MetricSpecOutput) ToMetricSpecOutputWithContext(ctx context.Context) MetricSpecOutput
func (MetricSpecOutput) Type ¶
func (o MetricSpecOutput) Type() pulumi.StringOutput
type is the type of metric source. It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object. Note: "ContainerResource" type is available on when the feature-gate HPAContainerMetrics is enabled
type MetricStatus ¶
type MetricStatus struct { // container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. ContainerResource *ContainerResourceMetricStatus `pulumi:"containerResource"` // external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). External *ExternalMetricStatus `pulumi:"external"` // object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object). Object *ObjectMetricStatus `pulumi:"object"` // pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value. Pods *PodsMetricStatus `pulumi:"pods"` // resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Resource *ResourceMetricStatus `pulumi:"resource"` // type is the type of metric source. It will be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each corresponds to a matching field in the object. Note: "ContainerResource" type is available on when the feature-gate HPAContainerMetrics is enabled Type string `pulumi:"type"` }
MetricStatus describes the last-read state of a single metric.
type MetricStatusArgs ¶
type MetricStatusArgs struct { // container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. ContainerResource ContainerResourceMetricStatusPtrInput `pulumi:"containerResource"` // external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). External ExternalMetricStatusPtrInput `pulumi:"external"` // object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object). Object ObjectMetricStatusPtrInput `pulumi:"object"` // pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value. Pods PodsMetricStatusPtrInput `pulumi:"pods"` // resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Resource ResourceMetricStatusPtrInput `pulumi:"resource"` // type is the type of metric source. It will be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each corresponds to a matching field in the object. Note: "ContainerResource" type is available on when the feature-gate HPAContainerMetrics is enabled Type pulumi.StringInput `pulumi:"type"` }
MetricStatus describes the last-read state of a single metric.
func (MetricStatusArgs) ElementType ¶
func (MetricStatusArgs) ElementType() reflect.Type
func (MetricStatusArgs) ToMetricStatusOutput ¶
func (i MetricStatusArgs) ToMetricStatusOutput() MetricStatusOutput
func (MetricStatusArgs) ToMetricStatusOutputWithContext ¶
func (i MetricStatusArgs) ToMetricStatusOutputWithContext(ctx context.Context) MetricStatusOutput
type MetricStatusArray ¶
type MetricStatusArray []MetricStatusInput
func (MetricStatusArray) ElementType ¶
func (MetricStatusArray) ElementType() reflect.Type
func (MetricStatusArray) ToMetricStatusArrayOutput ¶
func (i MetricStatusArray) ToMetricStatusArrayOutput() MetricStatusArrayOutput
func (MetricStatusArray) ToMetricStatusArrayOutputWithContext ¶
func (i MetricStatusArray) ToMetricStatusArrayOutputWithContext(ctx context.Context) MetricStatusArrayOutput
type MetricStatusArrayInput ¶
type MetricStatusArrayInput interface { pulumi.Input ToMetricStatusArrayOutput() MetricStatusArrayOutput ToMetricStatusArrayOutputWithContext(context.Context) MetricStatusArrayOutput }
MetricStatusArrayInput is an input type that accepts MetricStatusArray and MetricStatusArrayOutput values. You can construct a concrete instance of `MetricStatusArrayInput` via:
MetricStatusArray{ MetricStatusArgs{...} }
type MetricStatusArrayOutput ¶
type MetricStatusArrayOutput struct{ *pulumi.OutputState }
func (MetricStatusArrayOutput) ElementType ¶
func (MetricStatusArrayOutput) ElementType() reflect.Type
func (MetricStatusArrayOutput) Index ¶
func (o MetricStatusArrayOutput) Index(i pulumi.IntInput) MetricStatusOutput
func (MetricStatusArrayOutput) ToMetricStatusArrayOutput ¶
func (o MetricStatusArrayOutput) ToMetricStatusArrayOutput() MetricStatusArrayOutput
func (MetricStatusArrayOutput) ToMetricStatusArrayOutputWithContext ¶
func (o MetricStatusArrayOutput) ToMetricStatusArrayOutputWithContext(ctx context.Context) MetricStatusArrayOutput
type MetricStatusInput ¶
type MetricStatusInput interface { pulumi.Input ToMetricStatusOutput() MetricStatusOutput ToMetricStatusOutputWithContext(context.Context) MetricStatusOutput }
MetricStatusInput is an input type that accepts MetricStatusArgs and MetricStatusOutput values. You can construct a concrete instance of `MetricStatusInput` via:
MetricStatusArgs{...}
type MetricStatusOutput ¶
type MetricStatusOutput struct{ *pulumi.OutputState }
MetricStatus describes the last-read state of a single metric.
func (MetricStatusOutput) ContainerResource ¶
func (o MetricStatusOutput) ContainerResource() ContainerResourceMetricStatusPtrOutput
container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
func (MetricStatusOutput) ElementType ¶
func (MetricStatusOutput) ElementType() reflect.Type
func (MetricStatusOutput) External ¶
func (o MetricStatusOutput) External() ExternalMetricStatusPtrOutput
external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).
func (MetricStatusOutput) Object ¶
func (o MetricStatusOutput) Object() ObjectMetricStatusPtrOutput
object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
func (MetricStatusOutput) Pods ¶
func (o MetricStatusOutput) Pods() PodsMetricStatusPtrOutput
pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.
func (MetricStatusOutput) Resource ¶
func (o MetricStatusOutput) Resource() ResourceMetricStatusPtrOutput
resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
func (MetricStatusOutput) ToMetricStatusOutput ¶
func (o MetricStatusOutput) ToMetricStatusOutput() MetricStatusOutput
func (MetricStatusOutput) ToMetricStatusOutputWithContext ¶
func (o MetricStatusOutput) ToMetricStatusOutputWithContext(ctx context.Context) MetricStatusOutput
func (MetricStatusOutput) Type ¶
func (o MetricStatusOutput) Type() pulumi.StringOutput
type is the type of metric source. It will be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each corresponds to a matching field in the object. Note: "ContainerResource" type is available on when the feature-gate HPAContainerMetrics is enabled
type MetricTarget ¶
type MetricTarget struct { // averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type AverageUtilization *int `pulumi:"averageUtilization"` // averageValue is the target value of the average of the metric across all relevant pods (as a quantity) AverageValue *string `pulumi:"averageValue"` // type represents whether the metric type is Utilization, Value, or AverageValue Type string `pulumi:"type"` // value is the target value of the metric (as a quantity). Value *string `pulumi:"value"` }
MetricTarget defines the target value, average value, or average utilization of a specific metric
type MetricTargetArgs ¶
type MetricTargetArgs struct { // averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type AverageUtilization pulumi.IntPtrInput `pulumi:"averageUtilization"` // averageValue is the target value of the average of the metric across all relevant pods (as a quantity) AverageValue pulumi.StringPtrInput `pulumi:"averageValue"` // type represents whether the metric type is Utilization, Value, or AverageValue Type pulumi.StringInput `pulumi:"type"` // value is the target value of the metric (as a quantity). Value pulumi.StringPtrInput `pulumi:"value"` }
MetricTarget defines the target value, average value, or average utilization of a specific metric
func (MetricTargetArgs) ElementType ¶
func (MetricTargetArgs) ElementType() reflect.Type
func (MetricTargetArgs) ToMetricTargetOutput ¶
func (i MetricTargetArgs) ToMetricTargetOutput() MetricTargetOutput
func (MetricTargetArgs) ToMetricTargetOutputWithContext ¶
func (i MetricTargetArgs) ToMetricTargetOutputWithContext(ctx context.Context) MetricTargetOutput
func (MetricTargetArgs) ToMetricTargetPtrOutput ¶
func (i MetricTargetArgs) ToMetricTargetPtrOutput() MetricTargetPtrOutput
func (MetricTargetArgs) ToMetricTargetPtrOutputWithContext ¶
func (i MetricTargetArgs) ToMetricTargetPtrOutputWithContext(ctx context.Context) MetricTargetPtrOutput
type MetricTargetInput ¶
type MetricTargetInput interface { pulumi.Input ToMetricTargetOutput() MetricTargetOutput ToMetricTargetOutputWithContext(context.Context) MetricTargetOutput }
MetricTargetInput is an input type that accepts MetricTargetArgs and MetricTargetOutput values. You can construct a concrete instance of `MetricTargetInput` via:
MetricTargetArgs{...}
type MetricTargetOutput ¶
type MetricTargetOutput struct{ *pulumi.OutputState }
MetricTarget defines the target value, average value, or average utilization of a specific metric
func (MetricTargetOutput) AverageUtilization ¶
func (o MetricTargetOutput) AverageUtilization() pulumi.IntPtrOutput
averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type
func (MetricTargetOutput) AverageValue ¶
func (o MetricTargetOutput) AverageValue() pulumi.StringPtrOutput
averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
func (MetricTargetOutput) ElementType ¶
func (MetricTargetOutput) ElementType() reflect.Type
func (MetricTargetOutput) ToMetricTargetOutput ¶
func (o MetricTargetOutput) ToMetricTargetOutput() MetricTargetOutput
func (MetricTargetOutput) ToMetricTargetOutputWithContext ¶
func (o MetricTargetOutput) ToMetricTargetOutputWithContext(ctx context.Context) MetricTargetOutput
func (MetricTargetOutput) ToMetricTargetPtrOutput ¶
func (o MetricTargetOutput) ToMetricTargetPtrOutput() MetricTargetPtrOutput
func (MetricTargetOutput) ToMetricTargetPtrOutputWithContext ¶
func (o MetricTargetOutput) ToMetricTargetPtrOutputWithContext(ctx context.Context) MetricTargetPtrOutput
func (MetricTargetOutput) Type ¶
func (o MetricTargetOutput) Type() pulumi.StringOutput
type represents whether the metric type is Utilization, Value, or AverageValue
func (MetricTargetOutput) Value ¶
func (o MetricTargetOutput) Value() pulumi.StringPtrOutput
value is the target value of the metric (as a quantity).
type MetricTargetPtrInput ¶
type MetricTargetPtrInput interface { pulumi.Input ToMetricTargetPtrOutput() MetricTargetPtrOutput ToMetricTargetPtrOutputWithContext(context.Context) MetricTargetPtrOutput }
MetricTargetPtrInput is an input type that accepts MetricTargetArgs, MetricTargetPtr and MetricTargetPtrOutput values. You can construct a concrete instance of `MetricTargetPtrInput` via:
MetricTargetArgs{...} or: nil
func MetricTargetPtr ¶
func MetricTargetPtr(v *MetricTargetArgs) MetricTargetPtrInput
type MetricTargetPtrOutput ¶
type MetricTargetPtrOutput struct{ *pulumi.OutputState }
func (MetricTargetPtrOutput) AverageUtilization ¶
func (o MetricTargetPtrOutput) AverageUtilization() pulumi.IntPtrOutput
averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type
func (MetricTargetPtrOutput) AverageValue ¶
func (o MetricTargetPtrOutput) AverageValue() pulumi.StringPtrOutput
averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
func (MetricTargetPtrOutput) Elem ¶
func (o MetricTargetPtrOutput) Elem() MetricTargetOutput
func (MetricTargetPtrOutput) ElementType ¶
func (MetricTargetPtrOutput) ElementType() reflect.Type
func (MetricTargetPtrOutput) ToMetricTargetPtrOutput ¶
func (o MetricTargetPtrOutput) ToMetricTargetPtrOutput() MetricTargetPtrOutput
func (MetricTargetPtrOutput) ToMetricTargetPtrOutputWithContext ¶
func (o MetricTargetPtrOutput) ToMetricTargetPtrOutputWithContext(ctx context.Context) MetricTargetPtrOutput
func (MetricTargetPtrOutput) Type ¶
func (o MetricTargetPtrOutput) Type() pulumi.StringPtrOutput
type represents whether the metric type is Utilization, Value, or AverageValue
func (MetricTargetPtrOutput) Value ¶
func (o MetricTargetPtrOutput) Value() pulumi.StringPtrOutput
value is the target value of the metric (as a quantity).
type MetricValueStatus ¶
type MetricValueStatus struct { // currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. AverageUtilization *int `pulumi:"averageUtilization"` // averageValue is the current value of the average of the metric across all relevant pods (as a quantity) AverageValue *string `pulumi:"averageValue"` // value is the current value of the metric (as a quantity). Value *string `pulumi:"value"` }
MetricValueStatus holds the current value for a metric
type MetricValueStatusArgs ¶
type MetricValueStatusArgs struct { // currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. AverageUtilization pulumi.IntPtrInput `pulumi:"averageUtilization"` // averageValue is the current value of the average of the metric across all relevant pods (as a quantity) AverageValue pulumi.StringPtrInput `pulumi:"averageValue"` // value is the current value of the metric (as a quantity). Value pulumi.StringPtrInput `pulumi:"value"` }
MetricValueStatus holds the current value for a metric
func (MetricValueStatusArgs) ElementType ¶
func (MetricValueStatusArgs) ElementType() reflect.Type
func (MetricValueStatusArgs) ToMetricValueStatusOutput ¶
func (i MetricValueStatusArgs) ToMetricValueStatusOutput() MetricValueStatusOutput
func (MetricValueStatusArgs) ToMetricValueStatusOutputWithContext ¶
func (i MetricValueStatusArgs) ToMetricValueStatusOutputWithContext(ctx context.Context) MetricValueStatusOutput
func (MetricValueStatusArgs) ToMetricValueStatusPtrOutput ¶
func (i MetricValueStatusArgs) ToMetricValueStatusPtrOutput() MetricValueStatusPtrOutput
func (MetricValueStatusArgs) ToMetricValueStatusPtrOutputWithContext ¶
func (i MetricValueStatusArgs) ToMetricValueStatusPtrOutputWithContext(ctx context.Context) MetricValueStatusPtrOutput
type MetricValueStatusInput ¶
type MetricValueStatusInput interface { pulumi.Input ToMetricValueStatusOutput() MetricValueStatusOutput ToMetricValueStatusOutputWithContext(context.Context) MetricValueStatusOutput }
MetricValueStatusInput is an input type that accepts MetricValueStatusArgs and MetricValueStatusOutput values. You can construct a concrete instance of `MetricValueStatusInput` via:
MetricValueStatusArgs{...}
type MetricValueStatusOutput ¶
type MetricValueStatusOutput struct{ *pulumi.OutputState }
MetricValueStatus holds the current value for a metric
func (MetricValueStatusOutput) AverageUtilization ¶
func (o MetricValueStatusOutput) AverageUtilization() pulumi.IntPtrOutput
currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
func (MetricValueStatusOutput) AverageValue ¶
func (o MetricValueStatusOutput) AverageValue() pulumi.StringPtrOutput
averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
func (MetricValueStatusOutput) ElementType ¶
func (MetricValueStatusOutput) ElementType() reflect.Type
func (MetricValueStatusOutput) ToMetricValueStatusOutput ¶
func (o MetricValueStatusOutput) ToMetricValueStatusOutput() MetricValueStatusOutput
func (MetricValueStatusOutput) ToMetricValueStatusOutputWithContext ¶
func (o MetricValueStatusOutput) ToMetricValueStatusOutputWithContext(ctx context.Context) MetricValueStatusOutput
func (MetricValueStatusOutput) ToMetricValueStatusPtrOutput ¶
func (o MetricValueStatusOutput) ToMetricValueStatusPtrOutput() MetricValueStatusPtrOutput
func (MetricValueStatusOutput) ToMetricValueStatusPtrOutputWithContext ¶
func (o MetricValueStatusOutput) ToMetricValueStatusPtrOutputWithContext(ctx context.Context) MetricValueStatusPtrOutput
func (MetricValueStatusOutput) Value ¶
func (o MetricValueStatusOutput) Value() pulumi.StringPtrOutput
value is the current value of the metric (as a quantity).
type MetricValueStatusPtrInput ¶
type MetricValueStatusPtrInput interface { pulumi.Input ToMetricValueStatusPtrOutput() MetricValueStatusPtrOutput ToMetricValueStatusPtrOutputWithContext(context.Context) MetricValueStatusPtrOutput }
MetricValueStatusPtrInput is an input type that accepts MetricValueStatusArgs, MetricValueStatusPtr and MetricValueStatusPtrOutput values. You can construct a concrete instance of `MetricValueStatusPtrInput` via:
MetricValueStatusArgs{...} or: nil
func MetricValueStatusPtr ¶
func MetricValueStatusPtr(v *MetricValueStatusArgs) MetricValueStatusPtrInput
type MetricValueStatusPtrOutput ¶
type MetricValueStatusPtrOutput struct{ *pulumi.OutputState }
func (MetricValueStatusPtrOutput) AverageUtilization ¶
func (o MetricValueStatusPtrOutput) AverageUtilization() pulumi.IntPtrOutput
currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
func (MetricValueStatusPtrOutput) AverageValue ¶
func (o MetricValueStatusPtrOutput) AverageValue() pulumi.StringPtrOutput
averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
func (MetricValueStatusPtrOutput) Elem ¶
func (o MetricValueStatusPtrOutput) Elem() MetricValueStatusOutput
func (MetricValueStatusPtrOutput) ElementType ¶
func (MetricValueStatusPtrOutput) ElementType() reflect.Type
func (MetricValueStatusPtrOutput) ToMetricValueStatusPtrOutput ¶
func (o MetricValueStatusPtrOutput) ToMetricValueStatusPtrOutput() MetricValueStatusPtrOutput
func (MetricValueStatusPtrOutput) ToMetricValueStatusPtrOutputWithContext ¶
func (o MetricValueStatusPtrOutput) ToMetricValueStatusPtrOutputWithContext(ctx context.Context) MetricValueStatusPtrOutput
func (MetricValueStatusPtrOutput) Value ¶
func (o MetricValueStatusPtrOutput) Value() pulumi.StringPtrOutput
value is the current value of the metric (as a quantity).
type ObjectMetricSource ¶
type ObjectMetricSource struct { DescribedObject CrossVersionObjectReference `pulumi:"describedObject"` // metric identifies the target metric by name and selector Metric MetricIdentifier `pulumi:"metric"` // target specifies the target value for the given metric Target MetricTarget `pulumi:"target"` }
ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
type ObjectMetricSourceArgs ¶
type ObjectMetricSourceArgs struct { DescribedObject CrossVersionObjectReferenceInput `pulumi:"describedObject"` // metric identifies the target metric by name and selector Metric MetricIdentifierInput `pulumi:"metric"` // target specifies the target value for the given metric Target MetricTargetInput `pulumi:"target"` }
ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
func (ObjectMetricSourceArgs) ElementType ¶
func (ObjectMetricSourceArgs) ElementType() reflect.Type
func (ObjectMetricSourceArgs) ToObjectMetricSourceOutput ¶
func (i ObjectMetricSourceArgs) ToObjectMetricSourceOutput() ObjectMetricSourceOutput
func (ObjectMetricSourceArgs) ToObjectMetricSourceOutputWithContext ¶
func (i ObjectMetricSourceArgs) ToObjectMetricSourceOutputWithContext(ctx context.Context) ObjectMetricSourceOutput
func (ObjectMetricSourceArgs) ToObjectMetricSourcePtrOutput ¶
func (i ObjectMetricSourceArgs) ToObjectMetricSourcePtrOutput() ObjectMetricSourcePtrOutput
func (ObjectMetricSourceArgs) ToObjectMetricSourcePtrOutputWithContext ¶
func (i ObjectMetricSourceArgs) ToObjectMetricSourcePtrOutputWithContext(ctx context.Context) ObjectMetricSourcePtrOutput
type ObjectMetricSourceInput ¶
type ObjectMetricSourceInput interface { pulumi.Input ToObjectMetricSourceOutput() ObjectMetricSourceOutput ToObjectMetricSourceOutputWithContext(context.Context) ObjectMetricSourceOutput }
ObjectMetricSourceInput is an input type that accepts ObjectMetricSourceArgs and ObjectMetricSourceOutput values. You can construct a concrete instance of `ObjectMetricSourceInput` via:
ObjectMetricSourceArgs{...}
type ObjectMetricSourceOutput ¶
type ObjectMetricSourceOutput struct{ *pulumi.OutputState }
ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
func (ObjectMetricSourceOutput) DescribedObject ¶
func (o ObjectMetricSourceOutput) DescribedObject() CrossVersionObjectReferenceOutput
func (ObjectMetricSourceOutput) ElementType ¶
func (ObjectMetricSourceOutput) ElementType() reflect.Type
func (ObjectMetricSourceOutput) Metric ¶
func (o ObjectMetricSourceOutput) Metric() MetricIdentifierOutput
metric identifies the target metric by name and selector
func (ObjectMetricSourceOutput) Target ¶
func (o ObjectMetricSourceOutput) Target() MetricTargetOutput
target specifies the target value for the given metric
func (ObjectMetricSourceOutput) ToObjectMetricSourceOutput ¶
func (o ObjectMetricSourceOutput) ToObjectMetricSourceOutput() ObjectMetricSourceOutput
func (ObjectMetricSourceOutput) ToObjectMetricSourceOutputWithContext ¶
func (o ObjectMetricSourceOutput) ToObjectMetricSourceOutputWithContext(ctx context.Context) ObjectMetricSourceOutput
func (ObjectMetricSourceOutput) ToObjectMetricSourcePtrOutput ¶
func (o ObjectMetricSourceOutput) ToObjectMetricSourcePtrOutput() ObjectMetricSourcePtrOutput
func (ObjectMetricSourceOutput) ToObjectMetricSourcePtrOutputWithContext ¶
func (o ObjectMetricSourceOutput) ToObjectMetricSourcePtrOutputWithContext(ctx context.Context) ObjectMetricSourcePtrOutput
type ObjectMetricSourcePtrInput ¶
type ObjectMetricSourcePtrInput interface { pulumi.Input ToObjectMetricSourcePtrOutput() ObjectMetricSourcePtrOutput ToObjectMetricSourcePtrOutputWithContext(context.Context) ObjectMetricSourcePtrOutput }
ObjectMetricSourcePtrInput is an input type that accepts ObjectMetricSourceArgs, ObjectMetricSourcePtr and ObjectMetricSourcePtrOutput values. You can construct a concrete instance of `ObjectMetricSourcePtrInput` via:
ObjectMetricSourceArgs{...} or: nil
func ObjectMetricSourcePtr ¶
func ObjectMetricSourcePtr(v *ObjectMetricSourceArgs) ObjectMetricSourcePtrInput
type ObjectMetricSourcePtrOutput ¶
type ObjectMetricSourcePtrOutput struct{ *pulumi.OutputState }
func (ObjectMetricSourcePtrOutput) DescribedObject ¶
func (o ObjectMetricSourcePtrOutput) DescribedObject() CrossVersionObjectReferencePtrOutput
func (ObjectMetricSourcePtrOutput) Elem ¶
func (o ObjectMetricSourcePtrOutput) Elem() ObjectMetricSourceOutput
func (ObjectMetricSourcePtrOutput) ElementType ¶
func (ObjectMetricSourcePtrOutput) ElementType() reflect.Type
func (ObjectMetricSourcePtrOutput) Metric ¶
func (o ObjectMetricSourcePtrOutput) Metric() MetricIdentifierPtrOutput
metric identifies the target metric by name and selector
func (ObjectMetricSourcePtrOutput) Target ¶
func (o ObjectMetricSourcePtrOutput) Target() MetricTargetPtrOutput
target specifies the target value for the given metric
func (ObjectMetricSourcePtrOutput) ToObjectMetricSourcePtrOutput ¶
func (o ObjectMetricSourcePtrOutput) ToObjectMetricSourcePtrOutput() ObjectMetricSourcePtrOutput
func (ObjectMetricSourcePtrOutput) ToObjectMetricSourcePtrOutputWithContext ¶
func (o ObjectMetricSourcePtrOutput) ToObjectMetricSourcePtrOutputWithContext(ctx context.Context) ObjectMetricSourcePtrOutput
type ObjectMetricStatus ¶
type ObjectMetricStatus struct { // current contains the current value for the given metric Current MetricValueStatus `pulumi:"current"` DescribedObject CrossVersionObjectReference `pulumi:"describedObject"` // metric identifies the target metric by name and selector Metric MetricIdentifier `pulumi:"metric"` }
ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
type ObjectMetricStatusArgs ¶
type ObjectMetricStatusArgs struct { // current contains the current value for the given metric Current MetricValueStatusInput `pulumi:"current"` DescribedObject CrossVersionObjectReferenceInput `pulumi:"describedObject"` // metric identifies the target metric by name and selector Metric MetricIdentifierInput `pulumi:"metric"` }
ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
func (ObjectMetricStatusArgs) ElementType ¶
func (ObjectMetricStatusArgs) ElementType() reflect.Type
func (ObjectMetricStatusArgs) ToObjectMetricStatusOutput ¶
func (i ObjectMetricStatusArgs) ToObjectMetricStatusOutput() ObjectMetricStatusOutput
func (ObjectMetricStatusArgs) ToObjectMetricStatusOutputWithContext ¶
func (i ObjectMetricStatusArgs) ToObjectMetricStatusOutputWithContext(ctx context.Context) ObjectMetricStatusOutput
func (ObjectMetricStatusArgs) ToObjectMetricStatusPtrOutput ¶
func (i ObjectMetricStatusArgs) ToObjectMetricStatusPtrOutput() ObjectMetricStatusPtrOutput
func (ObjectMetricStatusArgs) ToObjectMetricStatusPtrOutputWithContext ¶
func (i ObjectMetricStatusArgs) ToObjectMetricStatusPtrOutputWithContext(ctx context.Context) ObjectMetricStatusPtrOutput
type ObjectMetricStatusInput ¶
type ObjectMetricStatusInput interface { pulumi.Input ToObjectMetricStatusOutput() ObjectMetricStatusOutput ToObjectMetricStatusOutputWithContext(context.Context) ObjectMetricStatusOutput }
ObjectMetricStatusInput is an input type that accepts ObjectMetricStatusArgs and ObjectMetricStatusOutput values. You can construct a concrete instance of `ObjectMetricStatusInput` via:
ObjectMetricStatusArgs{...}
type ObjectMetricStatusOutput ¶
type ObjectMetricStatusOutput struct{ *pulumi.OutputState }
ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
func (ObjectMetricStatusOutput) Current ¶
func (o ObjectMetricStatusOutput) Current() MetricValueStatusOutput
current contains the current value for the given metric
func (ObjectMetricStatusOutput) DescribedObject ¶
func (o ObjectMetricStatusOutput) DescribedObject() CrossVersionObjectReferenceOutput
func (ObjectMetricStatusOutput) ElementType ¶
func (ObjectMetricStatusOutput) ElementType() reflect.Type
func (ObjectMetricStatusOutput) Metric ¶
func (o ObjectMetricStatusOutput) Metric() MetricIdentifierOutput
metric identifies the target metric by name and selector
func (ObjectMetricStatusOutput) ToObjectMetricStatusOutput ¶
func (o ObjectMetricStatusOutput) ToObjectMetricStatusOutput() ObjectMetricStatusOutput
func (ObjectMetricStatusOutput) ToObjectMetricStatusOutputWithContext ¶
func (o ObjectMetricStatusOutput) ToObjectMetricStatusOutputWithContext(ctx context.Context) ObjectMetricStatusOutput
func (ObjectMetricStatusOutput) ToObjectMetricStatusPtrOutput ¶
func (o ObjectMetricStatusOutput) ToObjectMetricStatusPtrOutput() ObjectMetricStatusPtrOutput
func (ObjectMetricStatusOutput) ToObjectMetricStatusPtrOutputWithContext ¶
func (o ObjectMetricStatusOutput) ToObjectMetricStatusPtrOutputWithContext(ctx context.Context) ObjectMetricStatusPtrOutput
type ObjectMetricStatusPtrInput ¶
type ObjectMetricStatusPtrInput interface { pulumi.Input ToObjectMetricStatusPtrOutput() ObjectMetricStatusPtrOutput ToObjectMetricStatusPtrOutputWithContext(context.Context) ObjectMetricStatusPtrOutput }
ObjectMetricStatusPtrInput is an input type that accepts ObjectMetricStatusArgs, ObjectMetricStatusPtr and ObjectMetricStatusPtrOutput values. You can construct a concrete instance of `ObjectMetricStatusPtrInput` via:
ObjectMetricStatusArgs{...} or: nil
func ObjectMetricStatusPtr ¶
func ObjectMetricStatusPtr(v *ObjectMetricStatusArgs) ObjectMetricStatusPtrInput
type ObjectMetricStatusPtrOutput ¶
type ObjectMetricStatusPtrOutput struct{ *pulumi.OutputState }
func (ObjectMetricStatusPtrOutput) Current ¶
func (o ObjectMetricStatusPtrOutput) Current() MetricValueStatusPtrOutput
current contains the current value for the given metric
func (ObjectMetricStatusPtrOutput) DescribedObject ¶
func (o ObjectMetricStatusPtrOutput) DescribedObject() CrossVersionObjectReferencePtrOutput
func (ObjectMetricStatusPtrOutput) Elem ¶
func (o ObjectMetricStatusPtrOutput) Elem() ObjectMetricStatusOutput
func (ObjectMetricStatusPtrOutput) ElementType ¶
func (ObjectMetricStatusPtrOutput) ElementType() reflect.Type
func (ObjectMetricStatusPtrOutput) Metric ¶
func (o ObjectMetricStatusPtrOutput) Metric() MetricIdentifierPtrOutput
metric identifies the target metric by name and selector
func (ObjectMetricStatusPtrOutput) ToObjectMetricStatusPtrOutput ¶
func (o ObjectMetricStatusPtrOutput) ToObjectMetricStatusPtrOutput() ObjectMetricStatusPtrOutput
func (ObjectMetricStatusPtrOutput) ToObjectMetricStatusPtrOutputWithContext ¶
func (o ObjectMetricStatusPtrOutput) ToObjectMetricStatusPtrOutputWithContext(ctx context.Context) ObjectMetricStatusPtrOutput
type PodsMetricSource ¶
type PodsMetricSource struct { // metric identifies the target metric by name and selector Metric MetricIdentifier `pulumi:"metric"` // target specifies the target value for the given metric Target MetricTarget `pulumi:"target"` }
PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.
type PodsMetricSourceArgs ¶
type PodsMetricSourceArgs struct { // metric identifies the target metric by name and selector Metric MetricIdentifierInput `pulumi:"metric"` // target specifies the target value for the given metric Target MetricTargetInput `pulumi:"target"` }
PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.
func (PodsMetricSourceArgs) ElementType ¶
func (PodsMetricSourceArgs) ElementType() reflect.Type
func (PodsMetricSourceArgs) ToPodsMetricSourceOutput ¶
func (i PodsMetricSourceArgs) ToPodsMetricSourceOutput() PodsMetricSourceOutput
func (PodsMetricSourceArgs) ToPodsMetricSourceOutputWithContext ¶
func (i PodsMetricSourceArgs) ToPodsMetricSourceOutputWithContext(ctx context.Context) PodsMetricSourceOutput
func (PodsMetricSourceArgs) ToPodsMetricSourcePtrOutput ¶
func (i PodsMetricSourceArgs) ToPodsMetricSourcePtrOutput() PodsMetricSourcePtrOutput
func (PodsMetricSourceArgs) ToPodsMetricSourcePtrOutputWithContext ¶
func (i PodsMetricSourceArgs) ToPodsMetricSourcePtrOutputWithContext(ctx context.Context) PodsMetricSourcePtrOutput
type PodsMetricSourceInput ¶
type PodsMetricSourceInput interface { pulumi.Input ToPodsMetricSourceOutput() PodsMetricSourceOutput ToPodsMetricSourceOutputWithContext(context.Context) PodsMetricSourceOutput }
PodsMetricSourceInput is an input type that accepts PodsMetricSourceArgs and PodsMetricSourceOutput values. You can construct a concrete instance of `PodsMetricSourceInput` via:
PodsMetricSourceArgs{...}
type PodsMetricSourceOutput ¶
type PodsMetricSourceOutput struct{ *pulumi.OutputState }
PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.
func (PodsMetricSourceOutput) ElementType ¶
func (PodsMetricSourceOutput) ElementType() reflect.Type
func (PodsMetricSourceOutput) Metric ¶
func (o PodsMetricSourceOutput) Metric() MetricIdentifierOutput
metric identifies the target metric by name and selector
func (PodsMetricSourceOutput) Target ¶
func (o PodsMetricSourceOutput) Target() MetricTargetOutput
target specifies the target value for the given metric
func (PodsMetricSourceOutput) ToPodsMetricSourceOutput ¶
func (o PodsMetricSourceOutput) ToPodsMetricSourceOutput() PodsMetricSourceOutput
func (PodsMetricSourceOutput) ToPodsMetricSourceOutputWithContext ¶
func (o PodsMetricSourceOutput) ToPodsMetricSourceOutputWithContext(ctx context.Context) PodsMetricSourceOutput
func (PodsMetricSourceOutput) ToPodsMetricSourcePtrOutput ¶
func (o PodsMetricSourceOutput) ToPodsMetricSourcePtrOutput() PodsMetricSourcePtrOutput
func (PodsMetricSourceOutput) ToPodsMetricSourcePtrOutputWithContext ¶
func (o PodsMetricSourceOutput) ToPodsMetricSourcePtrOutputWithContext(ctx context.Context) PodsMetricSourcePtrOutput
type PodsMetricSourcePtrInput ¶
type PodsMetricSourcePtrInput interface { pulumi.Input ToPodsMetricSourcePtrOutput() PodsMetricSourcePtrOutput ToPodsMetricSourcePtrOutputWithContext(context.Context) PodsMetricSourcePtrOutput }
PodsMetricSourcePtrInput is an input type that accepts PodsMetricSourceArgs, PodsMetricSourcePtr and PodsMetricSourcePtrOutput values. You can construct a concrete instance of `PodsMetricSourcePtrInput` via:
PodsMetricSourceArgs{...} or: nil
func PodsMetricSourcePtr ¶
func PodsMetricSourcePtr(v *PodsMetricSourceArgs) PodsMetricSourcePtrInput
type PodsMetricSourcePtrOutput ¶
type PodsMetricSourcePtrOutput struct{ *pulumi.OutputState }
func (PodsMetricSourcePtrOutput) Elem ¶
func (o PodsMetricSourcePtrOutput) Elem() PodsMetricSourceOutput
func (PodsMetricSourcePtrOutput) ElementType ¶
func (PodsMetricSourcePtrOutput) ElementType() reflect.Type
func (PodsMetricSourcePtrOutput) Metric ¶
func (o PodsMetricSourcePtrOutput) Metric() MetricIdentifierPtrOutput
metric identifies the target metric by name and selector
func (PodsMetricSourcePtrOutput) Target ¶
func (o PodsMetricSourcePtrOutput) Target() MetricTargetPtrOutput
target specifies the target value for the given metric
func (PodsMetricSourcePtrOutput) ToPodsMetricSourcePtrOutput ¶
func (o PodsMetricSourcePtrOutput) ToPodsMetricSourcePtrOutput() PodsMetricSourcePtrOutput
func (PodsMetricSourcePtrOutput) ToPodsMetricSourcePtrOutputWithContext ¶
func (o PodsMetricSourcePtrOutput) ToPodsMetricSourcePtrOutputWithContext(ctx context.Context) PodsMetricSourcePtrOutput
type PodsMetricStatus ¶
type PodsMetricStatus struct { // current contains the current value for the given metric Current MetricValueStatus `pulumi:"current"` // metric identifies the target metric by name and selector Metric MetricIdentifier `pulumi:"metric"` }
PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).
type PodsMetricStatusArgs ¶
type PodsMetricStatusArgs struct { // current contains the current value for the given metric Current MetricValueStatusInput `pulumi:"current"` // metric identifies the target metric by name and selector Metric MetricIdentifierInput `pulumi:"metric"` }
PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).
func (PodsMetricStatusArgs) ElementType ¶
func (PodsMetricStatusArgs) ElementType() reflect.Type
func (PodsMetricStatusArgs) ToPodsMetricStatusOutput ¶
func (i PodsMetricStatusArgs) ToPodsMetricStatusOutput() PodsMetricStatusOutput
func (PodsMetricStatusArgs) ToPodsMetricStatusOutputWithContext ¶
func (i PodsMetricStatusArgs) ToPodsMetricStatusOutputWithContext(ctx context.Context) PodsMetricStatusOutput
func (PodsMetricStatusArgs) ToPodsMetricStatusPtrOutput ¶
func (i PodsMetricStatusArgs) ToPodsMetricStatusPtrOutput() PodsMetricStatusPtrOutput
func (PodsMetricStatusArgs) ToPodsMetricStatusPtrOutputWithContext ¶
func (i PodsMetricStatusArgs) ToPodsMetricStatusPtrOutputWithContext(ctx context.Context) PodsMetricStatusPtrOutput
type PodsMetricStatusInput ¶
type PodsMetricStatusInput interface { pulumi.Input ToPodsMetricStatusOutput() PodsMetricStatusOutput ToPodsMetricStatusOutputWithContext(context.Context) PodsMetricStatusOutput }
PodsMetricStatusInput is an input type that accepts PodsMetricStatusArgs and PodsMetricStatusOutput values. You can construct a concrete instance of `PodsMetricStatusInput` via:
PodsMetricStatusArgs{...}
type PodsMetricStatusOutput ¶
type PodsMetricStatusOutput struct{ *pulumi.OutputState }
PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).
func (PodsMetricStatusOutput) Current ¶
func (o PodsMetricStatusOutput) Current() MetricValueStatusOutput
current contains the current value for the given metric
func (PodsMetricStatusOutput) ElementType ¶
func (PodsMetricStatusOutput) ElementType() reflect.Type
func (PodsMetricStatusOutput) Metric ¶
func (o PodsMetricStatusOutput) Metric() MetricIdentifierOutput
metric identifies the target metric by name and selector
func (PodsMetricStatusOutput) ToPodsMetricStatusOutput ¶
func (o PodsMetricStatusOutput) ToPodsMetricStatusOutput() PodsMetricStatusOutput
func (PodsMetricStatusOutput) ToPodsMetricStatusOutputWithContext ¶
func (o PodsMetricStatusOutput) ToPodsMetricStatusOutputWithContext(ctx context.Context) PodsMetricStatusOutput
func (PodsMetricStatusOutput) ToPodsMetricStatusPtrOutput ¶
func (o PodsMetricStatusOutput) ToPodsMetricStatusPtrOutput() PodsMetricStatusPtrOutput
func (PodsMetricStatusOutput) ToPodsMetricStatusPtrOutputWithContext ¶
func (o PodsMetricStatusOutput) ToPodsMetricStatusPtrOutputWithContext(ctx context.Context) PodsMetricStatusPtrOutput
type PodsMetricStatusPtrInput ¶
type PodsMetricStatusPtrInput interface { pulumi.Input ToPodsMetricStatusPtrOutput() PodsMetricStatusPtrOutput ToPodsMetricStatusPtrOutputWithContext(context.Context) PodsMetricStatusPtrOutput }
PodsMetricStatusPtrInput is an input type that accepts PodsMetricStatusArgs, PodsMetricStatusPtr and PodsMetricStatusPtrOutput values. You can construct a concrete instance of `PodsMetricStatusPtrInput` via:
PodsMetricStatusArgs{...} or: nil
func PodsMetricStatusPtr ¶
func PodsMetricStatusPtr(v *PodsMetricStatusArgs) PodsMetricStatusPtrInput
type PodsMetricStatusPtrOutput ¶
type PodsMetricStatusPtrOutput struct{ *pulumi.OutputState }
func (PodsMetricStatusPtrOutput) Current ¶
func (o PodsMetricStatusPtrOutput) Current() MetricValueStatusPtrOutput
current contains the current value for the given metric
func (PodsMetricStatusPtrOutput) Elem ¶
func (o PodsMetricStatusPtrOutput) Elem() PodsMetricStatusOutput
func (PodsMetricStatusPtrOutput) ElementType ¶
func (PodsMetricStatusPtrOutput) ElementType() reflect.Type
func (PodsMetricStatusPtrOutput) Metric ¶
func (o PodsMetricStatusPtrOutput) Metric() MetricIdentifierPtrOutput
metric identifies the target metric by name and selector
func (PodsMetricStatusPtrOutput) ToPodsMetricStatusPtrOutput ¶
func (o PodsMetricStatusPtrOutput) ToPodsMetricStatusPtrOutput() PodsMetricStatusPtrOutput
func (PodsMetricStatusPtrOutput) ToPodsMetricStatusPtrOutputWithContext ¶
func (o PodsMetricStatusPtrOutput) ToPodsMetricStatusPtrOutputWithContext(ctx context.Context) PodsMetricStatusPtrOutput
type ResourceMetricSource ¶
type ResourceMetricSource struct { // name is the name of the resource in question. Name string `pulumi:"name"` // target specifies the target value for the given metric Target MetricTarget `pulumi:"target"` }
ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.
type ResourceMetricSourceArgs ¶
type ResourceMetricSourceArgs struct { // name is the name of the resource in question. Name pulumi.StringInput `pulumi:"name"` // target specifies the target value for the given metric Target MetricTargetInput `pulumi:"target"` }
ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.
func (ResourceMetricSourceArgs) ElementType ¶
func (ResourceMetricSourceArgs) ElementType() reflect.Type
func (ResourceMetricSourceArgs) ToResourceMetricSourceOutput ¶
func (i ResourceMetricSourceArgs) ToResourceMetricSourceOutput() ResourceMetricSourceOutput
func (ResourceMetricSourceArgs) ToResourceMetricSourceOutputWithContext ¶
func (i ResourceMetricSourceArgs) ToResourceMetricSourceOutputWithContext(ctx context.Context) ResourceMetricSourceOutput
func (ResourceMetricSourceArgs) ToResourceMetricSourcePtrOutput ¶
func (i ResourceMetricSourceArgs) ToResourceMetricSourcePtrOutput() ResourceMetricSourcePtrOutput
func (ResourceMetricSourceArgs) ToResourceMetricSourcePtrOutputWithContext ¶
func (i ResourceMetricSourceArgs) ToResourceMetricSourcePtrOutputWithContext(ctx context.Context) ResourceMetricSourcePtrOutput
type ResourceMetricSourceInput ¶
type ResourceMetricSourceInput interface { pulumi.Input ToResourceMetricSourceOutput() ResourceMetricSourceOutput ToResourceMetricSourceOutputWithContext(context.Context) ResourceMetricSourceOutput }
ResourceMetricSourceInput is an input type that accepts ResourceMetricSourceArgs and ResourceMetricSourceOutput values. You can construct a concrete instance of `ResourceMetricSourceInput` via:
ResourceMetricSourceArgs{...}
type ResourceMetricSourceOutput ¶
type ResourceMetricSourceOutput struct{ *pulumi.OutputState }
ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.
func (ResourceMetricSourceOutput) ElementType ¶
func (ResourceMetricSourceOutput) ElementType() reflect.Type
func (ResourceMetricSourceOutput) Name ¶
func (o ResourceMetricSourceOutput) Name() pulumi.StringOutput
name is the name of the resource in question.
func (ResourceMetricSourceOutput) Target ¶
func (o ResourceMetricSourceOutput) Target() MetricTargetOutput
target specifies the target value for the given metric
func (ResourceMetricSourceOutput) ToResourceMetricSourceOutput ¶
func (o ResourceMetricSourceOutput) ToResourceMetricSourceOutput() ResourceMetricSourceOutput
func (ResourceMetricSourceOutput) ToResourceMetricSourceOutputWithContext ¶
func (o ResourceMetricSourceOutput) ToResourceMetricSourceOutputWithContext(ctx context.Context) ResourceMetricSourceOutput
func (ResourceMetricSourceOutput) ToResourceMetricSourcePtrOutput ¶
func (o ResourceMetricSourceOutput) ToResourceMetricSourcePtrOutput() ResourceMetricSourcePtrOutput
func (ResourceMetricSourceOutput) ToResourceMetricSourcePtrOutputWithContext ¶
func (o ResourceMetricSourceOutput) ToResourceMetricSourcePtrOutputWithContext(ctx context.Context) ResourceMetricSourcePtrOutput
type ResourceMetricSourcePtrInput ¶
type ResourceMetricSourcePtrInput interface { pulumi.Input ToResourceMetricSourcePtrOutput() ResourceMetricSourcePtrOutput ToResourceMetricSourcePtrOutputWithContext(context.Context) ResourceMetricSourcePtrOutput }
ResourceMetricSourcePtrInput is an input type that accepts ResourceMetricSourceArgs, ResourceMetricSourcePtr and ResourceMetricSourcePtrOutput values. You can construct a concrete instance of `ResourceMetricSourcePtrInput` via:
ResourceMetricSourceArgs{...} or: nil
func ResourceMetricSourcePtr ¶
func ResourceMetricSourcePtr(v *ResourceMetricSourceArgs) ResourceMetricSourcePtrInput
type ResourceMetricSourcePtrOutput ¶
type ResourceMetricSourcePtrOutput struct{ *pulumi.OutputState }
func (ResourceMetricSourcePtrOutput) Elem ¶
func (o ResourceMetricSourcePtrOutput) Elem() ResourceMetricSourceOutput
func (ResourceMetricSourcePtrOutput) ElementType ¶
func (ResourceMetricSourcePtrOutput) ElementType() reflect.Type
func (ResourceMetricSourcePtrOutput) Name ¶
func (o ResourceMetricSourcePtrOutput) Name() pulumi.StringPtrOutput
name is the name of the resource in question.
func (ResourceMetricSourcePtrOutput) Target ¶
func (o ResourceMetricSourcePtrOutput) Target() MetricTargetPtrOutput
target specifies the target value for the given metric
func (ResourceMetricSourcePtrOutput) ToResourceMetricSourcePtrOutput ¶
func (o ResourceMetricSourcePtrOutput) ToResourceMetricSourcePtrOutput() ResourceMetricSourcePtrOutput
func (ResourceMetricSourcePtrOutput) ToResourceMetricSourcePtrOutputWithContext ¶
func (o ResourceMetricSourcePtrOutput) ToResourceMetricSourcePtrOutputWithContext(ctx context.Context) ResourceMetricSourcePtrOutput
type ResourceMetricStatus ¶
type ResourceMetricStatus struct { // current contains the current value for the given metric Current MetricValueStatus `pulumi:"current"` // Name is the name of the resource in question. Name string `pulumi:"name"` }
ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
type ResourceMetricStatusArgs ¶
type ResourceMetricStatusArgs struct { // current contains the current value for the given metric Current MetricValueStatusInput `pulumi:"current"` // Name is the name of the resource in question. Name pulumi.StringInput `pulumi:"name"` }
ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
func (ResourceMetricStatusArgs) ElementType ¶
func (ResourceMetricStatusArgs) ElementType() reflect.Type
func (ResourceMetricStatusArgs) ToResourceMetricStatusOutput ¶
func (i ResourceMetricStatusArgs) ToResourceMetricStatusOutput() ResourceMetricStatusOutput
func (ResourceMetricStatusArgs) ToResourceMetricStatusOutputWithContext ¶
func (i ResourceMetricStatusArgs) ToResourceMetricStatusOutputWithContext(ctx context.Context) ResourceMetricStatusOutput
func (ResourceMetricStatusArgs) ToResourceMetricStatusPtrOutput ¶
func (i ResourceMetricStatusArgs) ToResourceMetricStatusPtrOutput() ResourceMetricStatusPtrOutput
func (ResourceMetricStatusArgs) ToResourceMetricStatusPtrOutputWithContext ¶
func (i ResourceMetricStatusArgs) ToResourceMetricStatusPtrOutputWithContext(ctx context.Context) ResourceMetricStatusPtrOutput
type ResourceMetricStatusInput ¶
type ResourceMetricStatusInput interface { pulumi.Input ToResourceMetricStatusOutput() ResourceMetricStatusOutput ToResourceMetricStatusOutputWithContext(context.Context) ResourceMetricStatusOutput }
ResourceMetricStatusInput is an input type that accepts ResourceMetricStatusArgs and ResourceMetricStatusOutput values. You can construct a concrete instance of `ResourceMetricStatusInput` via:
ResourceMetricStatusArgs{...}
type ResourceMetricStatusOutput ¶
type ResourceMetricStatusOutput struct{ *pulumi.OutputState }
ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
func (ResourceMetricStatusOutput) Current ¶
func (o ResourceMetricStatusOutput) Current() MetricValueStatusOutput
current contains the current value for the given metric
func (ResourceMetricStatusOutput) ElementType ¶
func (ResourceMetricStatusOutput) ElementType() reflect.Type
func (ResourceMetricStatusOutput) Name ¶
func (o ResourceMetricStatusOutput) Name() pulumi.StringOutput
Name is the name of the resource in question.
func (ResourceMetricStatusOutput) ToResourceMetricStatusOutput ¶
func (o ResourceMetricStatusOutput) ToResourceMetricStatusOutput() ResourceMetricStatusOutput
func (ResourceMetricStatusOutput) ToResourceMetricStatusOutputWithContext ¶
func (o ResourceMetricStatusOutput) ToResourceMetricStatusOutputWithContext(ctx context.Context) ResourceMetricStatusOutput
func (ResourceMetricStatusOutput) ToResourceMetricStatusPtrOutput ¶
func (o ResourceMetricStatusOutput) ToResourceMetricStatusPtrOutput() ResourceMetricStatusPtrOutput
func (ResourceMetricStatusOutput) ToResourceMetricStatusPtrOutputWithContext ¶
func (o ResourceMetricStatusOutput) ToResourceMetricStatusPtrOutputWithContext(ctx context.Context) ResourceMetricStatusPtrOutput
type ResourceMetricStatusPtrInput ¶
type ResourceMetricStatusPtrInput interface { pulumi.Input ToResourceMetricStatusPtrOutput() ResourceMetricStatusPtrOutput ToResourceMetricStatusPtrOutputWithContext(context.Context) ResourceMetricStatusPtrOutput }
ResourceMetricStatusPtrInput is an input type that accepts ResourceMetricStatusArgs, ResourceMetricStatusPtr and ResourceMetricStatusPtrOutput values. You can construct a concrete instance of `ResourceMetricStatusPtrInput` via:
ResourceMetricStatusArgs{...} or: nil
func ResourceMetricStatusPtr ¶
func ResourceMetricStatusPtr(v *ResourceMetricStatusArgs) ResourceMetricStatusPtrInput
type ResourceMetricStatusPtrOutput ¶
type ResourceMetricStatusPtrOutput struct{ *pulumi.OutputState }
func (ResourceMetricStatusPtrOutput) Current ¶
func (o ResourceMetricStatusPtrOutput) Current() MetricValueStatusPtrOutput
current contains the current value for the given metric
func (ResourceMetricStatusPtrOutput) Elem ¶
func (o ResourceMetricStatusPtrOutput) Elem() ResourceMetricStatusOutput
func (ResourceMetricStatusPtrOutput) ElementType ¶
func (ResourceMetricStatusPtrOutput) ElementType() reflect.Type
func (ResourceMetricStatusPtrOutput) Name ¶
func (o ResourceMetricStatusPtrOutput) Name() pulumi.StringPtrOutput
Name is the name of the resource in question.
func (ResourceMetricStatusPtrOutput) ToResourceMetricStatusPtrOutput ¶
func (o ResourceMetricStatusPtrOutput) ToResourceMetricStatusPtrOutput() ResourceMetricStatusPtrOutput
func (ResourceMetricStatusPtrOutput) ToResourceMetricStatusPtrOutputWithContext ¶
func (o ResourceMetricStatusPtrOutput) ToResourceMetricStatusPtrOutputWithContext(ctx context.Context) ResourceMetricStatusPtrOutput