mirror of https://github.com/kubernetes/kops.git
Merge pull request #2010 from mihok/flannel-guarenteed
Adding equal resource requests/limits to flannel for guarenteed QoS
This commit is contained in:
commit
b0254a4800
|
|
@ -67,6 +67,13 @@ spec:
|
|||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: metadata.namespace
|
||||
resources:
|
||||
limits:
|
||||
cpu: 100m
|
||||
memory: 100Mi
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 100Mi
|
||||
volumeMounts:
|
||||
- name: run
|
||||
mountPath: /run
|
||||
|
|
@ -75,6 +82,13 @@ spec:
|
|||
- name: install-cni
|
||||
image: quay.io/coreos/flannel:v0.7.0
|
||||
command: [ "/bin/sh", "-c", "set -e -x; cp -f /etc/kube-flannel/cni-conf.json /etc/cni/net.d/10-flannel.conf; while true; do sleep 3600; done" ]
|
||||
resources:
|
||||
limits:
|
||||
cpu: 10m
|
||||
memory: 25Mi
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 25Mi
|
||||
volumeMounts:
|
||||
- name: cni
|
||||
mountPath: /etc/cni/net.d
|
||||
|
|
|
|||
Loading…
Reference in New Issue