Skip to content

CRD v2 - Support dynamically creating and managing pools #17

@coryodaniel

Description

@coryodaniel

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions