Skip to content

Commit

Permalink
added knobs in operator helm chart to control manager resources
Browse files Browse the repository at this point in the history
  • Loading branch information
pravingadakh committed Feb 5, 2020
1 parent a72257f commit e67e9da
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,11 @@ spec:
protocol: TCP
resources:
limits:
cpu: 100m
memory: 30Mi
cpu: {{ .Values.manager.cpuLimit }}
memory: {{ .Values.manager.memoryLimit }}
requests:
cpu: 100m
memory: 20Mi
cpu: {{ .Values.manager.cpuRequest }}
memory: {{ .Values.manager.memoryRequest }}
volumeMounts:
- mountPath: /tmp/k8s-webhook-server/serving-certs
name: cert
Expand Down
5 changes: 5 additions & 0 deletions helm-charts/seldon-core-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,8 @@ usageMetrics:
enabled: false
webhook:
port: 443
manager:
memoryRequest: 20Mi
memoryLimit: 30Mi
cpuRequest: 100m
cpuLimit: 100m

0 comments on commit e67e9da

Please sign in to comment.