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
V2HorizontalPodAutoscalerBehavior()
Declaration
public V2HorizontalPodAutoscalerBehavior()
V2HorizontalPodAutoscalerBehavior(V2HorizontalPodAutoscalerBehavior)
Declaration
protected V2HorizontalPodAutoscalerBehavior(V2HorizontalPodAutoscalerBehavior original)
Parameters
Properties
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
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
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
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
Equals(V2HorizontalPodAutoscalerBehavior?)
Declaration
public virtual bool Equals(V2HorizontalPodAutoscalerBehavior? other)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
PrintMembers(StringBuilder)
Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
operator ==(V2HorizontalPodAutoscalerBehavior?, V2HorizontalPodAutoscalerBehavior?)
Declaration
public static bool operator ==(V2HorizontalPodAutoscalerBehavior? left, V2HorizontalPodAutoscalerBehavior? right)
Parameters
Returns
operator !=(V2HorizontalPodAutoscalerBehavior?, V2HorizontalPodAutoscalerBehavior?)
Declaration
public static bool operator !=(V2HorizontalPodAutoscalerBehavior? left, V2HorizontalPodAutoscalerBehavior? right)
Parameters
Returns
Implements