File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -366,6 +366,10 @@ kube_proxy_verbose_level: "2"
366
366
flannel_cpu : " 25m"
367
367
flannel_memory : " 100Mi"
368
368
369
+ # nvidia device plugin
370
+ nvidia_device_plugin_cpu : " 10m"
371
+ nvidia_device_plugin_memory : " 50Mi"
372
+
369
373
# static egress controller settings
370
374
static_egress_controller_enabled : " true"
371
375
Original file line number Diff line number Diff line change @@ -56,11 +56,11 @@ spec:
56
56
- --pass-device-specs
57
57
resources :
58
58
requests :
59
- cpu : 50m
60
- memory : 25Mi
59
+ cpu : " {{ .Cluster.ConfigItems.nvidia_device_plugin_cpu }} "
60
+ memory : " {{ .Cluster.ConfigItems.nvidia_device_plugin_memory }} "
61
61
limits :
62
- cpu : 50m
63
- memory : 25Mi
62
+ cpu : " {{ .Cluster.ConfigItems.nvidia_device_plugin_cpu }} "
63
+ memory : " {{ .Cluster.ConfigItems.nvidia_device_plugin_memory }} "
64
64
securityContext :
65
65
allowPrivilegeEscalation : false
66
66
capabilities :
You can’t perform that action at this time.
0 commit comments