public sealed class HorizontalPodAutoscaling : IMessage<HorizontalPodAutoscaling>, IEquatable<HorizontalPodAutoscaling>, IDeepCloneable<HorizontalPodAutoscaling>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Kubernetes Engine v1 API class HorizontalPodAutoscaling.
Configuration options for the horizontal pod autoscaling feature, which increases or decreases the number of replica pods a replication controller has based on the resource usage of the existing pods.
Implements
IMessageHorizontalPodAutoscaling, IEquatableHorizontalPodAutoscaling, IDeepCloneableHorizontalPodAutoscaling, IBufferMessage, IMessageNamespace
Google.Cloud.Container.V1Assembly
Google.Cloud.Container.V1.dll
Constructors
HorizontalPodAutoscaling()
public HorizontalPodAutoscaling()
HorizontalPodAutoscaling(HorizontalPodAutoscaling)
public HorizontalPodAutoscaling(HorizontalPodAutoscaling other)
Parameter | |
---|---|
Name | Description |
other | HorizontalPodAutoscaling |
Properties
Disabled
public bool Disabled { get; set; }
Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. When enabled, it ensures that metrics are collected into Stackdriver Monitoring.
Property Value | |
---|---|
Type | Description |
bool |