mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-11 21:12:07 +00:00
Set resource limit for skydns containers based on data collected by #10335
This commit is contained in:
parent
4f2d22263e
commit
ce520dd6e8
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user