Skip to content

Commit

Permalink
porting operate-first resource quotas
Browse files Browse the repository at this point in the history
Signed-off-by: greg pereira <[email protected]>
  • Loading branch information
Gregory-Pereira committed Feb 1, 2023
0 parents commit bb7d34f
Show file tree
Hide file tree
Showing 8 changed files with 72 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component

resources:
- ./resourcequotas.yaml
12 changes: 12 additions & 0 deletions cluster-scope/components/resourcequotas/large/resourcequotas.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
kind: ResourceQuota
apiVersion: v1
metadata:
name: large
spec:
hard:
requests.cpu: '4'
requests.memory: 16Gi
limits.cpu: '4'
limits.memory: 16Gi
requests.storage: 80Gi
count/objectbucketclaims.objectbucket.io: 1
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component

resources:
- ./resourcequotas.yaml
12 changes: 12 additions & 0 deletions cluster-scope/components/resourcequotas/medium/resourcequotas.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
kind: ResourceQuota
apiVersion: v1
metadata:
name: medium
spec:
hard:
requests.cpu: '2'
requests.memory: 8Gi
limits.cpu: '2'
limits.memory: 8Gi
requests.storage: 40Gi
count/objectbucketclaims.objectbucket.io: 1
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component

resources:
- ./resourcequotas.yaml
12 changes: 12 additions & 0 deletions cluster-scope/components/resourcequotas/small/resourcequotas.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
kind: ResourceQuota
apiVersion: v1
metadata:
name: small
spec:
hard:
requests.cpu: '1'
requests.memory: 4Gi
limits.cpu: '1'
limits.memory: 4Gi
requests.storage: 20Gi
count/objectbucketclaims.objectbucket.io: 1
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component

resources:
- ./resourcequotas.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
kind: ResourceQuota
apiVersion: v1
metadata:
name: x-small
spec:
hard:
requests.cpu: '500m'
requests.memory: 2Gi
limits.cpu: '500m'
limits.memory: 2Gi
requests.storage: 10Gi
count/objectbucketclaims.objectbucket.io: 1

0 comments on commit bb7d34f

Please sign in to comment.