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:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: "128Mi"
|
memory: "128Mi"
|
||||||
|
limits:
|
||||||
|
memory: "128Mi"
|
||||||
args:
|
args:
|
||||||
- --config=/etc/config/pinniped.yaml
|
- --config=/etc/config/pinniped.yaml
|
||||||
- --downward-api-path=/etc/podinfo
|
- --downward-api-path=/etc/podinfo
|
||||||
|
@ -81,6 +81,8 @@ spec:
|
|||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: "128Mi"
|
memory: "128Mi"
|
||||||
|
limits:
|
||||||
|
memory: "128Mi"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config-volume
|
- name: config-volume
|
||||||
mountPath: /etc/config
|
mountPath: /etc/config
|
||||||
|
Loading…
Reference in New Issue
Block a user