Skip to content

Commit

Permalink
kfp: Set memory limit only for mysql (kubeflow#982)
Browse files Browse the repository at this point in the history
  • Loading branch information
zijianjoy authored Feb 2, 2022
1 parent ad4d250 commit d3a78db
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
2 changes: 2 additions & 0 deletions acm-repos/kfp-standalone-1/kfp-all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2872,6 +2872,8 @@ spec:
- containerPort: 3306
name: mysql
resources:
limits:
memory: 1Gi
requests:
cpu: 100m
memory: 800Mi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ namespace: kubeflow
patchesStrategicMerge:
- proxy-agent-patch.yaml
- workflow-controller-configmap-patch.yaml
- mysql-patch.yaml

#### Customization ###
# 1. Change values in params.env file
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: mysql
labels:
app: mysql
spec:
template:
spec:
containers:
- name: mysql
resources:
limits:
memory: 1Gi

0 comments on commit d3a78db

Please sign in to comment.