deploy: add memory limits
This is the beginning of a change to add cpu/memory limits to our pods. We are doing this because some consumers require this, and it is generally a good practice. The limits == requests for "Guaranteed" QoS. Signed-off-by: Andrew Keesler <akeesler@vmware.com>
This commit is contained in:
parent
7639d5e161
commit
781f86d18c
@ -102,6 +102,8 @@ spec:
|
||||
resources:
|
||||
requests:
|
||||
memory: "128Mi"
|
||||
limits:
|
||||
memory: "128Mi"
|
||||
args:
|
||||
- --config=/etc/config/pinniped.yaml
|
||||
- --downward-api-path=/etc/podinfo
|
||||
|
@ -81,6 +81,8 @@ spec:
|
||||
resources:
|
||||
requests:
|
||||
memory: "128Mi"
|
||||
limits:
|
||||
memory: "128Mi"
|
||||
volumeMounts:
|
||||
- name: config-volume
|
||||
mountPath: /etc/config
|
||||
|
Loading…
Reference in New Issue
Block a user