Skip to content

Commit 8889082

Browse files
Merge pull request opendatahub-io#42 from gmfrasca/resource-limits
feat(frontend|backend): Assign reqeuest/limit hardware specs on ML Pipelines deployments
2 parents cfa7d65 + 8dd65c9 commit 8889082

File tree

9 files changed

+36
-4
lines changed

9 files changed

+36
-4
lines changed

manifests/opendatahub/base/deployments/ml-pipeline-persistenceagent.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,7 @@ spec:
5151
requests:
5252
cpu: 120m
5353
memory: 500Mi
54+
limits:
55+
cpu: 250m
56+
memory: 1Gi
5457
serviceAccountName: ml-pipeline-persistenceagent

manifests/opendatahub/base/deployments/ml-pipeline-scheduledworkflow.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,11 @@ spec:
4848
initialDelaySeconds: 3
4949
periodSeconds: 5
5050
timeoutSeconds: 2
51+
resources:
52+
requests:
53+
cpu: 120m
54+
memory: 100Mi
55+
limits:
56+
cpu: 250m
57+
memory: 250Mi
5158
serviceAccountName: ml-pipeline-scheduledworkflow

manifests/opendatahub/base/deployments/ml-pipeline-viewer-crd.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,11 @@ spec:
4949
initialDelaySeconds: 3
5050
periodSeconds: 5
5151
timeoutSeconds: 2
52+
resources:
53+
requests:
54+
cpu: 120m
55+
memory: 100Mi
56+
limits:
57+
cpu: 250m
58+
memory: 500Mi
5259
serviceAccountName: ml-pipeline-viewer-crd-service-account

manifests/opendatahub/base/deployments/ml-pipeline-visualizationserver.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,7 @@ spec:
5353
requests:
5454
cpu: 30m
5555
memory: 500Mi
56+
limits:
57+
cpu: 250m
58+
memory: 1Gi
5659
serviceAccountName: ml-pipeline-visualizationserver

manifests/opendatahub/base/deployments/ml-pipeline.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,4 +155,7 @@ spec:
155155
requests:
156156
cpu: 250m
157157
memory: 500Mi
158+
limits:
159+
cpu: 500m
160+
memory: 1Gi
158161
serviceAccountName: ml-pipeline

manifests/opendatahub/overlays/metadata-store-mariadb/deployments/mariadb.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ spec:
6868
resources:
6969
requests:
7070
cpu: 300m
71-
memory: 500Mi
71+
memory: 800Mi
7272
limits:
73-
cpu: 500m
73+
cpu: "1"
7474
memory: 1Gi
7575
volumeMounts:
7676
- name: mariadb-persistent-storage

manifests/opendatahub/overlays/metadata-store-mysql/deployments/mysql.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,11 @@ spec:
4949
timeoutSeconds: 1
5050
resources:
5151
requests:
52-
cpu: 100m
52+
cpu: 300m
5353
memory: 800Mi
54+
limits:
55+
cpu: "1"
56+
memory: 1Gi
5457
volumeMounts:
5558
- mountPath: /var/lib/mysql
5659
name: mysql-persistent-storage

manifests/opendatahub/overlays/metadata-store-postgresql/deployments/postgresql.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,11 @@ spec:
5252
timeoutSeconds: 1
5353
resources:
5454
requests:
55-
cpu: 100m
55+
cpu: 300m
5656
memory: 800Mi
57+
limits:
58+
cpu: "1"
59+
memory: 1Gi
5760
volumeMounts:
5861
- mountPath: /var/lib/pgsql/data
5962
name: postgresql-pv-claim

manifests/opendatahub/overlays/object-store-minio/deployments/minio.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ spec:
5757
requests:
5858
cpu: 20m
5959
memory: 100Mi
60+
limits:
61+
cpu: 250m
62+
memory: 1Gi
6063
volumeMounts:
6164
- mountPath: /data
6265
name: data

0 commit comments

Comments
 (0)