Skip to content

Commit ffaa3c2

Browse files
committed
Configure flannel-awaiter requests.
Signed-off-by: gargravarr <[email protected]>
1 parent 2e7d49c commit ffaa3c2

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

cluster/config-defaults.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,9 @@ kube_proxy_verbose_level: "2"
381381
flannel_cpu: "25m"
382382
flannel_memory: "100Mi"
383383

384+
flannel_awaiter_cpu: "25m"
385+
flannel_awaiter_memory: "50Mi"
386+
384387
# nvidia device plugin
385388
nvidia_device_plugin_cpu: "10m"
386389
nvidia_device_plugin_memory: "50Mi"

cluster/manifests/flannel/daemonset.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ spec:
4343
stdin: true
4444
resources:
4545
requests:
46-
cpu: 25m
47-
memory: 50Mi
46+
cpu: "{{ .Cluster.ConfigItems.flannel_awaiter_cpu }}"
47+
memory: "{{ .Cluster.ConfigItems.flannel_awaiter_memory }}"
4848
ephemeral-storage: 256Mi
4949
limits:
50-
cpu: 25m
51-
memory: 50Mi
50+
cpu: "{{ .Cluster.ConfigItems.flannel_awaiter_cpu }}"
51+
memory: "{{ .Cluster.ConfigItems.flannel_awaiter_memory }}"
5252
startupProbe:
5353
exec:
5454
command:

0 commit comments

Comments
 (0)