Skip to content

Commit

Permalink
Set resource limit for skydns containers based on data collected by #…
Browse files Browse the repository at this point in the history
  • Loading branch information
dchen1107 committed Jul 1, 2015
1 parent 4f2d222 commit ce520dd
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions cluster/addons/dns/skydns-rc.yaml.in
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ spec:
containers:
- name: etcd
image: gcr.io/google_containers/etcd:2.0.9
resources:
limits:
cpu: 100m
memory: 50Mi
command:
- /usr/local/bin/etcd
- -listen-client-urls
Expand All @@ -32,11 +36,19 @@ spec:
- skydns-etcd
- name: kube2sky
image: gcr.io/google_containers/kube2sky:1.10
resources:
limits:
cpu: 100m
memory: 50Mi
args:
# command = "/kube2sky"
- -domain={{ pillar['dns_domain'] }}
- name: skydns
image: gcr.io/google_containers/skydns:2015-03-11-001
resources:
limits:
cpu: 100m
memory: 50Mi
args:
# command = "/skydns"
- -machines=http://localhost:4001
Expand Down

0 comments on commit ce520dd

Please sign in to comment.