Implement as a new kind to continue to support users that want to define their own pools.
kind: PoolGroupPolicy
metadata:
name: k8s-pool-name
spec:
cluster: demo
minimumInstances: 10
maximumInstance: 100
percentPreemptible: 50
# 50% of what? cpu or pod count or memory or mix???
percentMetric: cpu
# preemptibleTypes, onDemandTypes ~optional
preemptibleTypes: # preemptible can use these types
- n1-standard-1
- n1-standard-2
onDemandTypes: # ondemand can use these types
- n1-standard-1
- n1-standard-2
locations: # specify the regions/zones to use
- us-central-1a
- us-central-1
Need support other fields for taints, labels, etc.
Implement as a new
kindto continue to support users that want to define their own pools.Need support other fields for taints, labels, etc.