Set resource limit for skydns containers based on data collected by #10335

This commit is contained in:
Dawn Chen 2015-07-01 14:47:29 -07:00
parent 4f2d22263e
commit ce520dd6e8

View File

@ -22,6 +22,10 @@ spec:
containers: containers:
- name: etcd - name: etcd
image: gcr.io/google_containers/etcd:2.0.9 image: gcr.io/google_containers/etcd:2.0.9
resources:
limits:
cpu: 100m
memory: 50Mi
command: command:
- /usr/local/bin/etcd - /usr/local/bin/etcd
- -listen-client-urls - -listen-client-urls
@ -32,11 +36,19 @@ spec:
- skydns-etcd - skydns-etcd
- name: kube2sky - name: kube2sky
image: gcr.io/google_containers/kube2sky:1.10 image: gcr.io/google_containers/kube2sky:1.10
resources:
limits:
cpu: 100m
memory: 50Mi
args: args:
# command = "/kube2sky" # command = "/kube2sky"
- -domain={{ pillar['dns_domain'] }} - -domain={{ pillar['dns_domain'] }}
- name: skydns - name: skydns
image: gcr.io/google_containers/skydns:2015-03-11-001 image: gcr.io/google_containers/skydns:2015-03-11-001
resources:
limits:
cpu: 100m
memory: 50Mi
args: args:
# command = "/skydns" # command = "/skydns"
- -machines=http://localhost:4001 - -machines=http://localhost:4001