Class V2HorizontalPodAutoscalerBehavior
HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in
both Up and Down directions (scaleUp and scaleDown fields respectively).
Inheritance
V2HorizontalPodAutoscalerBehavior
Assembly: KubernetesClient.dll
Syntax
public record V2HorizontalPodAutoscalerBehavior : IEquatable<V2HorizontalPodAutoscalerBehavior>
Constructors
View Source
V2HorizontalPodAutoscalerBehavior()
Declaration
public V2HorizontalPodAutoscalerBehavior()
View Source
V2HorizontalPodAutoscalerBehavior(V2HorizontalPodAutoscalerBehavior)
Declaration
protected V2HorizontalPodAutoscalerBehavior(V2HorizontalPodAutoscalerBehavior original)
Parameters
Properties
View Source
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
View Source
ScaleDown
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).
Declaration
[JsonPropertyName("scaleDown")]
public V2HPAScalingRules ScaleDown { get; set; }
Property Value
View Source
ScaleUp
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.
Declaration
[JsonPropertyName("scaleUp")]
public V2HPAScalingRules ScaleUp { get; set; }
Property Value
Methods
View Source
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
View Source
Equals(V2HorizontalPodAutoscalerBehavior?)
Declaration
public virtual bool Equals(V2HorizontalPodAutoscalerBehavior? other)
Parameters
Returns
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
View Source
PrintMembers(StringBuilder)
Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Returns
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
View Source
operator ==(V2HorizontalPodAutoscalerBehavior?, V2HorizontalPodAutoscalerBehavior?)
Declaration
public static bool operator ==(V2HorizontalPodAutoscalerBehavior? left, V2HorizontalPodAutoscalerBehavior? right)
Parameters
Returns
View Source
operator !=(V2HorizontalPodAutoscalerBehavior?, V2HorizontalPodAutoscalerBehavior?)
Declaration
public static bool operator !=(V2HorizontalPodAutoscalerBehavior? left, V2HorizontalPodAutoscalerBehavior? right)
Parameters
Returns
Implements