Skip to content

Commit

Permalink
Add ope-course-quota resourceQuota to cluster-scope components
Browse files Browse the repository at this point in the history
Closes: nerc-project/operations#377

Adding this resourceQuota as a component at the cluster scope and adding it to
the rhods-notebooks namespace in the prod cluster. The quota values themselves were
determined based on our resourceQuota in the namespace where we did scale testing,
with a bump to accomodate all the expected students
  • Loading branch information
dystewart committed Jan 15, 2024
1 parent 9944107 commit 8641f62
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component
resources:
- resourcequota.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
kind: ResourceQuota
apiVersion: v1
metadata:
name: ope-course-quota
namespace: rhods-notebooks
spec:
hard:
limits.cpu: '1000'
limits.ephemeral-storage: 30Gi
limits.memory: 3000000Mi
persistentvolumeclaims: '400'
requests.storage: 400Gi
1 change: 1 addition & 0 deletions cluster-scope/overlays/nerc-ocp-prod/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ resources:
components:
- ../../components/nerc-oauth-keycloak
- ../../components/nerc-oauth-github
- ../../components/resourcequotas/ope-course-quota

# this must come last in order to apply
# to all resources.
Expand Down

0 comments on commit 8641f62

Please sign in to comment.