Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CRD v2 - Support dynamically creating and managing pools #17

Open
coryodaniel opened this issue Jul 17, 2019 · 0 comments
Open

CRD v2 - Support dynamically creating and managing pools #17

coryodaniel opened this issue Jul 17, 2019 · 0 comments

Comments

@coryodaniel
Copy link
Owner

coryodaniel commented Jul 17, 2019

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.

@coryodaniel coryodaniel changed the title crd v2 CRD v2 - Support dynamically creating and managing pools Jul 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant