ClusterAutoscalingProfile Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
ClusterAutoscaling specifies auto-scaling behavior that applies to all NodePools associated with a control plane.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.RedHatOpenShiftHcp.Models.ClusterAutoscalingProfileTypeConverter))]
public class ClusterAutoscalingProfile : Microsoft.Azure.PowerShell.Cmdlets.RedHatOpenShiftHcp.Models.IClusterAutoscalingProfile
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.RedHatOpenShiftHcp.Models.ClusterAutoscalingProfileTypeConverter))>]
type ClusterAutoscalingProfile = class
interface IClusterAutoscalingProfile
interface IJsonSerializable
Public Class ClusterAutoscalingProfile
Implements IClusterAutoscalingProfile
- Inheritance
-
ClusterAutoscalingProfile
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| ClusterAutoscalingProfile() |
Creates an new ClusterAutoscalingProfile instance. |
Properties
| Name | Description |
|---|---|
| MaxNodeProvisionTimeSecond |
maxNodeProvisionTimeSeconds is the maximum time to wait for node provisioning before considering the provisioning to be unsuccessful. The default is 900 seconds, or 15 minutes. |
| MaxNodesTotal |
maxNodesTotal is the maximum allowable number of nodes. The autoscaler will not grow the cluster beyond this number. If omitted, the autoscaler will not have a maximum limit. |
| MaxPodGracePeriodSecond |
maxPodGracePeriodSeconds is the maximum amount of time in seconds to wait for graceful pod termination before scaling down a NodePool. The default is 600 seconds. |
| PodPriorityThreshold |
podPriorityThreshold enables users to schedule "best-effort" pods, which shouldn't trigger autoscaler actions, but only run when there are spare resources available. The default is -10. See the following for more details: https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#how-does-cluster-autoscaler-work-with-pod-priority-and-preemption |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of ClusterAutoscalingProfile. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of ClusterAutoscalingProfile. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.RedHatOpenShiftHcp.Models.IClusterAutoscalingProfile. |
| FromJsonString(String) |
Creates a new instance of ClusterAutoscalingProfile, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of ClusterAutoscalingProfile into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |