Created
October 8, 2018 14:35
-
-
Save derekwaynecarr/9c2ba0a941eb8b11c861bbd5aa63b74d to your computer and use it in GitHub Desktop.
ClusterAutoscalerCRD
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: clusterautoscaling.openshift.io/v1beta1 | |
kind: ClusterAutoscaler | |
metadata: | |
name: autoscale-gpu-workers | |
namespace: openshift-cluster-api | |
spec: | |
## the machine set we want to target (used to build --nodes=argument) | |
scaleTargetRef: | |
apiVersion: <machineSet> | |
kind: MachineSet | |
name: gpu-workers | |
## lowest we will scale this machine set | |
minReplicas: 1 | |
## highest we will scale this machine set | |
maxReplicas: 10 | |
## how often we look | |
scanInterval: 10s | |
expander: least-waste | |
## configure scale down behavior | |
scaleDown: | |
enabled: true | |
delayAfterAdd: 10m | |
delayAfterDelete: | |
## configure scale up behavior | |
scaleUp: | |
## pods less than this old not considered for scale up | |
podDelay: 10s | |
status: | |
## information on if the autoscaler itself is created and running |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment