Merge pull request #180 from vmware-tanzu/limits

Add CPU/memory limits to our deployments
This commit is contained in:
Ryan Richard 2020-11-02 16:22:37 -08:00 committed by GitHub
commit 05cf56a0fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -104,6 +104,10 @@ spec:
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
resources: resources:
requests: requests:
cpu: "100m"
memory: "128Mi"
limits:
cpu: "100m"
memory: "128Mi" memory: "128Mi"
args: args:
- --config=/etc/config/pinniped.yaml - --config=/etc/config/pinniped.yaml

View File

@ -83,6 +83,10 @@ spec:
- /etc/config/pinniped.yaml - /etc/config/pinniped.yaml
resources: resources:
requests: requests:
cpu: "100m"
memory: "128Mi"
limits:
cpu: "100m"
memory: "128Mi" memory: "128Mi"
volumeMounts: volumeMounts:
- name: config-volume - name: config-volume