public sealed class ClusterAutoscaling : IMessage<ClusterAutoscaling>, IEquatable<ClusterAutoscaling>, IDeepCloneable<ClusterAutoscaling>, IBufferMessage, IMessageReference documentation and code samples for the Google Kubernetes Engine v1 API class ClusterAutoscaling.
ClusterAutoscaling contains global, per-cluster information required by Cluster Autoscaler to automatically adjust the size of the cluster and create/delete node pools based on the current needs.
Implements
IMessageClusterAutoscaling, IEquatableClusterAutoscaling, IDeepCloneableClusterAutoscaling, IBufferMessage, IMessageNamespace
Google.Cloud.Container.V1Assembly
Google.Cloud.Container.V1.dll
Constructors
ClusterAutoscaling()
public ClusterAutoscaling()ClusterAutoscaling(ClusterAutoscaling)
public ClusterAutoscaling(ClusterAutoscaling other)| Parameter | |
|---|---|
| Name | Description |
other |
ClusterAutoscaling |
Properties
AutoprovisioningLocations
public RepeatedField<string> AutoprovisioningLocations { get; }The list of Google Compute Engine zones in which the NodePool's nodes can be created by NAP.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldstring |
|
AutoprovisioningNodePoolDefaults
public AutoprovisioningNodePoolDefaults AutoprovisioningNodePoolDefaults { get; set; }AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.
| Property Value | |
|---|---|
| Type | Description |
AutoprovisioningNodePoolDefaults |
|
AutoscalingProfile
public ClusterAutoscaling.Types.AutoscalingProfile AutoscalingProfile { get; set; }Defines autoscaling behaviour.
| Property Value | |
|---|---|
| Type | Description |
ClusterAutoscalingTypesAutoscalingProfile |
|
DefaultComputeClassConfig
public DefaultComputeClassConfig DefaultComputeClassConfig { get; set; }Default compute class is a configuration for default compute class.
| Property Value | |
|---|---|
| Type | Description |
DefaultComputeClassConfig |
|
EnableNodeAutoprovisioning
public bool EnableNodeAutoprovisioning { get; set; }Enables automatic node pool creation and deletion.
| Property Value | |
|---|---|
| Type | Description |
bool |
|
ResourceLimits
public RepeatedField<ResourceLimit> ResourceLimits { get; }Contains global constraints regarding minimum and maximum amount of resources in the cluster.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldResourceLimit |
|