Fixup for #2523:
- Rename template for /etc/cni/net.d/00-weave.conflist to 00-weave.conflist.j2 - Apply resources requests/limits to both container weave and weave-npc
This commit is contained in:
parent
015ea62e92
commit
848fc323db
3 changed files with 6 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
- name: template weavenet conflist
|
||||
template:
|
||||
src: weavenet.conflist.j2
|
||||
src: 00-weave.conflist.j2
|
||||
dest: /etc/cni/net.d/00-weave.conflist
|
||||
owner: kube
|
||||
|
||||
|
|
|
@ -141,7 +141,11 @@ items:
|
|||
initialDelaySeconds: 30
|
||||
resources:
|
||||
requests:
|
||||
cpu: 10m
|
||||
cpu: {{ weave_cpu_requests }}
|
||||
memory: {{ weave_memory_requests }}
|
||||
limits:
|
||||
cpu: {{ weave_cpu_limits }}
|
||||
memory: {{ weave_memory_limits }}
|
||||
securityContext:
|
||||
privileged: true
|
||||
volumeMounts:
|
||||
|
|
Loading…
Reference in a new issue