Merge pull request #46782 from dnardo/ip-masq-agent

Automatic merge from submit-queue

Add some initial resource limits to the ip-masq-agent.

These limits were based on observing  the agent over roughly a day RES was typically  ~4M for me but I'd like to make sure we have some headroom.  If there was a huge config map then this could increase  slightly but not significantly since we only allow 64 entries. 

VmPeak:    11164 kB
VmSize:    11164 kB
VmLck:         0 kB
VmPin:         0 kB
VmHWM:      7652 kB
VmRSS:      4260 kB
VmData:     7612 kB
VmStk:       136 kB
VmExe:      1856 kB
VmLib:         0 kB
VmPTE:        40 kB
VmPMD:        20 kB
VmSwap:        0 kB
pull/6/head
Kubernetes Submit Queue 2017-06-03 12:28:27 -07:00 committed by GitHub
commit 388018fa3d
1 changed files with 7 additions and 0 deletions

View File

@ -18,6 +18,13 @@ spec:
containers:
- name: ip-masq-agent
image: gcr.io/google-containers/ip-masq-agent-amd64:v2.0.1
resources:
limits:
cpu: 100m
memory: 8Mi
requests:
cpu: 10m
memory: 8Mi
securityContext:
privileged: true
volumeMounts: