ClusterAutoscaler is the Schema for the clusterautoscalers API
ClusterAutoscaler is the Schema for the clusterautoscalers API
object
Property | Type | Description |
---|---|---|
|
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources |
|
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
|
Standard object’s metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata |
|
|
|
Desired state of ClusterAutoscaler resource |
|
|
Most recently observed status of ClusterAutoscaler resource |
Desired state of ClusterAutoscaler resource
object
Property | Type | Description |
---|---|---|
|
|
BalanceSimilarNodeGroups enables/disables the |
|
|
Enables/Disables |
|
|
Maximum time CA waits for node to be provisioned |
|
|
Gives pods graceful termination time before scaling down |
|
|
To allow users to schedule "best-effort" pods, which shouldn’t trigger Cluster Autoscaler actions, but only run when there are spare resources available, More info: https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#how-does-cluster-autoscaler-work-with-pod-priority-and-preemption |
|
|
Constraints of autoscaling resources |
|
|
Configuration of scale down operation |
|
|
Enables/Disables |
Constraints of autoscaling resources
object
Property | Type | Description |
---|---|---|
|
|
Minimum and maximum number of cores in cluster, in the format <min>:<max>. Cluster autoscaler will not scale the cluster beyond these numbers. |
|
|
Minimum and maximum number of different GPUs in cluster, in the format <gpu_type>:<min>:<max>. Cluster autoscaler will not scale the cluster beyond these numbers. Can be passed multiple times. |
|
|
|
|
|
Maximum number of nodes in all node groups. Cluster autoscaler will not grow the cluster beyond this number. |
|
|
Minimum and maximum number of gigabytes of memory in cluster, in the format <min>:<max>. Cluster autoscaler will not scale the cluster beyond these numbers. |
Minimum and maximum number of cores in cluster, in the format <min>:<max>. Cluster autoscaler will not scale the cluster beyond these numbers.
object
max
min
Property | Type | Description |
---|---|---|
|
|
|
|
|
Minimum and maximum number of different GPUs in cluster, in the format <gpu_type>:<min>:<max>. Cluster autoscaler will not scale the cluster beyond these numbers. Can be passed multiple times.
array
object
max
min
type
Property | Type | Description |
---|---|---|
|
|
|
|
|
|
|
|
Minimum and maximum number of gigabytes of memory in cluster, in the format <min>:<max>. Cluster autoscaler will not scale the cluster beyond these numbers.
object
max
min
Property | Type | Description |
---|---|---|
|
|
|
|
|
Configuration of scale down operation
object
enabled
Property | Type | Description |
---|---|---|
|
|
How long after scale up that scale down evaluation resumes |
|
|
How long after node deletion that scale down evaluation resumes, defaults to scan-interval |
|
|
How long after scale down failure that scale down evaluation resumes |
|
|
Should CA scale down the cluster |
|
|
How long a node should be unneeded before it is eligible for scale down |
|
|
Node utilization level, defined as sum of requested resources divided by capacity, below which a node can be considered for scale down |
The following API endpoints are available:
/apis/autoscaling.openshift.io/v1/clusterautoscalers
DELETE
: delete collection of ClusterAutoscaler
GET
: list objects of kind ClusterAutoscaler
POST
: create a ClusterAutoscaler
/apis/autoscaling.openshift.io/v1/clusterautoscalers/{name}
DELETE
: delete a ClusterAutoscaler
GET
: read the specified ClusterAutoscaler
PATCH
: partially update the specified ClusterAutoscaler
PUT
: replace the specified ClusterAutoscaler
/apis/autoscaling.openshift.io/v1/clusterautoscalers/{name}/status
GET
: read status of the specified ClusterAutoscaler
PATCH
: partially update status of the specified ClusterAutoscaler
PUT
: replace status of the specified ClusterAutoscaler
Parameter | Type | Description |
---|---|---|
|
|
If 'true', then the output is pretty printed. |
DELETE
delete collection of ClusterAutoscaler
Parameter | Type | Description |
---|---|---|
|
|
allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. |
|
|
The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer |