30MiB for gpu-device-plugin (#4227)

* 30MiB for gpu-device-plugin

* use vars for easier configuration
pull/4305/head
hikoz 2019-02-26 13:03:53 +09:00 committed by Kubernetes Prow Robot
parent 1c12c19150
commit 3d25b4dfc1
2 changed files with 3 additions and 2 deletions

View File

@ -11,3 +11,4 @@ nvidia_driver_install_ubuntu_container: gcr.io/google-containers/ubuntu-nvidia-d
nvidia_driver_install_supported: false nvidia_driver_install_supported: false
nvidia_gpu_device_plugin_container: "k8s.gcr.io/nvidia-gpu-device-plugin@sha256:0842734032018be107fa2490c98156992911e3e1f2a21e059ff0105b07dd8e9e" nvidia_gpu_device_plugin_container: "k8s.gcr.io/nvidia-gpu-device-plugin@sha256:0842734032018be107fa2490c98156992911e3e1f2a21e059ff0105b07dd8e9e"
nvidia_gpu_nodes: [] nvidia_gpu_nodes: []
nvidia_gpu_device_plugin_memory: 30Mi

View File

@ -44,10 +44,10 @@ spec:
resources: resources:
requests: requests:
cpu: 50m cpu: 50m
memory: 10Mi memory: {{ nvidia_gpu_device_plugin_memory }}
limits: limits:
cpu: 50m cpu: 50m
memory: 10Mi memory: {{ nvidia_gpu_device_plugin_memory }}
securityContext: securityContext:
privileged: true privileged: true
volumeMounts: volumeMounts: