Skip to content
Snippets Groups Projects
Commit 848fc323 authored by Wong Hoi Sing Edison's avatar Wong Hoi Sing Edison
Browse files

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
parent 015ea62e
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
- name: template weavenet conflist - name: template weavenet conflist
template: template:
src: weavenet.conflist.j2 src: 00-weave.conflist.j2
dest: /etc/cni/net.d/00-weave.conflist dest: /etc/cni/net.d/00-weave.conflist
owner: kube owner: kube
......
...@@ -141,7 +141,11 @@ items: ...@@ -141,7 +141,11 @@ items:
initialDelaySeconds: 30 initialDelaySeconds: 30
resources: resources:
requests: requests:
cpu: 10m cpu: {{ weave_cpu_requests }}
memory: {{ weave_memory_requests }}
limits:
cpu: {{ weave_cpu_limits }}
memory: {{ weave_memory_limits }}
securityContext: securityContext:
privileged: true privileged: true
volumeMounts: volumeMounts:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment