Skip to content

Commit

Permalink
[AC/provisioning] Initial implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
trasc committed Sep 27, 2023
1 parent fb12b0b commit e2c2aa5
Show file tree
Hide file tree
Showing 6 changed files with 584 additions and 0 deletions.
37 changes: 37 additions & 0 deletions charts/kueue/templates/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,17 @@ rules:
verbs:
- get
- patch
- apiGroups:
- ""
resources:
- podtemplates
verbs:
- create
- delete
- get
- list
- update
- watch
- apiGroups:
- ""
resources:
Expand Down Expand Up @@ -73,6 +84,24 @@ rules:
- list
- update
- watch
- apiGroups:
- autoscaling.x-k8s.io
resources:
- provisioningrequests
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- autoscaling.x-k8s.io
resources:
- provisioningrequests/status
verbs:
- get
- apiGroups:
- batch
resources:
Expand Down Expand Up @@ -278,6 +307,14 @@ rules:
- get
- patch
- update
- apiGroups:
- kueue.x-k8s.io
resources:
- provisioningrequestconfigs
verbs:
- get
- list
- watch
- apiGroups:
- kueue.x-k8s.io
resources:
Expand Down
37 changes: 37 additions & 0 deletions config/components/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,17 @@ rules:
verbs:
- get
- patch
- apiGroups:
- ""
resources:
- podtemplates
verbs:
- create
- delete
- get
- list
- update
- watch
- apiGroups:
- ""
resources:
Expand Down Expand Up @@ -74,6 +85,24 @@ rules:
- list
- update
- watch
- apiGroups:
- autoscaling.x-k8s.io
resources:
- provisioningrequests
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- autoscaling.x-k8s.io
resources:
- provisioningrequests/status
verbs:
- get
- apiGroups:
- batch
resources:
Expand Down Expand Up @@ -279,6 +308,14 @@ rules:
- get
- patch
- update
- apiGroups:
- kueue.x-k8s.io
resources:
- provisioningrequestconfigs
verbs:
- get
- list
- watch
- apiGroups:
- kueue.x-k8s.io
resources:
Expand Down
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ require (
k8s.io/api v0.28.2
k8s.io/apimachinery v0.28.2
k8s.io/apiserver v0.28.2
k8s.io/autoscaler/cluster-autoscaler v0.0.0-20230925095857-cf8c507d2421
k8s.io/client-go v0.28.2
k8s.io/code-generator v0.28.2
k8s.io/component-base v0.28.2
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,8 @@ k8s.io/apimachinery v0.28.2 h1:KCOJLrc6gu+wV1BYgwik4AF4vXOlVJPdiqn0yAWWwXQ=
k8s.io/apimachinery v0.28.2/go.mod h1:RdzF87y/ngqk9H4z3EL2Rppv5jj95vGS/HaFXrLDApU=
k8s.io/apiserver v0.28.2 h1:rBeYkLvF94Nku9XfXyUIirsVzCzJBs6jMn3NWeHieyI=
k8s.io/apiserver v0.28.2/go.mod h1:f7D5e8wH8MWcKD7azq6Csw9UN+CjdtXIVQUyUhrtb+E=
k8s.io/autoscaler/cluster-autoscaler v0.0.0-20230925095857-cf8c507d2421 h1:h8E8WHuSP3aArI7k9n/E4r98S5PkXQ+hiQSprylSy7Q=
k8s.io/autoscaler/cluster-autoscaler v0.0.0-20230925095857-cf8c507d2421/go.mod h1:CIDuB0kVY16I0kzpUJa+eYDbj9xbclVbs8aJtgL3WzA=
k8s.io/client-go v0.28.2 h1:DNoYI1vGq0slMBN/SWKMZMw0Rq+0EQW6/AK4v9+3VeY=
k8s.io/client-go v0.28.2/go.mod h1:sMkApowspLuc7omj1FOSUxSoqjr+d5Q0Yc0LOFnYFJY=
k8s.io/code-generator v0.28.2 h1:u47guga1rCWLnEnffF09p+cqj8B20oHOLoQ1lb1HGtQ=
Expand Down
Loading

0 comments on commit e2c2aa5

Please sign in to comment.