Show / Hide Table of Contents

Class V2HorizontalPodAutoscalerBehavior

HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).

Inheritance
object
V2HorizontalPodAutoscalerBehavior
Implements
IEquatable<V2HorizontalPodAutoscalerBehavior>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: k8s.Models
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
Type Name Description
V2HorizontalPodAutoscalerBehavior original

Properties

View Source

EqualityContract

Declaration
protected virtual Type EqualityContract { get; }
Property Value
Type Description
Type
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
Type Description
V2HPAScalingRules
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
Type Description
V2HPAScalingRules

Methods

View Source

Equals(object?)

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
object.Equals(object)
View Source

Equals(V2HorizontalPodAutoscalerBehavior?)

Declaration
public virtual bool Equals(V2HorizontalPodAutoscalerBehavior? other)
Parameters
Type Name Description
V2HorizontalPodAutoscalerBehavior other
Returns
Type Description
bool
View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()
View Source

PrintMembers(StringBuilder)

Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Type Name Description
StringBuilder builder
Returns
Type Description
bool
View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Operators

View Source

operator ==(V2HorizontalPodAutoscalerBehavior?, V2HorizontalPodAutoscalerBehavior?)

Declaration
public static bool operator ==(V2HorizontalPodAutoscalerBehavior? left, V2HorizontalPodAutoscalerBehavior? right)
Parameters
Type Name Description
V2HorizontalPodAutoscalerBehavior left
V2HorizontalPodAutoscalerBehavior right
Returns
Type Description
bool
View Source

operator !=(V2HorizontalPodAutoscalerBehavior?, V2HorizontalPodAutoscalerBehavior?)

Declaration
public static bool operator !=(V2HorizontalPodAutoscalerBehavior? left, V2HorizontalPodAutoscalerBehavior? right)
Parameters
Type Name Description
V2HorizontalPodAutoscalerBehavior left
V2HorizontalPodAutoscalerBehavior right
Returns
Type Description
bool

Implements

IEquatable<T>
  • View Source
In this article
Back to top Generated by DocFX